Bug#960681: Bug#513967:l icensecheck: fails to detect license at end (option --tail is broken)

Dominique Dumont dod at debian.org
Fri Nov 19 17:06:00 GMT 2021


On Thu, 12 Apr 2018 23:26:53 +0200 Jonas Smedegaard <dr at jones.dk> wrote:
> It is (slower but) more reliable to use "--lines 0".

Indeed. I have a similar case with #1000179 where licensecheck does not get 
copyright assignment from a LICENSE file:

$ licensecheck --copyright LICENSE 
LICENSE: *No copyright* Apache License 2.0

But it gets the copyright with --lines option:

$ licensecheck --copyright LICENSE -l 0
LICENSE: Apache License 2.0
  [Copyright: patent, trademark, and / license to reproduce, prepare 
Derivative Works of, / License. Subject to the terms and conditions of / 2017 
Sourced Technologies S.L.]

Would it be possible to use --lines 0 with files containing a lot of capital 
letters (like LICENSE.* README*) and so on... These files tend to be relatively 
short compared to other source files.

HTH



More information about the pkg-perl-maintainers mailing list