Does anyone besides Bazaar use PQM?

Mark A. Hershberger mah at everybody.org
Sat Dec 15 03:35:33 GMT 2007


(Responding to my own query for help with a progress report.)

mah at everybody.org (Mark A. Hershberger) writes:

> Do I need to create an initial repository with make-repo?  How?  I
> tried, but it looks like pqm just dies.

It would be ideal to have some sort of documentation on this, of course,
but for the purposes of setting up the initial repository, pqm seems to
be irrelevent.

In the end, I used “bzr push location” to push my local repository to
the machine pqm is running on.  I put it under /var/lib/pqm/bzr/i2ce.

I then created a section in pqm.conf like this:

    groups=ihris-devs
    [ihris-devs]
    members=mah at everybody.org

    [file:///var/lib/pqm/bzr/i2ce]
    published_at=http://open.intrahealth.org/bzr/i2ce/
    committers=ihris-devs

That seemed to do the trick.

For some reason I don't quite understand, it won't work with a trailing
slash.  That is, “file:///var/lib/pqm/bzr/i2ce” works, but not
“file:///var/lib/pqm/bzr/i2ce/”.

The next problem I ran into was that even though I had set
“verify_sigs=0” (for the purposes of testing), pqm still seemed to
expect a signature to identify the sender of the patch.  The patch
following my sig gets around that.

The message I sent was a star merge and ended up with a bunch of
conflicts, but at least I have it doing what it is supposed to do now.

-- 
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

--- __init__.py~
+++ __init__.py
@@ -687,6 +688,8 @@
         self.output = []
         self.commitmsg = self.script.getSubject()
         self.user_email = self.script.signing_email
+        # Added to allow unsigned email
+        self.user_email = self.script.getSender()
         self.sender = self.script.getSender()
 
     def run_in_dir(self, local_dir, method, *args):




More information about the bazaar mailing list