arch tip #2

Mike Hearn mike at navi.cx
Sun Apr 18 10:31:45 CDT 2004


Hi everyone,

I just checked in a new update to the genpatch script. It can now send
an email to wine-patches automatically given a set of local changesets.

Use it like this:

./genpatch -m 5 6 7

if you did three commits, patch-5, patch-6 and patch-7 and want to send
them all to wine-patches as one email. The log message and summary of the
first patch will be used, and all three patches will be combined into one.
You get to edit the email before it's sent and will be asked for
confirmation, so you can read it over one last time.

By default it will send mail to localhost - if you don't want to setup
sendmail you can have "export GENPATCH_RELAY=smtp.myisp.com" in your shell
init scripts to make it use a different mail relay.

So in summary, development on a series of related improvements to wine
goes like this:

(setup arch and checkout the cvs gateway tree)
./branch some-branch
cd ..
cd some-branch

tla make-log
(make some changes, noting what they are in the arch-created log file as
you go)
tla commit
* committed whoever at where-ever.org--2004/wine--some-branch--0.9--patch-2

tla make-log
(more changes)
tla commit
* committed whoever at where-ever.org--2004/wine--some-branch--0.9--patch-3

./merge   
(this brings your tree up to date with winehq, only bother if you think
there has been enough drift to make it worthwhile)

./genpatch -m 2 3

(read generated email, to confirm delete the first line + save + quit)

thanks -mike




More information about the wine-devel mailing list