X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpwclientrc;h=d331003a269d96f77db0fd3a13154a8988bde0c0;hb=429ef9ba9dcc8f92b8362c1b0fca0916db05e84b;hp=d7c1c321a36e16849945e9a9c51303dd7aa2dd17;hpb=8f69dd50bb88b7c296a231213c45114541851e44;p=patchwork diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc index d7c1c32..d331003 100644 --- a/templates/patchwork/pwclientrc +++ b/templates/patchwork/pwclientrc @@ -1,13 +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 django_xmlrpc.views.handle_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 %}