[Build-common-hackers] Bug#625442: Bug#625442: cdbs: licensecheck -i (ignore) option overrides default

Jonas Smedegaard dr at jones.dk
Tue May 3 11:55:03 UTC 2011

Hi Olivier,

On 11-05-03 at 12:31pm, Olivier Aubert wrote:
> When activating the licensecheck reporting, licensecheck is invoked 
> with the following option:
>  -i '^debian/(changelog|copyright(|_hints|_newhints))'
> Setting this option overrides the default value 
> ('(?:^|/).*~$|(?:^|/)\.#.*$|(?:^|/)\..*\.swp$|(?:^|/),,.*(?:$|/.*$)|(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)') 
> so activating the rule in a git-maintained tree will try to parse the 
> whole .git repository.


I haven't experienced that issues myself - and use Git on most packages 
I am involved in maintaining.

Could you please provide an example package, with complete command and 
the resulting copyright_hints file containing ugly git blobs.

> This could be fixed either in the licensecheck2dep5 (by filtering the 
> changelog/copyright* files here), or by filing a bug report against 
> licensecheck so that there is another option to append an additional 
> ignore regexp in addition to the default one.

If truly dot-folders are included too then yes, there are several 
approaches to improving that situation.  But please first double-check 
that this in fact is the case.


 - Jonas

 * 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...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110503/a8472803/attachment.pgp>

More information about the Build-common-hackers mailing list