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

Bug#164421: debbugs: support intersecting sets of bugs (e.g. package and submitter)



On Sat, Oct 12, 2002 at 01:47:33PM +1000, Jamie Wilkinson wrote:
> I'd like the ability to do something like:
> 
> pkgreport.cgi?submitter=jaq@debian.org&pkg=wnpp
> 
> but currently the observed behaviour is to ignore the pkg argument and
> show all bugs for that submitter.  See Bug#164416 for an example why
> one might want to do this.
> 
> I had a look at pkgreport.cgi with the intent to come up with a patch,
> but it looks like such functionality will require a large modification
> to the if block on lines 107-163, and I'm not game enough to do that
> without being more familiar with the BTS.

It occurred to me that we could extend the include= and exclude=
arguments for this, so that you have a "primary index" (e.g. pkg=wnpp)
and a bunch of extra arguments like include=submitter:jaq@debian.org
which limit the entries displayed based on any of the fields in the
bug's status file. We already have include=subj:whatever which lets you
limit an index by title. See the htmlizebugs() function in
cgi/common.pl.

Various people have been working on more complete searching mechanisms
than this, but I think extending include= and exclude= could give us
more flexible searching in the medium term without having to completely
upend the system and without imposing much extra CPU load.

(God knows how a web form UI for this would look, though.)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: