PQM updates
Tymek
maju7 at o2.pl
Wed Sep 23 14:33:13 BST 2009
Hi,
I'm struggling with setting up PQM - did you actually write the tutorial?
Basically I cannot make PQM do anything with the repository. It seems to run
- it removes the patch file, but it doesn't really commit anything in the
repo.
I think I'm doing something fundamentally wrong...or I'm missing something.
1. My request looks like this
/tmp/queue/patch.0112 is:
From: Tymek Dymek <tymek.majewski at cubitech.co.uk>
Subject: Test merge
star-merge file:///home/tymek/my.repo/branch1
file:///home/tymek/my.repo/trunk
2. My config is:
[DEFAULT]
# where should the pqm queue structure, logs etc be placed.
queuedir=/tmp/queue
# what directory to work in - revisions are checked out here, and so forth.
# defaults to a subdir of queuedir. Normally not set.
#workdir=
# where are logs stored - similar to workdir.
#logdir=
#master logfile location. Again, default should be all you need.
#logfile=
# what keyring to verify emails from. Trusts all user in the keyring.
# Place ONLY users you trust to commit in this keyring.
#keyring=/home/walters/.gnupg/pubring.gpg
# where is the tla/baz/arx program - usually not needed
#arch_path=/path/to/tla
# what is the pqm name. Normally not set.
#myname=Patch Queue Manager
# what email address should pqm send out it's address's from.
from_address=pqm at test.co.uk
# send notification on success and failure. normally not set.
mail_reply=1
# verify gpg signatures on email. DISABLING ALLOWS ANYONE TO TRIGGER MERGES.
# BEWARE!!!!!!!!!!
verify_sigs=0
# don't override the home dir. Use and set to 1 if you:
# have setup a uid just for pqm
# have the queuedir != to the pqm homedir.
# if you followed the manuals example of /usr/src/tla-pqm for the pqm
homedir,
# and you use anything other than /usr/src/tla-pqm for the queuedir, you
would need this.
#dont_set_home=0
# an external command to allow/disallow commits.
# Return non-zero to signal error.
#precommit_hook=foo-bar.sh param1 param2
# Build a config-manager config before doing any merges etc.
# Allows precommit hooks to work with config-based packages.
#build_config=foo at bar/c[[--b]--v]/configs/foobar/development
# Define a default project for all branches.
# Branches with projects appear in the web status ui under the
# /projects/project-name path rather than at the / status page.
# This allows multiple projects to share a single PQM but not
# have their merges lost in the noise of branches going through.
#project=demonstration-system
#define groups
#groups=staff,staff2
#[staff]
#members=tymek.majewski at test.co.uk
#[staff2]
#members=tymek.majewski at test.co.uk
[location overrides]
# this sections provides location mappings - where a
# configuration (and eventually normal sections)
# reference something, a local reference which may
# (for instance) be read-write, or faster, is used.
/new/value=http://public-value.com
# This section enables merges into this branch.
[/home/tymek/my.repo/trunk]
# per section keys follow
#published_at==file:///home/repos/foo/
#publish_to=hello-world.example.com:public_html
# an external command to allow/disallow commits.
# Return non-zero to signal error.
#precommit_hook=foo-bar.sh param1 param2
# Build a tla config before doing any merges etc.
# Allows precommit hooks to work with config-based packages.
#build_config=foo at bar/c[[--b]--v]/configs/foobar/development
# Use a specific base directory instead of a dynamically calculated one.
#build_dir=/home/temp/foo
# restrict commits
#commiters=staff
# Confirm that commit messages match a specified regexp.
# Allows a policy to be defined (per-revision) for what the commit
# messages must look like (providing they can be described by a regular
# expression)
# The regexp is automatically anchored at the start of the message
# so if you need it to match later, put .* at the start of your
# regexp
#
# This example matches rs=bar, r=foo and [trivial] caselessly
#commit_re=.*([rR][sS]?=[^ \t]+)|(\[[Tt][Rr][Ii][Vv][Ii][Aa][Ll]\])
# Assign a specific project to this branch
#project=hello-world
# arch-tag: Simple sample configuration file for tla-pqm
3.
tymek at tymek-ubuntu:~/my.repo$ pqm --run -v -d
pqm [-1210877760] INFO: managing branch(s): /home/tymek/my.repo/trunk
pqm [-1210877760] INFO: creating lockfile
pqm [-1210877760] INFO: trying script /tmp/queue/patch.0112
pqm [-1210877760] INFO: recieved email from Tymek Dymek
<tymek.majewski at cubitech.co.uk>
pqm [-1210877760] INFO: sender: Tymek Dymek <tymek.majewski at cubitech.co.uk>
pqm [-1210877760] INFO: subject: Test merge
pqm [-1210877760] INFO: parsing commands
pqm [-1210877760] INFO: cleaning working directory
pqm [-1210877760] INFO: main thread exiting...
--
View this message in context: http://www.nabble.com/PQM-updates-tp24547824p25531140.html
Sent from the Bazaar - General Discussion mailing list archive at Nabble.com.
More information about the bazaar
mailing list