summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/pwclientrc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/patchwork/pwclientrc')
-rw-r--r--templates/patchwork/pwclientrc16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc
index 436a28b..d331003 100644
--- a/templates/patchwork/pwclientrc
+++ b/templates/patchwork/pwclientrc
@@ -1,15 +1,15 @@
# Sample .pwclientrc file for the {{ project.linkname }} project,
# running on {{ site.domain }}.
#
-# Save this file to ~/.pwclientrc
-#
-[base]
-url: {{scheme}}://{{site.domain}}{% url 'patchwork.views.xmlrpc.xmlrpc' %}
-project: {{ project.linkname }}
+# Just append this file to your existing ~/.pwclientrc
+# If you do not already have a ~/.pwclientrc, then copy this file to
+# ~/.pwclientrc, and uncomment the following two lines:
+# [options]
+# default={{ project.linkname }}
+
+[{{ project.linkname }}]
+url= {{scheme}}://{{site.domain}}{% url 'patchwork.views.xmlrpc.xmlrpc' %}
{% if user.is_authenticated %}
-# Adding authentication parameters will allow you to use the 'update'
-# command on patches that you are allowed to edit.
-[auth]
username: {{ user.username }}
password: <add your patchwork password here>
{% endif %}