Hi Adam,

On Sun, Apr 12, 2009 at 12:16:31PM +0100, Adam D. Barratt wrote:
> It's certainly not a feature I've ever thought about, but I've no
> objections to adding it if people think it would be useful. :)

Well, personally I must say the whole debtags stuff feels like a bit too
much for rc-alert but a way to select packages by language is something
I missed for quite some time. :)

> A few quick comments on the patch, if you don't mind:

Not at all!

> Shoudn't it be --debtag if only one tag is allowed? </picky> There are a
> few other places in the patch where the documentation can't decide
> whether multiple tags are allowed or not.

Right. Before I put much effort in implementing a more complex debtags
sorting whatsoever I just wanted to hear an oppinion about it. I'd
imagine to select packages by more than one debtag, e.g. different
debtag keys are and'd, others or'd:

rc-alert --debtags implemented-in::python,role::plugin,implemented-in::perl

would lead to all packages that are role::plugin and
implemented-in::(python or perl).

But now we're getting somewhere I don't know if I wanna be there. Since
it's more your script: what is it gonna be -- --debtags or --debtag?

> Isn't that just
> 
>   while (<DEBTAGS>) {
>      if (m/^(.+?)(?::?\s*|:\s+(.+?)\s*)$/) {
> 
> ?

Yes, of course.

> Apologies if any of the above seems picky. :-)

That's okay for me... :)

Hauke

Attachment: signature.asc
Description: Digital signature

Reply via email to