w3c / specberus

Checker used at W3C to validate the compliance of Technical Reports with publication rules
https://www.w3.org/pubrules/
MIT License
77 stars 46 forks source link

Some documents can have different copyrights #1716

Closed deniak closed 1 year ago

deniak commented 1 year ago

Some documents may have different copyrights. This should of course be approved by @plehegar and the team contacts of the said WG/IG. At the moment, the only way for these documents to pass pubrules is to add the copyright rule as an exception for specific specs but it means we do not check the copyright. Instead, we should have the list of expected copyrights in a separate json so we can make sure the documents are using the right one.

@iherman provided the list of epub documents that have a different copyright:

@iherman, @mattgarrish, for these documents, can you confirm the copyright should be:

<p class="copyright">
    <a href=["https://www.w3.org/Consortium/Legal/ipr-notice#Copyright"](https://www.w3.org/Consortium/Legal/ipr-notice#Copyright)>Copyright</a>&nbsp;©&nbsp;1999-2023
    <a href=["https://www.idpf.org"](https://www.idpf.org/)>International Digital Publishing Forum</a>
    and
    <a href=["https://www.w3.org/"](https://www.w3.org/)>World Wide Web Consortium</a>.
    <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup>
    <a href=["https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer"](https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer)>liability</a>,
    <a href=["https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks"](https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks)>trademark</a> and
    <a rel="license" href=["https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document"](https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document) title="W3C Software and Document Notice and License">permissive document license</a> rules apply.
    </p>
iherman commented 1 year ago

Yes, I confirm the list of the documents as well as the alternate copyright text. Thank you.

mattgarrish commented 1 year ago

Sounds right to me. Not sure that CFI will ever see the light of day, as that was only resurrected as part of the locator's work, which seems to have abandoned it. But I suppose better to include it and not have to make changes later.

iherman commented 1 year ago

@deniak @plehegar @jennyliang220 can you tell us when this will be completed? We have a new PR waiting to me merged soon, and they will all hit the same issue through echidna...

deniak commented 1 year ago

@iherman, @jennyliang220 is working on this but it's taking more time than expected. Once the PR is ready, I'll review and deploy it but I'm off until the 24th so I don't expect this to be merged before that. If you need to publish the doc ASAP, please sync with @jennyliang220 so she can publish manually.

iherman commented 1 year ago

@deniak ack.

@mattgarrish I presume we can wait with PR merges until next week or, more exactly, we are fine with notes not being officially published by then, right?

I have (again...) some medical issues to handle next week, I may be less available than usual, b.t.w.

Thanks Denis.

mattgarrish commented 1 year ago

I presume we can wait with PR merges until next week or, more exactly, we are fine with notes not being officially published by then, right?

Ya, that doesn't sound like a problem to me.

plehegar commented 1 year ago

ping on this front. We're looking at publishing documents on the 11h of April so it would be good for this to be resolved before that.

deniak commented 1 year ago

I'll sync with @jennyliang220 and will provide an ETA tomorrow but we'll make sure it's ready by next week.

deniak commented 1 year ago

@iherman @plehegar, the update to pubrules has not been deployed. The copyright for the epub specs is now accepted, see pubrules results for CR-epub-33-20230221

iherman commented 1 year ago

@iherman @plehegar, the update to pubrules has not been deployed.

"Has" or "has not?"

The copyright for the epub specs is now accepted, see pubrules results for CR-epub-33-20230221

cc @mattgarrish

deniak commented 1 year ago

Sorry, it has been deployed!

iherman commented 1 year ago

I just realize, while doing some changes on the documents themselves: does the text checked by specberus checks the exact dates? Ie, does it check

&nbsp;©&nbsp;1999-2023

or something like

&nbsp;©&nbsp;1999-YEAROFPUBLICATION

Of course, fixed dates work for today, but would be better to avoid looking at this thing again if we do a change on the specs in 2024...

deniak commented 1 year ago

I just realize, while doing some changes on the documents themselves: does the text checked by specberus checks the exact dates? Ie, does it check

&nbsp;©&nbsp;1999-2023

or something like

&nbsp;©&nbsp;1999-YEAROFPUBLICATION

Of course, fixed dates work for today, but would be better to avoid looking at this thing again if we do a change on the specs in 2024...

The latter. See https://github.com/w3c/specberus/blob/main/lib/copyright-exceptions.json