X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpwclientrc;h=d331003a269d96f77db0fd3a13154a8988bde0c0;hb=429ef9ba9dcc8f92b8362c1b0fca0916db05e84b;hp=79a0f3b6b776c6a214fbb45dda985f1ddf2d045e;hpb=cefda5060a4916fcb0dca472eb300d4516ad30ef;p=patchwork diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc index 79a0f3b..d331003 100644 --- a/templates/patchwork/pwclientrc +++ b/templates/patchwork/pwclientrc @@ -1,14 +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 %} -[auth] -user: {{ user.username }} +username: {{ user.username }} password: {% endif %}