Skip to content

Adjust boilerplates for Media WG to account for Notes - #1999

Merged
tabatkins merged 7 commits into
speced:mainfrom
tidoust:mediawg-note
Apr 16, 2021
Merged

tabatkins merged 7 commits into
speced:mainfrom
tidoust:mediawg-note

Conversation

@tidoust

@tidoust tidoust commented Mar 25, 2021

Copy link
Copy Markdown
Contributor

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.

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.
tidoust added a commit to w3c/webcodecs that referenced this pull request Mar 26, 2021
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.
tidoust added a commit to w3c/webcodecs that referenced this pull request Mar 30, 2021
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.
@tidoust

tidoust commented Apr 7, 2021

Copy link
Copy Markdown
Contributor Author

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?

@tabatkins

Copy link
Copy Markdown
Collaborator

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 Status: NOTE and key off of that in include-if/exclude-if instead.

@tidoust

tidoust commented Apr 7, 2021

Copy link
Copy Markdown
Contributor Author

More importantly, tho, why are you doing NOTE this way? You can already say Status: NOTE and key off of that in include-if/exclude-if instead.

I may be missing something obvious, but what I would like in the end is not a NOTE, but rather:

  1. in repositories, an ED of a NOTE
  2. when published to /TR/, (a) a FPWD of a NOTE, then (b) a WD of a NOTE, and only after some time, (c) a NOTE.

My understanding is that Status: NOTE would give me 2.c. The pull request is more about getting 1, 2.a and 2.b.

tidoust added 2 commits April 13, 2021 10:24
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.
@tidoust

tidoust commented Apr 13, 2021

Copy link
Copy Markdown
Contributor Author

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.

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?

@nschonni

Copy link
Copy Markdown
Contributor

@tidoust you can also run bikeshed test --rebase to regenerate the failing tests next time https://github.com/tabatkins/bikeshed/blob/main/CONTRIBUTING.md#running-tests

@tabatkins

Copy link
Copy Markdown
Collaborator

Okay, I was still real confused about this, so I chatted with @frivoal about it:

16:58 TabAtkins: fantasai or florian: NOTE is a status, right? So you can't have ED vs WD vs whatever of NOTE?

16:58 TabAtkins: Or is it a track, and you can have various statuses on it?

16:58 florian: TabAtkins: more of a track.

16:58 TabAtkins: context: #1999 (comment)

16:59 florian: TabAtkins: it is currently a bit of a mess, but it will be clean from the next edition of the process

16:59 TabAtkins: Hm, okay, I was under the assumption it was a status and designed some bits of Bikeshed accordingly.

16:59 TabAtkins: Small change, I guess, just add a NOTE-ED and NOTE-WD and whatever statuses.

17:00 florian: TabAtkins: for now: EDs are a separate things, not on any actual track, just the thing that you prepare. So Notes, have EDs, reck track things have EDs, (future) registry track things have EDs… anything can have an ED, and it's out of scope for the process

17:01 TabAtkins: Context up above is someone wanting to distinguish NOTE-track things from other things their WG produces (including EDs)

17:01 florian: other than that, Notes can be preceded by working drafts, but that's messy, as working drafts are supposed to be on the REC track and trigger the patent policy, which notes don't

17:01 TabAtkins: Right now they're proposing to handle it with a hack, using a special Text Macro to trigger the inclusion of some SotD text

17:01 florian: (also notes are used to retire things from the REC track, and that's odd, again for patent policy reasons as well as what-the-hell-is-this-thing reasons)

17:02 florian: from next year, there'll be a Note track, with (optional) Draft Notes, followed by Notes, which can (optionally) go through an AC Review to be elevated to W3C Statement

17:03 florian: (REC Track) Working Draft as a first stage of things meant to become Notes is an unfortunate reality at the moment, but we're in the process (aha!) of cleaning that up

17:05 florian: See these two PRs for how we're changing the process to deal with Notes:

17:05 florian: https://github.com/w3c/w3process/pull/488/commits

17:05 florian: w3c/process#489

17:05 florian: (they're merged, but not yet voted into law by the AC)

17:07 florian: From a process PoV, EDs are completely out of scope. From a bikeshed point of view, I suspect it would be good to have REC-ED, Note-ED and Registry-ED as separate things, in order to get the status and other boilerplate to say relevant things for each track.

17:07 TabAtkins: Okay, that's the question I was about to ask.

17:07 TabAtkins: And then there's no such thing as "Note WD", right? That'd just be "Note"?

17:07 TabAtkins: or "Registry"?

17:08 florian: Currently, there's no dedicated Note WD, and if you want one, you use a a REC-track WD instead. Next year we're splitting the two, and there will be Note WDs (called Draft Notes).

17:09 TabAtkins: ...what's past Note WD, then?

17:09 TabAtkins: Is that just Note at that point?

17:09 florian: Note

17:09 TabAtkins: kk

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.

@tidoust

tidoust commented Apr 14, 2021

Copy link
Copy Markdown
Contributor Author

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.)

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.

tidoust added a commit to tidoust/bikeshed that referenced this pull request Apr 14, 2021
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)
tidoust added a commit to tidoust/bikeshed that referenced this pull request Apr 14, 2021
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)
tidoust added a commit to tidoust/bikeshed that referenced this pull request Apr 14, 2021
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)
tabatkins pushed a commit that referenced this pull request Apr 15, 2021
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)
@tabatkins

Copy link
Copy Markdown
Collaborator

All right, the new NOTE-* statuses patch looked good, so feel free to adapt this PR to use those and I'll happily merge.

tidoust added 2 commits April 16, 2021 09:13
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.
@tidoust

tidoust commented Apr 16, 2021

Copy link
Copy Markdown
Contributor Author

Great! I adjusted the PR to use the new NOTE-xx statuses, merging all status-XX.include files into a single status.include file with the right include-if and exclude-if bits.

@tabatkins

Copy link
Copy Markdown
Collaborator

Ah that's much better, thanks.

@tabatkins
tabatkins merged commit 2af7978 into speced:main Apr 16, 2021
tidoust added a commit to w3c/webcodecs that referenced this pull request Apr 26, 2021
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)
tidoust added a commit to w3c/webcodecs that referenced this pull request Apr 26, 2021
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants