summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/pwclientrc
Commit message (Collapse)AuthorAgeFilesLines
* pwclient: accept more than one project in ~/.pwclientrcYann E. MORIN2014-07-041-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, given the format of ~/.pwclientrc, pwclient can only really act on a single project, as ~/pwclientrc can only contain the configuration for a single project. Although the -p options comes in handy to specify a project different from the one configured in ~/.pwclientrc, this only works if it is hosted on the same server. As soon as one needs to switch server, it is necessary to edit ~/pwclientrc. This can be quite inefficient when dealing with many projects, hosted on different servers. Change the format of ~/.pwclientrc so it is possible to define more than one project, and for each project, specify an URL and credentials. The new format is like: [options] default = project-A [project-A] url = http://my.patchwork.server/path/to/xmlrpc username = that-is-me password = secret [other-project] url = http://you.get/the/idea username = someone password = 1234 This has the advantage of not changing the options to pwclient, so the user experience is unmodified. If a ~/.pwclentrc exists in the old format, it is automatically converted over to the new format, and the previous one is saved as ~/.pwclientrc.orig. Upon conversion, no action is made, pwclient just exits (with return-code 1) to inform the user to review the conversion. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Django 1.5 compatibility fixesRalf Baechle2013-10-131-1/+1
| | | | | | | Django 1.5 wants plenty of quotes scattered over the templates. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* views: Use request scheme in sample pwclientrc file.Jeremy Kerr2010-03-191-1/+1
| | | | | | Adapt the pwclientrc file to suit the current scheme in use. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fix user/username mismatch on pwclientrc templateJeremy Kerr2008-09-091-2/+3
| | | | | | ... and add a comment to the auth section Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use patchwork xmlrpc view in pwclientrc templateJeremy Kerr2008-09-091-1/+1
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Enable [auth] setion in pwclientrc templateJeremy Kerr2008-09-091-2/+1
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Make pwclient visible thorugh site, and add .pwclientrc infrastructureJeremy Kerr2008-09-081-0/+2
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add pwclientrc configuration file sample for each projectJeremy Kerr2008-09-081-0/+13
This allows users to easily configure pwclient for a patchwork instance. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>