-
Notifications
You must be signed in to change notification settings - Fork 299
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
Add angle brackets and br missing from GPL-2.0 how-to trailer #496
Conversation
Same as spdx#494 and LGPL-2.1, plus the missing br
src/GPL-2.0.xml
Outdated
@@ -280,7 +280,8 @@ | |||
<p>To do so, attach the following notices to the program. It is safest to attach them to the start of each | |||
source file to most effectively convey the exclusion of warranty; and each file should have at least | |||
the "copyright" line and a pointer to where the full notice is found.</p> | |||
<p>one line to give the program's name and an idea of what it does. Copyright (C) yyyy name of author</p> | |||
<p><one line to give the program's name and an idea of what it does.> | |||
<br/>Copyright (C) <yyyy> <name of author></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<br/>
looks good to me. I'm having second thoughts about the <
and such. They're in the FSF's text version:
$ curl -s https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt | grep -A1 'what it does'
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
But the FSF seems to use <var>
in HTML:
$ curl -s https://www.gnu.org/licenses/gpl-2.0.html | grep -A1 'what it does'
<var>one line to give the program's name and an idea of what it does.</var>
Copyright (C) <var>yyyy</var> <var>name of author</var>
which is perfect, with the W3C including “a term used as a placeholder in prose” as one possible use-case. Although Firefox doesn't seem do style it when used with a <pre>
, and we can't put flow content inside <var>
(spdx/tools#121).
So my personal preference is to use <optional><</optional>
and similar for these.
…/plain These changes address the additional differences between the FSF's text/plain version [1] (unchanged since 2007-07-16 according to the Internet Archive [2]) and the FSF's HTML version [3]. There has been previous work in this direction in e9eb557 (Merge pull request spdx#496 from mlinksva/patch-9, 2017-12-15) and f2b71bd (GPL-2.0: Mark postal-code commas as optional, 2017-12-14, spdx#514). The final paragraph ("This General Public License does not permit...") is in both the text/plain and HTML FSF versions. I'm not clear on why it wasn't included in our template (our GPL-3.0 template does include a similar paragraph). I've put it in a new <optional> block to cover folks who were using the text we previously recommended (which lacked the paragraph). [1]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt [2]: https://web.archive.org/web/20070716031727/https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt [3]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
These changes address the additional differences between the FSF's text/plain version [1] (unchanged since 2007-07-16 according to the Internet Archive [2]) and the FSF's HTML version [3]. There has been previous work in this direction in e9eb557 (Merge pull request spdx#496 from mlinksva/patch-9, 2017-12-15) and f2b71bd (GPL-2.0: Mark postal-code commas as optional, 2017-12-14, spdx#514). The final paragraph ("This General Public License does not permit...") is in both the text/plain and HTML FSF versions. I'm not clear on why it wasn't included in our template (our GPL-3.0 template does include a similar paragraph). I've put it in a new <optional> block to cover folks who were using the text we previously recommended (which lacked the paragraph). [1]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt [2]: https://web.archive.org/web/20070716031727/https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt [3]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
These changes address the additional differences between the FSF's text/plain version [1] (unchanged since 2007-07-16 according to the Internet Archive [2]) and the FSF's HTML version [3]. There has been previous work in this direction in e9eb557 (Merge pull request spdx#496 from mlinksva/patch-9, 2017-12-15) and f2b71bd (GPL-2.0: Mark postal-code commas as optional, 2017-12-14, spdx#514). The final paragraph ("This General Public License does not permit...") is in both the text/plain and HTML FSF versions. I'm not clear on why it wasn't included in our template (our GPL-3.0 template does include a similar paragraph). I've put it in a new <optional> block to cover folks who were using the text we previously recommended (which lacked the paragraph). [1]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt [2]: https://web.archive.org/web/20070716031727/https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt [3]: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
Same as #494 and LGPL-2.1, plus the missing br