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

AGPL-1.0: Deprecate AGPL-1.0 in favor of -only and -or-later forms #599

Merged
merged 3 commits into from
Jan 28, 2018

Conversation

wking
Copy link
Contributor

@wking wking commented Jan 12, 2018

As requested by @jlovejoy.

I've also stripped trailing whitespace from the AGPL-1.0 to avoid introducing trailing whitespace when I copied it into the new files before updating them. This keeps the diffs minimal for easy review:

$ diff -u1 AGPL-1.0.xml AGPL-1.0-or-later.xml
--- AGPL-1.0.xml        2018-01-11 16:46:38.922506692 -0800
+++ AGPL-1.0-or-later.xml       2018-01-11 16:46:38.920506692 -0800
@@ -3,4 +3,3 @@
    <license isOsiApproved="false" licenseId="AGPL-1.0"
-            name="Affero General Public License v1.0"
-            isDeprecated="true" deprecatedVersion="3.1">
+            name="Affero General Public License v1.0 or later">
       <crossRefs>
@@ -8,3 +7,5 @@
       </crossRefs>
-      <notes><p>DEPRECATED: Use the license identifier AGPL-1.0-only instead of APL-1.0, and use AGPL-1.0-or-later instead of AGPL-1.0.</p></notes>
+      <notes>
+        <p>Section 9 of this license allows content under this "any later version" grant to be redistributed under the GPL-3.0-or-later.  Affero Inc. also released an AGPL-2.0 (http://www.affero.org/agpl2.html) to allow AGPL-1.0-or-later work to be distributed under the AGPL-3.0-or-later.</p>
+      </notes>
       <titleText>
$ diff -u1 AGPL-1.0.xml AGPL-1.0-only.xml
--- AGPL-1.0.xml        2018-01-11 16:46:38.922506692 -0800
+++ AGPL-1.0-only.xml   2018-01-11 16:46:38.916506693 -0800
@@ -3,4 +3,3 @@
    <license isOsiApproved="false" licenseId="AGPL-1.0"
-            name="Affero General Public License v1.0"
-            isDeprecated="true" deprecatedVersion="3.1">
+            name="Affero General Public License v1.0 only">
       <crossRefs>
@@ -8,3 +7,2 @@
       </crossRefs>
-      <notes><p>DEPRECATED: Use the license identifier AGPL-1.0-only instead of APL-1.0, and use AGPL-1.0-or-later instead of AGPL-1.0.</p></notes>
       <titleText>

I've also added a note pointing out that both AGPL-3.0-or-later and GPL-3.0-or-later are available to folks redistributing AGPL-1.0-or-later content (although I think we'll also want the spec update for + that I've floated here).

Fixes #542.
Fixes #543.

@wking
Copy link
Contributor Author

wking commented Jan 16, 2018

Rebased around #452 with 238513c4aa72b8.

@wking wking force-pushed the agpl-1.0-or-later branch 2 times, most recently from fa85eea to 373bf50 Compare January 23, 2018 00:33
@wking
Copy link
Contributor Author

wking commented Jan 23, 2018

@goneall, do you understand what's happening here? spdx-tools is complaining about:

Duplicates licenses: AGPL-1.0, AGPL-1.0

but I'm trying to follow the pattern used by the other GPLs in my expected-warnings change.

Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additions / changes to the licenses looks fine. It is causing a new duplicate license warning - to fix, add "Duplicates licenses: AGPL-1.0, AGPL-1.0" to the file expected-warnings.

@wking
Copy link
Contributor Author

wking commented Jan 27, 2018

Dp you understand why the tools have the same ID twice? The other dups have different IDs.

@@ -0,0 +1,276 @@
<?xml version="1.0" encoding="UTF-8"?>
<SPDXLicenseCollection xmlns="http://www.spdx.org/license">
<license isOsiApproved="false" licenseId="AGPL-1.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, need to update licenseId.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, need to update licenseId.

Done with 373bf5096f8f64

Generated with:

  $ sed -i 's/[[:space:]]*$//' AGPL-1.0.xml
The license text is copyright Affero Inc., and <copyrightText> is for
copyright statements about content covered by the license, not for
copyright statements about the license itself.
Similar to 30cfeab (Merge pull request spdx#553 from
spdx/new_GPL_identifiers, 2017-12-27).

On Thu, Dec 28, 2017 at 09:56:54AM -0800, Jilayne Lovejoy wrote [1]:
> I am conferring with the FSF as to AGPL-1.0 - I will make the
> appropriate changes as needed when I get feedback there. No further
> discussion needed at this point.

On Thu, Jan 11, 2018 at 09:56:18PM +0000, Jilayne Lovejoy wrote [2]:
> ... I have confirmed that we should treat AGPL-1.0 that same) as we
> suspected.

I asked about adding an identifier for the AGPL-2.0, and Jilayne
replied:

On Thu, Jan 11, 2018 at 03:59:28PM -0800, Jilayne Lovejoy wrote [3]:
> no need to add AGPLv2 - we vetted that conversation way back with
> key folks who knew the history and it was decided not to add it
> then. So, no need to revisit now! :)

There's some list discussion around the AGPL-2.0 starting with [4].
My main concern would be preserving the bridge in case affero.org goes
down and someone wants to transition an AGPL-1.0-or-later project to
AGPL-3.0-or-later.  To mitigate my concerns (and avoid surprising
folks using AGPL-1.0-or-later), I've discussed the licenses available
in a <notes> entry.  And just to be safe, here's the whole license
text from [5] in a form that will be available in the Git history:

  AFFERO GENERAL PUBLIC LICENSE

  Version 2, November 2007

  Copyright © 2007 Affero Inc.
  510 Third Street - Suite 225, San Francisco, CA 94107, USA

  This is version 2 of the Affero General Public License. It gives
  each licensee permission to distribute the Program or a work based
  on the Program (as defined in version 1 of the Affero GPL) under the
  GNU Affero General Public License, version 3 or any later version.

  If the Program was licensed under version 1 of the Affero GPL "or
  any later version", no additional obligations are imposed on any
  author or copyright holder of the Program as a result of a
  licensee's choice to follow this version 2 of the Affero GPL.

[1]: spdx#542 (comment)
[2]: spdx#542 (comment)
[3]: spdx#542 (comment)
[4]: https://lists.spdx.org/pipermail/spdx-legal/2013-November/001033.html
     Subject: GNU [?] Affero General Public License v1.0
     Date: Tue Nov 5 19:39:29 UTC 2013
[5]: http://www.affero.org/agpl2.html
@goneall
Copy link
Member

goneall commented Jan 28, 2018

Do you understand why the tools have the same ID twice? The other dups have different IDs.

I didn't even notice the duplicate ID's - just copy/pasted.

It looks like the warnings are now "Duplicates licenses: AGPL-1.0-or-later, AGPL-1.0-only" which is correct.

@goneall goneall merged commit 45b1f36 into spdx:master Jan 28, 2018
@wking wking deleted the agpl-1.0-or-later branch January 28, 2018 23:32
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.

None yet

2 participants