X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpwclientrc;h=d331003a269d96f77db0fd3a13154a8988bde0c0;hb=429ef9ba9dcc8f92b8362c1b0fca0916db05e84b;hp=5fb1f47b65e3ba0696dfa375f94c731137c24667;hpb=13f4232358785f4ca89ce1c4605a4b01db1940ef;p=patchwork diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc index 5fb1f47..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: http://{{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: {% endif %}