Trouble Setting up PQM

Mark A. Hershberger mah at everybody.org
Thu Dec 13 22:08:54 GMT 2007


I contacted Robert Collins directly about this, but since he is out, he
asked me to post it here.

I'm trying to set up pqm for a project we have on Launchpad
(http://launchpad.net/ihris-suite) and I'm a bit lost.

I've got it successfully processing emails, but bzr support seems
non-existent.  It wants to default to baz (__init__ in CommandRunner
sets arch_path to "baz" and there is no where to set it to bzr) and the
Bazaar2Handler seems woefully incomplete compared to the other
VCSHandler classes.

https://bugs.edge.launchpad.net/pqm/+bug/124847 seems to indicate that
there is a way to do this (“We should also document in the README/user
documentation how to deploy with bzrlib”) but just having bzr installed
doesn't seem to be enough.

Here is what I'm currently trying:

    $ (echo 'From: mah at everybody.org'; echo 'Subject: test'; echo; echo
      'make-repo /i2ce
      http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/main') |
      sudo -u pqm env HOME=/var/lib/pqm pqm --read --debug ;sudo -u pqm
      env HOME=/var/lib/pqm pqm --run --verbose --debug --report

    pqm [-1209886496] INFO: found groups {'ihris-devs': []}
    pqm [-1209886496] INFO: group ihris-devs has members ['mah at everybody.org']
    pqm [-1209886496] INFO: managing branch(s): /i2ce
    pqm [-1209886496] INFO: creating lockfile
    pqm [-1209886496] INFO: trying script /var/lib/pqm/queue/patch.1197562756
    pqm [-1209886496] INFO: recieved email from mah at everybody.org
    pqm [-1209886496] INFO: parsing commands
    pqm [-1209886496] INFO: recieved email from mah at everybody.org
    pqm [-1209886496] INFO: sender: mah at everybody.org
    pqm [-1209886496] INFO: subject: test
    pqm [-1209886496] INFO: cleaning working directory
    Patch: /var/lib/pqm/queue/patch.1197562756
    Status: failure
    Log: /var/log/pqm/patch.1197562756.log

    pqm [-1209886496] INFO: main thread exiting...
    mah at osi:~$ cat /var/log/pqm/patch.1197562756.log 

    Executing make-repo /i2ce http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/main at Thu Dec 13 11:19:17 2007

Thank you for any help,

Mark.



-- 
http://hexmode.com/
GPG Fingerprint: 7E15 362D A32C DFAB E4D2  B37A 735E F10A 2DFC BFF5

The most beautiful experience we can have is the mysterious.
    -- Albert Einstein, The World As I See it




More information about the bazaar mailing list