[Top][All Lists]

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

Re: Extracting patches based on log messages

From: Holger
Subject: Re: Extracting patches based on log messages
Date: 26 Sep 2006 01:36:33 -0700
User-agent: G2/1.0

Mark D. Baushke wrote:
> Holger <address@hidden> writes:
> > I need a tool for extracting patches based on log messages. I.e. we
> > mark our fixes and features with a "Bugdb XYZ". And sometimes you need
> > to move a fix/feature to another branch or maybe
> > you just want to inspect exactly what changes were related to a
> > specific bugdb issue.
> >
> > Now, I've made my own python tool to do just that, but I've also
> > searched hi and low to find out if someone has made a similar (and
> > perhaps much better) tool, and I now it's out there somewhere bleeding
> > obvious - can't imagine I'm the first to have this thought. I just
> > haven't been able to find it...
> >
> > Help appreciated  :-)
> Some folks will use a bugid number in their log message and also have
> their commitlog script send e-mail to a bug tracking system with the
> list of files and revisions. They are then easily able to reconstruct
> the patch needed for other branches as needed for the same bug.
>       Good luck,

Well, I would like to do all this without messing with the server side.
But hey, it looks like I'm the first one here! I better go take out a
patent on this baby ;-)

If anyone else trips on this post and would like it, I'd be happy to
post it here. It work like this:
patchmaker "Bug # 123"
And spits out a patch for CVS changes with log messages matching the
arg. It even takes regular expressions. E.g.
patchmaker "[bB]ug *# *123"

I've previously posted an older version of it on comp.lang.python

Thanks again Mark


reply via email to

[Prev in Thread] Current Thread [Next in Thread]