]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/pwclientrc
Add pwclientrc configuration file sample for each project
[patchwork] / templates / patchwork / pwclientrc
diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc
new file mode 100644 (file)
index 0000000..d7c1c32
--- /dev/null
@@ -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 %}