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

Re: bug data mining



On Sun, Oct 05, 2003 at 02:24:37PM -0400, John Belmonte wrote:
> Steve Langasek wrote:
> >Generally, I think people are using
> >http://bugs.debian.org/release-critical/ and looking through the bugs
> >with ids lower than x.  I think you'll find that the majority of older
> >bugs there fall into this category (or have had follow-ups, but the
> >follow-ups themselves are older than 2 weeks), so it's a relatively
> >reasonable approximation.
> 
> Given bugs with no activity in 2 weeks, there's a huge difference 
> between a bug with 50 follow-ups and a bug with no follow-ups.  I'd like 
> to find an existing solution, or create a solution, to making these 
> kinds of queries.

If you can get a broad list of bug numbers, you can use reportbug -m to
download the bugs, and grep the resulting files for "^From ":

for bug in $bugs; do
	if [ "`reportbug -m $bug | grep "^From "`" = "1" ]; then
		echo $bug
	fi
done

I haven't tested it, but that might work.

-- 
gram

Attachment: signature.asc
Description: Digital signature


Reply to: