whatwg / meta Goto Github PK
View Code? Open in Web Editor NEWDiscussions and issues without a logical home
License: Creative Commons Zero v1.0 Universal
Discussions and issues without a logical home
License: Creative Commons Zero v1.0 Universal
Giving more folks write access will empower them to add labels, assign issues, and create and update branches. That seems like a good thing as we're all here to make the web better and any mistakes are easily corrected.
We don't necessarily want everyone to have access to the couple administrative repositories however so a way to manage this would be to have a large contributor team that has write access to each repository. We'd then add most folks to this team.
Before we do that we need to ensure that the master branches are protected, as mistakes are more costly for those and other than through pull requests nobody should be meddling with those anyway.
Harder:
Currently https://html.spec.whatwg.org/ has a certificate of sni.dreamhost.com, and thus is blocked by Web browsers.
Looks like html.spec.whatwg.org is resolved to a dreamhost IP address by DNS, while others (at least spec.whatwg.org, fetch.spec.whatwg.org, and dom.spec.whatwg.org) are resolved to a DigitalOcean IP address.
Most standards (HTML Standard excluded) have a branch-snapshots/
directory. This hosts a copy of the standard reflecting the last commit in a PR. If the branch name used in the PR gets reused, the copy gets overridden. If the branch name is not local, it doesn't get created.
PR Preview has similar functionality, though I believe no overriding takes place and non-local branch names do not matter.
It would be nice if we could reconcile the two. I don't think we need to keep distinct solutions.
We need to sort out how to host PR Preview resources. Currently they use Amazon S3. We could continue to use that or create some kind of space where the PR Preview tool can upload resources to (just HTML or also other resources found in the repository?).
Since these resources can come from untrusted sources we should consider not hosting them on whatwg.org. Perhaps "preview.whatwg.org" is sufficient though I'm a little wary of that still due to cookies.
Twitter has made everyone's icons a circle, and this looks pretty bad for a few of our spec accounts:
What should we do?
Unfortunately the new Twitter UI does not allow you to "zoom out" when uploading a photo; we'd need to actually produce new resources with the extra whitespace on the sides.
An ideal setup would be a single machine-readable (JSON) document listing:
Right now this data is scattered across:
The new resource would live in whatwg/sg since the SG controls scope changes/the creation of new workstreams/etc.
From this new machine-readable data source, we would then
Here is my vision:
Group: WHATWG
Title: Streams Standard
H1: Streams
Shortname: streams
Text Macro: TWITTER streamsstandard
Abstract: ...
I would like this to generate the following additional metadata:
Repository: whatwg/streams
Status: LS
Boilerplate: omit conformance, omit feedback-header
No Editor: true
Logo: https://resources.whatwg.org/logo-streams.svg
!Participate: <a href="https://github.com/whatwg/streams">GitHub whatwg/streams</a> (<a href="https://github.com/whatwg/streams/issues/new">new issue</a>, <a href="https://github.com/whatwg/streams/issues">open issues</a>)
!Participate: <a href="https://wiki.whatwg.org/wiki/IRC">IRC: #whatwg on Freenode</a>
!Commits: <a href="https://github.com/whatwg/streams/commits">GitHub whatwg/streams/commits</a>
!Commits: [SNAPSHOT-LINK]
!Commits: <a href="https://twitter.com/streamsstandard">@streamsstandard</a>
!Tests: <a href="https://github.com/w3c/web-platform-tests/tree/master/streams">web-platform-tests streams/</a> (<a href="https://github.com/w3c/web-platform-tests/labels/streams">ongoing work</a>)
Almost all of this is inferred from the shortname.
Is that possible, @tabatkins? By editing defaults.include? The shortname substitution and the macro interaction I'm particularly unsure about.
Continuing discussion from whatwg/infra#156 (comment)
At one extreme, every time we reference a concept or algorithm from another specification, the end of that paragraph should contain a [SPECNAME] reference. I think that's what @annevk is claiming has been the style.
If so, we're not at all consistent about it, especially within algorithm steps. A bunch of places call algorithms or use concepts from other specs without adding a [specname] at the end of the line. E.g. https://xhr.spec.whatwg.org/#dom-xmlhttprequest-send step 4, or https://html.spec.whatwg.org/multipage/webappapis.html#runtime-script-errors step 5, or everywhere that throws a TypeError without referencing ES.
At the other extreme these [SPECNAME] things should not generally be used unless you are mentioning the spec by name. E.g. https://html.spec.whatwg.org/multipage/webappapis.html#integration-with-the-javascript-module-system intro paragraph. The reference is implicit if you are cross-linking correctly.
The latter seems to be what we do more often, in my experience.
In particular an older commit on master might take a longer time building and by the time it finishes, overwrite the newer commit that was already copied to the server. This happened with Fetch today (the ABNF change is no longer represented until I land another commit).
Steps to reproduce the problem: Pass valid SSML as first argument SpeechSynthesisUtterance
What is the expected behavior?
SSML to be parsed
What went wrong?
SSML is not parsed
Chromium/Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=795371
Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1425523
Specifications: https://w3c.github.io/speech-api/speechapi.html#utterance-attributes, https://www.w3.org/TR/speech-synthesis11/
Related: whatwg/html#3294
Let's get this implemented in browsers in an open source (FOSS, FLOSS) manner.
[I didn't see any more specific way to report technical issues with the blog, so I'm reporting this here.]
It's still there; it shows up just fine on https://blog.whatwg.org/2016/08. It's even still said to have the URL https://blog.whatwg.org/javascript that's linked to from e.g. https://github.com/whatwg/javascript. There's just one problem: that URL no longer actually works :-(.
According to Google, this is actually a very new problem: they still have the page cached as it appeared on Dec 4, 2017 19:29:36 GMT.
@mnot has extended an invite to the @whatwg/sg or other members of the WHATWG community who might want to attend the IETF meeting in London in March 2018, or any other upcoming meetings. This could be a good opportunity for cross-pollination between the two communities, and I wanted to share it more widely.
The way I'd like to use teams:
I was thinking we'd put this in a Markdown to point folks to or maybe add it to the FAQ? Should we have a GitHub-specific FAQ?
As discussed in #4 that might result in less overall traffic, though this somewhat depends on whether the HTML Standard is involved or not.
#4 (comment) has a way of doing this from the command line.
Doesn't make much sense to have them indexed.
Excluding HTML, since it is a special duckling, all specs should ideally:
If all of these become true we can start making some nice assumptions, e.g. we can move some script elements into our Bikeshed boilerplate.
What's missing?
Currently we ignore validation of the server we are copying resources into. I don't see an immediate attack, but we should set the correct example. It will also help us if it starts mattering at some point.
PRs created thus far:
One thing that would be nice if we could deduplicate this known_hosts resource somehow. Or maybe add the information into .travis.yml
. Getting quite a few boilerplate resources making the repositories look harder to work with than they are.
When I run travis lint .travis.yml
on e.g., URL's or DOM's resource, I get this:
[x] value for env section is empty, dropping
[x] value for addons section is empty, dropping
[x] in env section: value for global section is empty, dropping
[x] in env.global section: unexpected pair
[x] in addons section: unexpected key apt, dropping
This might explain why @sideshowbarker had to define the Java version in the script invocation. If the global is also not used, I guess the ENCRYPTION_LABEL thing we commit everywhere is useless too?
With the groundwork in #6 landed, we now need to make sure all standards start using it. We also need to further tweak the script for that to happy completely, since a couple standards have additional requirements.
These are left:
(There's also Books, Figures, Loader, and HTML Differences.)
Can't we make it git fetch $1 $2:$1-$2
to fetch less data? Should we also automatically set upstream for this remote branch to make pushing afterward easier?
I am using jQuery validation for validating an e-mail address.
And I saw they reference the regex from this url: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address
The following JavaScript- and Perl-compatible regular expression is an implementation of the above definition.
/^[a-zA-Z0-9.!#$%&'+/=?^_`{|}~-]+@a-zA-Z0-9?(?:.a-zA-Z0-9?)$/
I tested this regex and it seems to be incorrect. Since it also matches bla@bla in this situation.
Also the 61 should be 62? Since the DNS allows 63 characters?
Perhaps you could use this one: http://emailregex.com/
/^(([^<>()\[\]\\.,;:\s@"]+(.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/
I talked with @chrisdavidmills about notifying MDN about changes to standards. The easiest way to do this would be with a label that MDN can track (at least until MDN moves to GitHub at which point we could consider filing an issue there or have it filed automatically).
Suggestion: mdn-relevant
. The expectation here is that MDN would take care of tracking whether they have documentation for it or not.
If we change this, and I think we should given the conflict with GitHub teams, it needs to be changed in whatwg/meta and whatwg/html. Anwhere else?
(We could also go for MAINTAINERS.md potentially, given that it's not always the editor that merges.)
It seems we updated HTML, but, e.g., https://github.com/whatwg/dom and https://github.com/whatwg/streams still refer to the Erlang wiki and generally don't seem to point to the guidelines here.
Fixing #64 first would be good though.
GitHub apparently helps new folks find the "good first issue" label. Should we attempt to switch from "good first bug"? That might have some repercussions for existing links, but given native support, maybe it's worth it?
We should also document whatever we end up doing in LABELS.md.
Browser support for SVG favicons is patchy. Favicons are useful in distinguishing tabs for people who keep many open. It would be nice to have PNG fallbacks for WHATWG specs for those of us whose browsers don't support them.
https://github.com/whatwg/html currently has both and it seems to make editing a little easier. It also makes it clear most code is HTML and not Shell. And setting diff=html makes diffs a little bit easier to read due to including headings in the context (reportedly, haven't seen it happen much).
Some context in the following IRC discussions with @annevk
A few problems we have with hosting through Dreamhost:
The above is not even an exhaustive list—but I hope it’s enough evidence to make clear it’s time we seriously consider a move to hosting at DigitalOcean or some other provider that gives us control over the environment and ability to prevent problems like the above and fix them when needed.
Negatives to the 100 char wrap:
I guess it's a benefit if your text editor / diff viewer doesn't support wrapping, but is that still a valid reason?
We don't manually wrap lines on the service worker spec, and the diffs look pretty good in split mode w3c/ServiceWorker@65cf285?diff=split.
We seem to be mis-aligned with header capitalization.
I didn't quite know what the "right" answer is (if there is even one).
FWIW found a nice "rule-of-thumb" guide that is fairly long in the tooth (but then again so is linguistics).
Noticed @annevk recently went with the "all capital words in header" approach. IIRC there is something about headers being like sentences. For certain I do recall them being without periods.
https://github.com/whatwg/meta/blame/master/GITHUB-TEAMS.md#L1
May seem like a nit now but better to address a match than a forest fire. I would have fixed this up myself but not for me to solely decide without feedback. Please let me know and I'll submit a patch for us ASAP.
🙏
I wonder if it's really useful to have commit snapshots for PRs. It seems that latest branch snapshot would be sufficient.
There's two concerns:
forbidding indexing by robots.txt is 1/2 a solution. using rel="canonical" to provide a suggestion to SEs is the other 1/2: it will prevent indexing of the snapshot and inform the SE what they should index. it also aligns with industry standard practice, see the wikipedia example at: http://ws-dl.blogspot.com/2017/08/2017-08-07-relcanonical-does-not-mean.html
Specs to add service worker to:
Special:
Easy:
Need to start using the deploy script first (#11):
The best path here might be to fix #11, then add the service worker registration to the Bikeshed template, instead of doing individual PRs like whatwg/dom#476
Original post follows:
I did this for streams with some success in whatwg/streams#637. Some thoughts:
self.toCache = ...
or maybe we could even get rid of that by inferring the logo filename from the origin.This is a consequence of #9.
Related to #202, it's a bit annoying for every repo's commit history to contain a bunch of meta commits every time we want to update the deploy process. And, code duplication in general is bad.
Ideally we'd use the .travis.yml to set config variables:
I guess SHORTNAME could be inferred from some git commands to get the current repository and INPUT_FILE could be inferred to be the only .bs file in the repo.
We could then I guess have a simple one- or two-liner in Travis that curls down the deploy script from whatwg/meta and runs it.
I might try prototyping this early next week; feel free to start without me though (a good first pass would probably leave out FILES_GLOB and EMU_ALGIFY)
Since we use this all over now (including HTML diffs), we should make it more obvious how to close it. Perhaps just render an [X] in the top? Or "click here to close"?
Here are some things it would be nice to have Travis verify for us, for all the Bikeshed-using specs:
<pre>
blocks---any other exceptions?Please add more ideas!
I want horizontal and vertical splitters in HTML. Also be able to make a side of an element a splitter similar to how borders are changed, means each element might have 4 predefined splitters. When I change its size other elements, if possible, around it fill the freed space. This is how I want it to be.
I want a vertical line in HTML !
Because in CI we use the Bikeshed web service, which I don't believe provides any way of seeing warnings, it's easy to commit spec changes that induce warnings without ever noticing.
Similar issues occur when someone wants to use make remote
.
I'm not sure what the best solution is for this. /cc @tabatkins. Maybe what we need is a mode for the web service that will fail if there are any warnings? But hmm, we want to intentionally ignore the security/privacy warnings. Not sure...
We currently have the following teams established:
Am curious where a briefing of each team
(particularly components, a11y, media, and modules) would reside.
To be clear only curious about the last three.
I'm explicitly requesting (and assuming web) components,
only because i've been following the spec maturity for a few years now.
Even still i'm not 100% certain this is the "components" i'm assuming.
If so...This would be an honor and a privilege 🙏
how can I be down? :-)
Lastly when does a group get "christened" and which ones are on the horizon. Sheer curiosity.
Thanks in Advance!
Over in whatwg/dom a PR by @snuggs made me realize we should really have central commit title/message rules.
They should probably consist of the first three paragraphs of https://github.com/whatwg/meta/blob/master/TEAM.md#handling-pull-requests.
Should we just host those in a Markdown file in this repository and link to it from all over? Perhaps updating https://github.com/whatwg/meta/blob/master/CONTRIBUTING.md would be best?
It's just supposed to be a redirect, but it has HTTPS errors. This breaks older links that people have.
Given things like whatwg/url#249 that might be nice. It would also give us consistent spelling practices across standards.
@zcorpan something you might be interested in?
@xfq you may wish to follow this given your interest on IRC.
http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org does not work for people because of HSTS.
Possible fixes:
List-Subscribe
header as well as in Digest emails.HTML has a pretty good set of labels. We've copied some of them to other specs but not all. It might be nice to do so, and document them. (Although, the topic: labels should be per-spec, I think... although certain topics like custom elements cross specs.)
https://www.google.com.sg/search?q=github+label+sync shows that there are lots of tools to help with this.
It seems there might be some GitHub integration benefits to this? It shows up under https://github.com/whatwg/meta/community at least.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.