diff options
author | Stephen Finucane <stephen@that.guru> | 2018-10-21 11:51:25 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2019-06-17 15:05:00 +0100 |
commit | 5ee0c0fdb0fc85f6e03ed55b04c918fa2ee0659b (patch) | |
tree | 207b829476e0141b9675e03981668b0fdd17b482 | |
parent | e99490cf28e8104f42746d71f11618f4e6f427e1 (diff) | |
download | patchwork-5ee0c0fdb0fc85f6e03ed55b04c918fa2ee0659b.tar patchwork-5ee0c0fdb0fc85f6e03ed55b04c918fa2ee0659b.tar.gz |
templates: Fix pwclientrc sample
INI files should use 'key = value' values, not 'key: value'. Correct
this and fix some other whitespace issues.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #277
-rw-r--r-- | patchwork/templates/patchwork/pwclientrc | 6 | ||||
-rw-r--r-- | releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/patchwork/templates/patchwork/pwclientrc b/patchwork/templates/patchwork/pwclientrc index 96464c1..7d466d8 100644 --- a/patchwork/templates/patchwork/pwclientrc +++ b/patchwork/templates/patchwork/pwclientrc @@ -8,8 +8,8 @@ # default={{ project.linkname }} [{{ project.linkname }}] -url= {{scheme}}://{{site.domain}}{% url 'xmlrpc' %} +url = {{ scheme }}://{{ site.domain }}{% url 'xmlrpc' %} {% if user.is_authenticated %} -username: {{ user.username }} -password: <add your patchwork password here> +username = {{ user.username }} +password = <add your patchwork password here> {% endif %} diff --git a/releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml b/releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml new file mode 100644 index 0000000..da9460d --- /dev/null +++ b/releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + The ``pwclientrc`` samples generated by Patchwork were previously not valid + INI files. This issue is resolved. (`#277 + <https://github.com/getpatchwork/patchwork/issues/277>`__) |