[Build-common-hackers] licensecheck and binary blobs
dr at jones.dk
Fri Aug 19 13:57:30 UTC 2011
On 11-08-19 at 03:34pm, IOhannes zmölnig wrote:
[fine and accurate problem description snipped]
> to solve the problem on my side, i could either create a longish (and
> complicated and hard to maintain) DEB_COPYRIGHT_CHECK_IGNORE_REGEX, or
> add debian/copyright_hints to debian/source/include-binaries
> personally i think both ideas cruft, as they only try to work around
> the unexpectedly binary output of licensecheck. (and is a repetitive
> work that should be taken care of by cdbs)
> instead i would suggest to sanitize the output of licensecheck, in
> order to keep debian/copyright_(new)?hints proper text files.
I tried that in the past, but then non-ascii names of copyright holders
got crippled or even stripped completely.
I see no way really to make licensecheck a fully automated routine,
because is fundamentally is dealing with crufty data.
Would be cool to be able to add (not replace) an ignore regex. I just
haven't figured out a sensible way to do that yet.
For now I recommend to use the clumsy approach of overriding
DEB_COPYRIGHT_CHECK_IGNORE_REGEX (the other approach is too invasive in
my opinion: affects other things than just the copyright-check routine).
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Build-common-hackers