[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364803: [service.in] reassign doesn't work with multiple packages+versions.



On Tue, Apr 25, 2006 at 12:12:39PM -0700, Don Armstrong wrote:
> Package: debbugs
> Severity: minor
> 
> Basically, the reassign regex isn't set up to deal sanely with
> assignment of a bug to mutltiple packages with versions; it just
> assigns the bug to the first package, and then sets the version number
> to the rest of the value.
> 
> reassign\s+\#?(-?\d+)\s+(\S+)(?:\s+(\d.*))?
> 
> in service.in is the source of the trouble.

Isn't that a feature? It's relatively rare for it to be worthwhile to
assign a bug to multiple packages that happen to have the same version
number; about the only case where that can happen short of pure
coincidence is assigning to multiple binaries from a single source,
which doesn't seem terribly valuable from the version-tracking point of
view as they'll all be closed simultaneously anyway.

The current regex allows you to reassign to a package and at the same
time list multiple versions that you know manifest the bug, which seems
a bit more useful.

Oh, but I've just realised that you might mean reassigning to multiple
package/version pairs. Yes, that would be useful. I'd suggest
PACKAGE/VERSION PACKAGE/VERSION ... as the syntax.

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: