Stefano Zacchiroli: bts followup
New bts command: followup
In Debian I'm pretty sure we have many perfectionists. Sadly,
I'm one of them: I can't help loosing lots of time fixing silly
things totally useless with respect to a more important task which
is waiting to be completed.
An example? Following up on BTS bugs.
If I have the original bug report in my mailbox that's easy, I
just hit
Try it out:
Anyone else find this useful? If so I can just go ahead and commit it to devscripts mainline ...
Update: some changes to the code, thanks to Adam Barrat for the feedback.
Changelog:
r on mutt and reply as usual (ok, I will
still loose some time getting rid of unneeded quoted text, but
that's not too much).
If I don't have it ... tragedy! I then have to open the
bug log in the browser and compose from scratch a new mail
including several information which I have to manually
grab from the bug log web page:
- proper recipients (usually one or more of
xxxxxx -submitter,-done,-forwarded, @bugs.debian.org) - proper headers:
- a
Subjectstarting withRe:and then continuing with the original subject - a
In-Reply-Toheader containing the originalMessage-Id(can I dare breaking threading, of course not!)
- a
- proper body:
- which should start with a
On ... Random J Developer wrote:... - ... and continue with the quoted text of the original bug report
- which should start with a
bts to automate the above
steps. Now I can do:
bts followup 430986
to end up in a mutt mail composing session with
proper (according to the definition of "proper" above) recipients,
headers, and quoted text:
From: Stefano Zacchiroli <zack@debian.org>
To: 430986@bugs.debian.org, 430986-submitter@bugs.debian.org
Cc:
Bcc:
Subject: Re: when reporting bugs by maintainer, please include Uploaders
Reply-To:
In-Reply-To: <20070628174236.13848.57178.reportbug@aquarium.takhisis.invalid>
On Thu, 28 Jun 2007 19:42:36 +0200, Stefano Zacchiroli wrote:
> Package: bugs.debian.org
> Severity: wishlist
>
> Browsing bugs by maintainer (and with this I mean something like
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?maint=zack@debian.org, or
> it shorter form http://bugs.debian.org/zack@debian.org) used to be
> terribly useful as a TODO list. Using that I used to have a simple entry
> point for knowing what I have to do "for Debian" regarding my packages.
>
> This usefulness has diminished a lot with the spreading of team
> maintenance. To know all bugs that apply to me indeed I know have to
> repeat browse by maintainer for each team I'm a member of.
>
> It would be terribly useful to include bugs which apply to packages in
> which I'm mentioned as an Uploader in the report by maintainer pages.
<snip>
Now I just need to actually perform the original task, the
problem now being that in the meantime I've forgotten what was it
about ...
Try it out:
- bts with super
followuppowers - the patch which adds
super
followuppowers tobtsof devscripts version 2.10.13
Anyone else find this useful? If so I can just go ahead and commit it to devscripts mainline ...
Update: some changes to the code, thanks to Adam Barrat for the feedback.
Changelog:
- safer handling of RFC822 line continuation
- instead of always mailing -submitter, mail the author of the message we are replying to (the bug report is always on Cc though)
- bug message number is now 1-based, following the convention of
the BTS
get_bug_logmethod - add the possibility to specify "last" (and even "last-1" and so on) for pointing to messages in the bug log starting from log bottom

Benjamin Kosnik of Red Hat put together a guide on the GCC web site with
information on porting applications to the upcoming GCC 4.3 release. He
integrated some information from my blog and added a number of new items.
If you run into any issues while moving to GCC 4.3, I suggest you
The bad thing with fixing build failures with dash is that there are still
* .. because its too cold, and fortunately my laptop heats so much. Sometime bad things are good for life 





I've been a bit behind with the ISC DHCP v3 package of late. I've had a
package of 3.1.0 for a few months, but I'm becoming more and more reluctant
to make uploads of this package without giving it some rudimentary testing.
Real life has been demanding of late, so I haven't had a chance to do that
testing. Nothing's gone wrong with the package to date, I just feel
negligent not giving it some basic testing before throwing it out there.
So I chucked a spare QFE card in my workstation brutus, put
unstable on the second hard drive, installed Debian unstable on the spare
10G partition of Sarah's old PowerBook, and lashed the two together with a
bit of CAT-5, and voila, instant DHCP client/server testbed.
So now that I'd verified that version 3.1.0 wasn't blatantly broken, I could
have a fiddle with the new support for option 119 (domain-search) that has
people at work very excited. I spent a bit of time off on a wild goose chase
trying to figure out how to configure the DHCP server for this new option
before I realised it was as simple as option domain-search "foo bar
baz"; and then made the necessary tweaks to dhclient-script.
I'm figuring that since one of the blokes who wrote