Repository navigation
Adjust boilerplates for Media WG to account for Notes - #1999
Conversation
This updates the SOTD boilerplates for drafts that are intended to be published as WG Notes. Such specs will need to include a `Macro text: NOTE yes` macro definition in their Bikeshed metadata to trigger the right behavior.
The default boilerplate for the Status of This Document section of the Media WG asserts that the specs are intended to be published as W3C Recommendations. The text needs to be adjusted for drafts that are intended to be published as W3C Working Group Notes. There is no specific way to flag the targeted spec status in Bikeshed. The idea is thus to add a `Text macro: NOTE yes` macro definition in the spec metadata and conditionals in the boilerplate files to issue the right text. The updates to the boilerplate files are at: speced/bikeshed#1999 This update also makes the jobs that run Bikeshed die on fatal errors and not on warnings because Bikeshed issues a warning about the lack of a Security and Privacy section in the registry specs. This warning can be ignored (these registry specs will probably not get such sections). There are no way to tell Bikeshed to ignore specific warnings, so all of them have to be.
This update adjusts the metadata of the spec as it gets adopted by the Media Working Group, and makes the following changes: - Update CONTRIBUTING.md to match that used in W3C - Update LICENSE.md to drop the CLA part - Update links in README.md and to mention Media WG - Update w3c.json - Update status, group, and links that currently target the WICG repo in the spec itself Also note the switch to `Level: None` in the metadata of the spec as I suspect that the group will publish the API without any level, at least initially. This update also drops the hyphen in `web-codecs` as discussed in: #149 (comment) The default boilerplate for the Status of This Document section of the Media WG asserts that the specs are intended to be published as W3C Recommendations. The text needs to be adjusted for drafts that are intended to be published as W3C Working Group Notes. There is no specific way to flag the targeted spec status in Bikeshed. The idea is thus to add a `Text macro: NOTE yes` macro definition in the spec metadata and conditionals in the boilerplate files to issue the right text. The updates to the boilerplate files are at: speced/bikeshed#1999 Privacy and Security Consideration sections have also been added to registry notes that targets the relevants sections in the main WebCodecs spec.
|
Not sure why tests are failing. They don't seem to have liked the transition from http to https URLs. They seem correct though. @tabatkins what did I miss? |
|
Well, any change in the output will cause the tests to fail, because they no longer match the goldens. ^_^ I can take care of that, no worries. More importantly, tho, why are you doing NOTE this way? You can already say |
I may be missing something obvious, but what I would like in the end is not a NOTE, but rather:
My understanding is that |
Looks like I did not select the right pubrules checker option. Such documents are "not on the rec-track", and the bit about not becoming a W3C Recommendation needs to be added to the Patent Policy paragraph.
OK, I found the right test files and adjusted the URLs there. The text for the notes should now be the right one. If there's a better mechanism to handle ED and WD of Notes, let me know! Otherwise, could this be merged so that we can enable automate publication for WebCodecs and accompanying registry specs? |
|
@tidoust you can also run |
|
Okay, I was still real confused about this, so I chatted with @frivoal about it:
So it looks like the correct path here is to introduce NOTE-ED and NOTE-WD statuses, and then use that to key the include/exclude of text. (And we should add similar statuses for REGISTRY.) Sorry for the delay in figuring this out. |
Yes, a NOTE-ED, NOTE-WD and NOTE-FPWD statuses are exactly what I need. And, later on when and if the process creates a registry track, REGISTRY-ED, REGISTRY-WD and REGISTRY-FPWD. Context for this is the WebCodecs Codec Registry and the AVC (H.264) WebCodecs Registration specifications. Both have been published as First Public Working Draft last week. Both are on the "note track" which, as @frivoal pointed out, is a clumsy mix of the Rec-track and not-the-Rec-track for the time being. First document would adopt the new REGISTRY track when it becomes available in the Process. Second one is intended to become a Note. |
This creates additional statuses for Notes to be able to produce suitable SOTD sections for Editor's Drafts, First Public Working Drafts, and Working Drafts of documents intended to become Notes. See speced#1999 (comment)
This creates additional statuses for Notes to be able to produce suitable SOTD sections for Editor's Drafts, First Public Working Drafts, and Working Drafts of specifications intended to become Notes. See speced#1999 (comment)
This creates additional statuses for Notes to be able to produce suitable SOTD sections for Editor's Drafts, First Public Working Drafts, and Working Drafts of specifications intended to become Notes. See speced#1999 (comment)
This creates additional statuses for Notes to be able to produce suitable SOTD sections for Editor's Drafts, First Public Working Drafts, and Working Drafts of specifications intended to become Notes. See #1999 (comment)
|
All right, the new NOTE-* statuses patch looked good, so feel free to adapt this PR to use those and I'll happily merge. |
This update re-writes the boilerplate text for the Status of This Document section of Media WG specifications, merging previous separate files into one to convergence on the same text and ease maintenance, and adjusting paragraphs for ED, FPWD, and WD of documents intended to become Notes. The boilerplate text does not yet cover the PR and REC stages. To be adjusted when group specifications get closer to these stages.
|
Great! I adjusted the PR to use the new |
|
Ah that's much better, thanks. |
The code currently relies on Travis CI to update the gh-pages branch. This update replaces that with the w3c/spec-prod action and enables automatic publication of the specs as working drafts to /TR whenever a change gets pushed to the main branch. The update also switches to the new NOTE-ED status in Bikeshed, which makes it possible to drop the "Text macro" workaround, see discussion in: speced/bikeshed#1999 (comment)
The code currently relies on Travis CI to update the gh-pages branch. This update replaces that with the w3c/spec-prod action and enables automatic publication of the specs as working drafts to /TR whenever a change gets pushed to the main branch. The update also switches to the new NOTE-ED status in Bikeshed, which makes it possible to drop the "Text macro" workaround, see discussion in: speced/bikeshed#1999 (comment)
This updates the SOTD boilerplates for drafts that are intended to be published as WG Notes. Such specs will need to include a
Macro text: NOTE yesmacro definition in their Bikeshed metadata to trigger the right behavior.