Bug#383921: [Dctrl-tools-devel] Bug#383921: Bug#476861: dctrl-tools: option to match against package-name boundaries

2009-04-16 Thread Stefano Zacchiroli
Eya, sorry for the delay, I'm back on track with this now. [ reordering quoted text ] On Fri, Feb 27, 2009 at 09:23:26AM +0100, Stefano Zacchiroli wrote: > > You haven't signed off the patch. Please read > > > > http://git.debian.org/?p=collab-maint/dctrl-tools.git;a=blob_plain;f=dco-1.1.txt;

Bug#476861: [z...@debian.org: [Dctrl-tools-devel] Bug#383921: Bug#383921: Bug#476861: dctrl-tools: option to match against package-name boundaries]

2009-02-27 Thread Antti-Juhani Kaijanaho
We seem to be talking in the wrong bug log. My mistake - hand't noticed the CC and responded to the wrong bug. -- Antti-Juhani Kaijanaho, Jyväskylä, Finland http://antti-juhani.kaijanaho.fi/newblog/ http://www.flickr.com/photos/antti-juhani/ --- Begin Message --- Hi Antti-Juhani, thanks for your

Bug#383921: [Dctrl-tools-devel] Bug#383921: Bug#383921: Bug#476861: dctrl-tools: option to match against package-name boundaries

2009-02-27 Thread Antti-Juhani Kaijanaho
On Fri, Feb 27, 2009 at 09:23:26AM +0100, Stefano Zacchiroli wrote: > > Would it make sense to instead rule out any character that would be > > a part of a package name? > > Uhm, I don't think so, because that set of characters is not > "symmetric", e.g. a package cannot start with a -, but can co

Bug#383921: [Dctrl-tools-devel] Bug#383921: Bug#476861: dctrl-tools: option to match against package-name boundaries

2009-02-27 Thread Stefano Zacchiroli
Hi Antti-Juhani, thanks for your feedback. On Wed, Feb 25, 2009 at 07:45:39PM +0200, Antti-Juhani Kaijanaho wrote: > I do think this is a bit inelegant, but all other avenues for implementation > that I can think of are much more complex. > > In other words, I think your approach is sound. Fair

Bug#383921: [Dctrl-tools-devel] Bug#383921: Bug#476861: dctrl-tools: option to match against package-name boundaries

2009-02-25 Thread Antti-Juhani Kaijanaho
On Thu, Jan 29, 2009 at 11:48:42AM +0100, Stefano Zacchiroli wrote: > The attached patch does exactly that. The name of the flag I've chose > is "--whole-pkg", YMMV. Note that in my implementation the flag > implies "-e", because the implementation is actually (extended) regex > based. > > More in

Bug#476861: dctrl-tools: option to match against package-name boundaries

2009-01-29 Thread Stefano Zacchiroli
On Thu, Jan 29, 2009 at 11:48:42AM +0100, Stefano Zacchiroli wrote: > thanks Attached minor memory management improvement, to be applied after the two previous patches. Cheers. -- Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 z...@{upsilon.cc,pps.jussieu.fr,debian.org

Bug#383921: Bug#476861: dctrl-tools: option to match against package-name boundaries

2009-01-29 Thread Stefano Zacchiroli
tags 476861 + patch thanks [ Cc-ing a somehow related bug log ] On Sat, Apr 19, 2008 at 06:16:35PM +0200, Adeodato Simó wrote: > Frequently, I find my self wanting to do an exact match for a package > name contained in a multi-word field, e.g. Depends. Same here. > To ensure I'm not matching su

Bug#476861: dctrl-tools: option to match against package-name boundaries

2008-04-19 Thread Adeodato Simó
Package: dctrl-tools Version: 2.12 Severity: wishlist Hello. Frequently, I find my self wanting to do an exact match for a package name contained in a multi-word field, e.g. Depends. To ensure I'm not matching sub-words, I'm doing something like: % grep-dctrl -F Depends -e '(^| )package([, ]|