`pwclient` and multiple Patchwork instances
Jeremy Kerr
jk at ozlabs.org
Tue Mar 22 11:53:43 EST 2011
Hi Paul,
> Is that still valid? If yes, how do you folks deal with multiple
> patchwork instances?
Yes, it's still valid.
I tend to be mainly using one project at a time, so just edit .pwclientrc when
switching. I haven't had to do this often, so it hasn't been too much trouble
(yet).
In the long term, I'd like to use [project] sections in pwclientrc:
[base]
# general parameters
[myproject]
url: http://some-server/xmlrpc
project: myproject
[patchwork]
url: http://patchwork.ozlabs.org/xmlrpc
project: patchwork
username: me
password mypassword
[cbe-oss-dev]
url: http://patchwork.ozlabs.org/xmlrpc
project: cbe-oss-dev
The configuration section to use could be selected with the -p flag to
pwclient, or by using argv[0] and invoking it as pwclient-cbe-oss-dev or
pwclient-patchwork.
Cheers,
Jeremy
More information about the Patchwork
mailing list