X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fpwclientrc;h=c932b1173e862bf7d5d9984e146d31aa653ff9fe;hb=e3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9;hp=79a0f3b6b776c6a214fbb45dda985f1ddf2d045e;hpb=cefda5060a4916fcb0dca472eb300d4516ad30ef;p=patchwork diff --git a/templates/patchwork/pwclientrc b/templates/patchwork/pwclientrc index 79a0f3b..c932b11 100644 --- a/templates/patchwork/pwclientrc +++ b/templates/patchwork/pwclientrc @@ -4,11 +4,12 @@ # Save this file to ~/.pwclientrc # [base] -url: http://{{site.domain}}{% url patchwork.views.xmlrpc.xmlrpc %} +url: {{scheme}}://{{site.domain}}{% url patchwork.views.xmlrpc.xmlrpc %} project: {{ project.linkname }} - {% if user.is_authenticated %} +# Adding authentication parameters will allow you to use the 'update' +# command on patches that you are allowed to edit. [auth] -user: {{ user.username }} +username: {{ user.username }} password: {% endif %}