gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] tla patch queue manager 0.1


From: Colin Walters
Subject: [Gnu-arch-users] tla patch queue manager 0.1
Date: Mon, 06 Oct 2003 22:06:16 -0400

Hi,

After today's discussion about patch queue managers on IRC, I thought to
myself that a simple one should be pretty easy to write.  So I did.

Archive: address@hidden 
Location: http://arch.verbum.org/arch
Revision: tla-pqm--mainline--0.1

The basic idea is that you send GPG-signed merge requests to it via
email.  The merge requests look like this:

star-merge address@hidden/baz--blah--1.0 address@hidden/baz--blah--1.0

It's very rudimentary right now, but it seems to work.  There's no
documentation yet though.  

So to process a request email, you just pipe it into tla-pqm.py -r.  The
Subject of the email becomes the summary of the merge.

In order to set things up, you will need to create a ~/.tla-pqm.conf (or
create a file somewhere else and use the -c option) which looks
something like this:

-cut here-
[DEFAULT]
address@hidden
queuedir=/tmp/queue
keyring=/home/walters/.gnupg/pubring.gpg

address@hidden/cat--b--1.0]

-cut here-

Everything under [DEFAULT] is various settings that should be fairly
self-explanatory.  Every other section (stuff inside [...]) becomes
the name of a valid archive to merge into.

Setting up the queuedir is a little tricky.  You need to first create
it, then do something like:

HOME=/tmp/queue tla my-id 'Patch Queue Manager <address@hidden>'

Then you need to register all the archives you want it to know about:

HOME=/tmp/queue tla register-archive address@hidden /home/walters/tmp/test2/

I tried to make the code fairly robust; it will bomb out on pretty much
any kind of error.  Oh, and it detects replay attacks too.






reply via email to

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