Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process2021 #1366

Merged
merged 54 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
3686d94
change h2 to id="w3c-state", support history link
jennyliang220 Aug 31, 2021
57e01bb
add profile detect for RY, STMT... Add rules template
jennyliang220 Sep 2, 2021
0cdebc1
delete dummy, change test h2 to w3c-state
jennyliang220 Sep 9, 2021
d07c42e
add new profiles rules
jennyliang220 Sep 9, 2021
856e2bf
REC-track: change candidiate changes to candidate amendaments, resolv…
jennyliang220 Sep 9, 2021
506a5c5
update rules description for process 2021
deniak Sep 13, 2021
cccbc0b
Add check https://github.com/w3c/specberus/projects/3#card-67420452, …
jennyliang220 Sep 13, 2021
efee35a
Apply text changes in Process2021
jennyliang220 Sep 14, 2021
4ce5398
Merge pull request #1374 from w3c/Process-2021-doc
jennyliang220 Sep 14, 2021
4fbd6da
make sure mockup rec-track pass all the checks
jennyliang220 Sep 14, 2021
764196d
fix test
jennyliang220 Sep 28, 2021
6a3e4e4
fix test
jennyliang220 Sep 28, 2021
8f8a6e9
test
jennyliang220 Sep 28, 2021
5c605fa
test
jennyliang220 Sep 28, 2021
1aa8794
test
jennyliang220 Sep 28, 2021
47953f6
test
jennyliang220 Sep 28, 2021
b6a4ee8
test
jennyliang220 Sep 28, 2021
3a63cd1
test
jennyliang220 Sep 29, 2021
454e9a2
delete log
jennyliang220 Sep 29, 2021
75339e6
remove unused file
deniak Sep 29, 2021
ef9339b
add async so we can promisify superagent's calls
deniak Sep 29, 2021
7ac3c9d
fix exception thrown when checking an old document
deniak Sep 29, 2021
60c2291
Merge branch 'main' into Process2021
deniak Sep 29, 2021
e559077
fix stylesheet
deniak Oct 1, 2021
1d54104
Process 2021 will be released on Nov 2
deniak Oct 8, 2021
a8a98df
Merge branch 'main' into Process2021
deniak Oct 8, 2021
0b415ec
pass API key
deniak Oct 8, 2021
af2e26f
add metadata test, fix shortname extraction
jennyliang220 Oct 21, 2021
49f1644
fix test
jennyliang220 Oct 21, 2021
2456ae8
add test for metadata sameWorkAs, global replacement for process date
jennyliang220 Oct 22, 2021
7d4610f
give better fpwd template,change non-exist shortname
jennyliang220 Oct 22, 2021
34303e8
change doc, add function sr.getDelivererGroups
jennyliang220 Oct 28, 2021
31f5bfa
metadata: previous version. Check if there's no change of shortname a…
deniak Oct 28, 2021
faf1f59
upgrade node-w3capi
deniak Oct 28, 2021
9e7278c
fix jsdoc, use group homepage, merge group homepage check in publish.…
jennyliang220 Oct 29, 2021
3769b60
add missing profiles to README
deniak Oct 29, 2021
14d7ee1
fix syntax error
deniak Oct 29, 2021
cbd16b7
implement new changes
jennyliang220 Oct 29, 2021
15f98e0
Merge branch 'Process2021' of github.com:w3c/specberus into Process2021
jennyliang220 Oct 29, 2021
d6a8ba8
s/02 November/2 November/
deniak Oct 29, 2021
70485a2
update assets path: s/2016/2021/
deniak Oct 29, 2021
61b5f67
update process text node
deniak Oct 29, 2021
115ff49
CRY is Candidate Registry Snapshot
deniak Oct 29, 2021
ba5c865
fix group page detection
deniak Oct 29, 2021
8b28ec7
fix test
jennyliang220 Oct 29, 2021
9c93485
find GH links amongst all the links in the feedback section
deniak Oct 29, 2021
9fc4b3e
merge
jennyliang220 Oct 29, 2021
5570ad9
Merge branch 'Process2021' of github.com:w3c/specberus into Process2021
jennyliang220 Oct 29, 2021
120ce1f
fix test
jennyliang220 Oct 29, 2021
49bce1e
fix test
jennyliang220 Oct 29, 2021
435fb17
clear dev consoles
jennyliang220 Oct 29, 2021
c0bce59
status for DNOTE is DNOTE
deniak Oct 29, 2021
752a22c
status for statements is STMT
deniak Oct 29, 2021
321a7bb
metadata for CRY should include the review date
deniak Oct 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"Cmembership",
"constexpr",
"Cprocess",
"CRYD",
"ctor",
"customised",
"DAHUT",
Expand All @@ -28,6 +29,7 @@
"decltype",
"deniak",
"denicola",
"DNOTE",
"docdate",
"doctypes",
"Domenic",
Expand Down Expand Up @@ -94,7 +96,6 @@
"Pubrules",
"rdquo",
"recognising",
"rectrack",
"reprojection",
"Resc",
"retargeted",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Notify failure
uses: rectalogic/notify-irc@v1
if: failure()
if: failure() && github.event.pull_request.draft == false
with:
server: "irc.w3.org"
port: 6679
Expand Down
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,13 @@ goals of this method).
* `delivererIDs`: ID(s) of the deliverer(s); an `Array` of `Number`s.
* `editorIDs`: ID(s) of the editor(s) responsible for the document; an `Array` of `Number`s.
* `informative`: Whether the document in informative or not.
* `rectrack`: Whether the document in on REC track or not.
* `process`: The process rules link.
* `sameWorkAs`: The previous shortlink if any.
* `implementationFeedbackDue`: The implementation review date for CRs.
* `prReviewsDue`: The review date for PRs.
* `implementationReport`: Implementation report link for CRs, PRs and RECs.
* `errata`: The errata link of the document.
* `substantiveChanges`: Whether the document is a REC and has proposed changes
* `substantiveChanges`: Whether the document is a REC and has proposed amendments
* `newFeatures`: Whether the document is a REC and has proposed additions

If some of these pieces of metadata cannot be deduced, that key will not exist, or its value will not be defined.
Expand All @@ -180,7 +179,6 @@ This is an example of the value of `Specberus.meta` after the execution of `Spec
"delivererIDs": [123, 456],
"editorIDs": [ 12345 ],
"informative": false,
"rectrack": true,
"process": "https://www.w3.org/2015/Process-20150901/" }
}
```
Expand Down Expand Up @@ -245,7 +243,6 @@ Pubrules supports advanced configs to make the validation more accurate.
| Config | Explanation |Supported value |
| ---- | ---- | ---- |
| validation | Recursively validate multipart documents | no-validation, simple-validation, recursive |
| noRecTrack | If the document is not on rec-track | true, false |
| informativeOnly | If the document is informative | true, false |
| echidnaReady |Check that the document is valid for automatic publication with Echidna | true, false|
| patentPolicy | Patent Policy version | pp2020, pp2004, pp2002 |
Expand Down Expand Up @@ -276,8 +273,7 @@ This is an example of a successful validation of a document, with profile `auto`
"links.compound",
"headers.dl" ],
"info":
[ "sotd.diff",
"structure.display-only",
[ "structure.display-only",
"structure.display-only",
"structure.display-only",
"validation.wcag" ],
Expand All @@ -291,7 +287,6 @@ This is an example of a successful validation of a document, with profile `auto`
"editorsDraft": "https://w3c.github.io/charmod-norm/",
"delivererIDs": [ 32113 ],
"editorIDs": [ 33573 ],
"rectrack": false,
"informative": false,
"process": "https://www.w3.org/2015/Process-20150901/",
"url": "https://www.w3.org/TR/2016/WD-charmod-norm-20160407/"
Expand All @@ -316,14 +311,10 @@ A profile is basically a configuration of what to check. You can load a specific
Here follows the current hierarchy of profiles. Each profile inherits all rules from its parent profile.
Profiles that are identical to its parent profile, ie that do not add any new rules, are marked too.

* `dummy`
* `base`
* `TR`
* `WG-NOTE`
* `FPWG-NOTE` (identical)
* `WG-NOTE-Echidna`
* `IG-NOTE`
* `FPIG-NOTE` (identical)
* `NOTE`
* `NOTE-Echidna`
* `WD`
* `WD-Echidna`
* `FPWD` (identical)
Expand Down Expand Up @@ -384,5 +375,5 @@ The Specberus object exposes the following API that's useful for validation:
and its callback, and Specberus will conveniently take care of all the rest.
* `norm(text)`. Returns a whitespace-normalised version of the text.
* `getDocumentDate()`. Returns a Date object that matches the document's date as specified in the
headers' h2.
* `getDocumentDateElement()`. Returns the element that contains the document's date.
headers' `stateElement` (id="w3c-state").
* `getDocumentStateElement()`. Returns the element that contains the document's date.
456 changes: 456 additions & 0 deletions a.diff

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ io.on('connection', socket => {
profile,
events: handler,
validation: data.validation,
noRecTrack: data.noRecTrack,
informativeOnly: data.informativeOnly,
echidnaReady: data.echidnaReady,
patentPolicy: data.patentPolicy,
Expand Down
3 changes: 0 additions & 3 deletions doc/Presentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ In JavaScript, on [Node.js](https://nodejs.org/); with [Bootstrap](https://getbo
├── lib
│ ├── profiles
│ └── rules
│ ├── dummy
│ ├── headers
│ ├── heuristic
│ ├── links
Expand Down Expand Up @@ -100,7 +99,6 @@ In JavaScript, on [Node.js](https://nodejs.org/); with [Bootstrap](https://getbo
"FPLC"
"REC"
"LC"
"dummy"

---

Expand All @@ -119,7 +117,6 @@ In JavaScript, on [Node.js](https://nodejs.org/); with [Bootstrap](https://getbo
│ └── js
├── test
│ └── docs
│ ├── dummy
│ ├── headers
│ ├── links
│ ├── sotd
Expand Down
1 change: 0 additions & 1 deletion lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ const processRequest = apiKey => (req, res) => {
);
}
options2.validation = 'simple-validation';
options2.noRecTrack = !meta.rectrack;
errors2 = [];
warnings2 = [];
info2 = [];
Expand Down
4 changes: 2 additions & 2 deletions lib/exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
],
"^audiobooks$": [
{
"rule": "sotd.cr-end"
"rule": "sotd.candidate-review-end"
}
],
"^pub-manifest$": [
{
"rule": "sotd.cr-end"
"rule": "sotd.candidate-review-end"
}
],
"^did-core$": [
Expand Down
Loading