Your message dated Tue, 3 May 2011 20:05:35 +0200
with message-id <[email protected]>
and subject line Re: [Build-common-hackers] Bug#625442: Bug#625442: Bug#625442:
cdbs: licensecheck -i (ignore) option overrides default
has caused the Debian Bug report #625442,
regarding cdbs: licensecheck -i (ignore) option overrides default
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
625442: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625442
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
On 11-05-03 at 05:30pm, Olivier Aubert wrote:
> On Tue, 2011-05-03 at 17:16 +0200, Jonas Smedegaard wrote:
> > On 11-05-03 at 04:15pm, Olivier Aubert wrote:
> > > However, the described behaviour does not happen when invoked by
> > > CDBS. I saw it happen since I had to copy/paste the command line
> > > to run it (because of #625448):
> > >
> > > licensecheck -c '.*' -r --copyright -i
> > > '^debian/(changelog|copyright(|_hints|_newhints))' -l '99999' * |
> > > /usr/lib/cdbs/licensecheck2dep5
> > >
> > > I do not quite know why it does not happen when invoked through
> > > CDBS (it is run from the same directory).
> >
> > The asterisk after '99999' should expand to all files or folders
> > except those with a leading dot. Do you perhaps use a non-POSIX
> > shell, or invoke outside of the package dir?
> Indeed, I use zsh, and it is configured to display hidden files. I
> overlooked that. Well, I think it solves the issue,
Good to hear! Bug hereby closed as a non-bug.
> but this relies on non-explicit behaviour. It will work for common git
> or subversion, but imagine if someone is crazy enough to maintain
> packages with darcs (that uses _darcs repository) or monotone
> (_MTN)...
Agreed. licensecheck really is a CLI tool, not well designed for use
within other scripts.
I long ago joined the devscript team with the very intend of improving
that, but haven't found (a.k.a. taken) time to do that yet...
Please do poke me from time to time about this - some day it might work
:-)
> Thanks for helping with this issue.
Well, thanks for your concern!
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature
--- End Message ---