Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-09-20 Thread Chris Lamb
tags 906284 + pending thanks This is now fixed in Git, pending upload: https://salsa.debian.org/lintian/lintian/commit/b0ee727b5f3abe977e5c5f57eedecfd4486cf127 Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-09-04 Thread Chris Lamb
Jonathan Dowland wrote: > you wanted a corpus of good and bad texts to test against. Is that > still the case? Anyone who implements the Lintian change will require updating the testsuite, so yes. > > I like how this implies that Lintian, too, is a hacky script... > > Sorry if it can be

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-09-04 Thread Jonathan Dowland
Hi! On Mon, Sep 03, 2018 at 09:16:27AM +0100, Chris Lamb wrote: (I like how this implies that Lintian, too, is a hacky script...) Sorry if it can be interpreted that way, that is not what I meant. Do let me know when you are happy with the output so we can update Lintian, etc. I think

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-09-03 Thread Chris Lamb
Hi, > I attempted to simulate this change in Lintian with a totally > separate hacky script (I like how this implies that Lintian, too, is a hacky script...) Do let me know when you are happy with the output so we can update Lintian, etc. Regards, -- ,''`. : :' : Chris Lamb

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-08-28 Thread Jonathan Dowland
Interestingly, 307 is roughly half of all CC-license using packages, based on the numbers I counted in #795402 -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland ⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net ⠈⠳⣄

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-08-25 Thread Chris Lamb
forcemerge 906284 907272 thanks Hi, This looks like #906284 - let's at least centralise the on-going discussion there (and vice versa). Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-08-23 Thread Chris Lamb
Hi Julian & Jonathan, > How about the following? In the parse_license function, where each > license paragraph is parsed, something like the following: > > if ($full_license and $short_license =~ m/cc-/) { > if ($full_license !~ /definitions/i) { > tag

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-08-19 Thread Julian Gilbey
On Thu, Aug 16, 2018 at 04:32:08PM +0100, Chris Lamb wrote: > Hi Julian, > > > The test for the human-readable rather than legal text of the Creative > > Commons licenses seems to fail, because the preamble about Creative > > Commons not being a law firm is not part of the license text, and > >

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-08-16 Thread Chris Lamb
Hi Julian, > The test for the human-readable rather than legal text of the Creative > Commons licenses seems to fail, because the preamble about Creative > Commons not being a law firm is not part of the license text, and > neither is the postamble about Creative Commons not being a party to >

Bug#906284: lintian: check for incomplete-creative-commons-license gives false positives: the "not a law firm" is a preamble, not a license

2018-08-16 Thread Julian Gilbey
Package: lintian Version: 2.5.96 Severity: normal The test for the human-readable rather than legal text of the Creative Commons licenses seems to fail, because the preamble about Creative Commons not being a law firm is not part of the license text, and neither is the postamble about Creative