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

Olivier Aubert olivier.aubert at liris.cnrs.fr
Tue May 3 10:31:52 UTC 2011

Package: cdbs
Version: 0.4.93
Severity: normal

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.

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.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     8.1.3      helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20100122.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.72    scripts to make the life of a Debi

-- no debconf information

More information about the Build-common-hackers mailing list