Re: arch patch queue manager

Georg Seidel <[email protected]>
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
I played around with the precommit hooks.

First of all, there are two hooks we can use:
   * One is a precommit script that is executed by arch-pqm (after the
     merge and before the stuff is committed as far as I understand the
     sources).
     I called it /home/gephex/precommit.sh (can be configured in
     /home/gephex/.arch-pqm.conf).
   * Two is /home/gephex/.arch-params/hook which is called by tla
     whenever something is commited.

The first script can run tests etc (it can do whatever it wants,
seems to be called inside the merged sources and can abort the commit
if it returns non zero).

The second seems useful to send commit messages to all developers
(You cannot abort the commit there).

So far I have implemented the second script and left the first one
almost empty.


Another thing: I changed the owner and permissons of /var/arch/gephex,
now only user gephex can commit there. So you are "forced" now to use
the pqm if you want to commit ;)

The remaining TODOs are:

     - cron job that calls arch-pqm --run
     - create one branch of gephex--main--0.4 and gephex--main--0.5 for
       every developer and tell arch-pqm where it is
       (those branches can be on different archives, so for example martin
        could have his archive on tyr, I could mirror my offline archive
        to gephex.org, ...)
     - add other public keys to gephex keyring

Georg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.