summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-09-08 11:56:51 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-09-08 11:56:51 +1000
commit8f69dd50bb88b7c296a231213c45114541851e44 (patch)
tree6f79ea42fa88e6f186bb314f4ddda3c874d0b2e9 /templates
parent4b41c609084eff2ab49e1a7501314a0fa57450c4 (diff)
downloadpatchwork-8f69dd50bb88b7c296a231213c45114541851e44.tar.bz2
patchwork-8f69dd50bb88b7c296a231213c45114541851e44.tar.xz
Add pwclientrc configuration file sample for each project
This allows users to easily configure pwclient for a patchwork instance. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/patchwork/pwclientrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc
new file mode 100644
index 0000000..d7c1c32
--- /dev/null
+++ b/templates/patchwork/pwclientrc
@@ -0,0 +1,13 @@
+# Sample .pwclientrc file for the {{ project.linkname }} project,
+# running on {{ site.domain }}.
+#
+# Save this file to ~/.pwclientrc
+#
+[base]
+url: http://{{site.domain}}{% url django_xmlrpc.views.handle_xmlrpc %}
+project: {{ project.linkname }}
+{% if user.is_authenticated %}
+[auth]
+user: {{ user.username }}
+password: <add your patchwork password here>
+{% endif %}