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

Add angle brackets and br missing from GPL-2.0 how-to trailer #496

Merged
merged 2 commits into from
Dec 15, 2017

Conversation

mlinksva
Copy link
Contributor

Same as #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>&lt;one line to give the program's name and an idea of what it does.&gt;
<br/>Copyright (C) &lt;yyyy&gt; &lt;name of author&gt;</p>
Copy link
Contributor

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 &lt; 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>&lt;</optional> and similar for these.

@jlovejoy jlovejoy merged commit e9eb557 into spdx:master Dec 15, 2017
@mlinksva mlinksva deleted the patch-9 branch December 17, 2017 21:12
wking added a commit to wking/license-list-XML that referenced this pull request Dec 28, 2017
…/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
wking added a commit to wking/license-list-XML that referenced this pull request Feb 16, 2018
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
wking added a commit to wking/license-list-XML that referenced this pull request Feb 16, 2018
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
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.

4 participants