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

Remove section 4.g. from BitTorrent-1.0 license. #589

Merged
merged 1 commit into from
Jan 11, 2018
Merged

Conversation

sam-ellis
Copy link
Contributor

BitTorrent-1.0 on license-list has a section 4.g. that does not appear in original license. This section did not appear in pre-XML license-list, so possibly is an error introduced during conversion. See link here http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/licenses/BitTorrent?r1=1.1&r2=1.1.1.1&diff_format=s and I have also downloaded an old BitTorrent source archive and confirmed included LICENSE.txt does not include this clause (http://web.archive.org/web/20090309024144/http://download.bittorrent.com:80/dl/archive/BitTorrent-4.0.0.tar.gz). Propose to remove clause 4.g.

BitTorrent-1.0 on license-list has a section 4.g. that does not appear in original license. This section did not appear in pre-XML license-list, so possibly is an error introduced during conversion. See link here http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/licenses/BitTorrent?r1=1.1&r2=1.1.1.1&diff_format=s and I have also downloaded an old BitTorrent source archive and confirmed included LICENSE.txt does not include this clause (http://web.archive.org/web/20090309024144/http://download.bittorrent.com:80/dl/archive/BitTorrent-4.0.0.tar.gz). Propose to remove clause 4.g.
@wking
Copy link
Contributor

wking commented Dec 30, 2017

This is rolling back content explicitly added in adffdb0 (Update BitTorrent-1.0.xml, 2016-05-06, #289), but I haven't had time to dig up the motivation for that change.

@wking
Copy link
Contributor

wking commented Dec 30, 2017

Here's v1.1 from 2007-03-10 with the 4.g. I'm still trying to find the time range for 1.0.

@wking
Copy link
Contributor

wking commented Dec 30, 2017

Here is v1.0 from 2005-02-09 with no 4.g. Still no 4.g by 2005-11-24, and by 2005-12-12 they were showing v1.1. So my current impression is that adffdb0 accidentally injected v1.1 text into v1.0, and that we want to remove it here. It would be good to get @jlovejoy's opinion though.

If removal is accepted, we need to decide how to recover from including the extra text in our v3. Because nobody is likely to have copied our text into a new project in the last few days and because the extra text looks legally significant, I like removing it as you do, withough a backwards-compat <alt>. That will fix v3.1. I'm not sure what we can do about v3.0. Do we publish errata/corrigenda for our releases? It would be good to have a channel so tools could discover issues like this. But even then, I can't think of a good way for a downstream consumer of a 3.0 BitTorrent-1.0 to tell if the original license-expression author was aware of the error or not.

wking added a commit to wking/license-list-XML that referenced this pull request Jan 3, 2018
Until [1] lands, license-test-files d19d48d will break testing (by
comparing our locally-broken XML against fixed test data).  While that
change is in flight, stick with the previous, broken test data.

An alternative approach to getting a particular commit would be to use
submodules, but:

* I expect most contributors will find this approach easier to
  manipulate, because you don't have to wrap your head around
  submodules to use it.

* The full clone (needed to ensure we still get the commit we want) is
  a price paid by GitHub (hosting the clone) and Travis (pulling the
  clone).  As long as they're both willing to pay that price, it
  doesn't seem like it's worth jumping through too many hoops to be
  more efficient.

[1]: spdx#589
wking pushed a commit to wking/license-list-XML that referenced this pull request Jan 3, 2018
BitTorrent-1.0 on license-list has a section 4.g. that does not appear in original license. This section did not appear in pre-XML license-list, so possibly is an error introduced during conversion. See link here http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/licenses/BitTorrent?r1=1.1&amp;r2=1.1.1.1&amp;diff_format=s and I have also downloaded an old BitTorrent source archive and confirmed included LICENSE.txt does not include this clause (http://web.archive.org/web/20090309024144/http://download.bittorrent.com:80/dl/archive/BitTorrent-4.0.0.tar.gz). Propose to remove clause 4.g.

Cherry-picked from spdx#589 to show what a test-data bump will look like.
@bradleeedmondson
Copy link
Contributor

So my current impression is that adffdb0 accidentally injected v1.1 text into v1.0, and that we want to remove it here.

+1 for this as immediate next step (fixing for 3.1)

For discoverably documenting errata e.g. for 3.0, I would say we should open a separate issue.

@jlovejoy
Copy link
Member

ugh, yes, agreed this was a mistake on my part. In the past, if we ever had something like this, I think we simply fixed it, noted it in the comments of the old spreadsheet and got on with it. No one ever questioned that ;) but I don't really recall a similar example.
I think this can simply be merged (and thanks @sam-ellis for catching!) but not sure about the errata reporting aspect. (or if anyone will actually notice and it's worth worrying about too much?)

@jlovejoy jlovejoy self-assigned this Jan 11, 2018
@wking
Copy link
Contributor

wking commented Jan 11, 2018 via email

@jlovejoy
Copy link
Member

as this PR has to do with the fix and that clearly needs to be fixed, I'm merging. but will open another issue and tag "for discussion" as to how to track errors like this that impact the actual text of the license (we shouldn't have many...)

@jlovejoy jlovejoy mentioned this pull request Jan 11, 2018
@jlovejoy jlovejoy merged commit 57941c7 into master Jan 11, 2018
@bradleeedmondson bradleeedmondson deleted the sam-ellis-patch-3 branch January 12, 2018 16:19
wking added a commit to wking/license-list-XML that referenced this pull request Jan 22, 2018
Until [1] lands, license-test-files d19d48d will break testing (by
comparing our locally-broken XML against fixed test data).  While that
change is in flight, stick with the previous, broken test data.

An alternative approach to getting a particular commit would be to use
submodules, but:

* I expect most contributors will find this approach easier to
  manipulate, because you don't have to wrap your head around
  submodules to use it.

* The full clone (needed to ensure we still get the commit we want) is
  a price paid by GitHub (hosting the clone) and Travis (pulling the
  clone).  As long as they're both willing to pay that price, it
  doesn't seem like it's worth jumping through too many hoops to be
  more efficient.

[1]: spdx#589
wking added a commit to wking/license-list-XML that referenced this pull request Jan 22, 2018
…losing quote)

Similar to 36bce3f (test: Add license-test-files with read-tree,
2018-01-03):

  $ git config remote.test.url https://github.com/wking/license-test-files
  $ git fetch test
  $ git merge -s ours --allow-unrelated-histories --no-commit test/apache-1.0-missing-quote
  $ git rm -r test
  $ git read-tree --prefix=test/ -u test/apache-1.0-missing-quote
  $ rm test/README.md test/testfiles-1.0-for-license-list-2.6.tar
  $ git add test

The remote.test.url update is because Gary hasn't landed my just-filed
[1].

The 'git rm' call avoids:

  $ git read-tree --prefix=test/ -u test/apache-1.0-missing-quote
  error: Entry 'test/simpleTestForGenerator/0BSD.txt' overlaps with 'test/simpleTestForGenerator/0BSD.txt'.  Cannot bind.

This catches the test data up with 558562e (Add missing close quote
to Apache-1.0.xml, 2017-12-30, spdx#588) and b975b3e (Remove section
4.g. from BitTorrent-1.0 license, 2017-12-30, spdx#589).

[1]: goneall/license-test-files#2
wking added a commit to wking/license-list-XML that referenced this pull request Jan 22, 2018
…losing quote)

Similar to 36bce3f (test: Add license-test-files with read-tree,
2018-01-03):

  $ git config remote.test.url https://github.com/wking/license-test-files
  $ git fetch test
  $ git rm -r test
  $ git read-tree --prefix=test/ -u test/apache-1.0-missing-quote
  $ rm test/README.md test/testfiles-1.0-for-license-list-2.6.tar
  $ git add test

The remote.test.url update is because Gary hasn't landed my just-filed
[1].

The 'git rm' call avoids:

  $ git read-tree --prefix=test/ -u test/apache-1.0-missing-quote
  error: Entry 'test/simpleTestForGenerator/0BSD.txt' overlaps with 'test/simpleTestForGenerator/0BSD.txt'.  Cannot bind.

This catches the test data up with 558562e (Add missing close quote
to Apache-1.0.xml, 2017-12-30, spdx#588) and b975b3e (Remove section
4.g. from BitTorrent-1.0 license, 2017-12-30, spdx#589).

[1]: goneall/license-test-files#2
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