]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/pwclientrc
pwclient: accept more than one project in ~/.pwclientrc
[patchwork] / templates / patchwork / pwclientrc
index 436a28b8da2df27a2806217b8ee4477bb4cd7ba4..d331003a269d96f77db0fd3a13154a8988bde0c0 100644 (file)
@@ -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 %}