summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-10-21 11:51:25 +0100
committerStephen Finucane <stephen@that.guru>2019-06-17 15:05:00 +0100
commit5ee0c0fdb0fc85f6e03ed55b04c918fa2ee0659b (patch)
tree207b829476e0141b9675e03981668b0fdd17b482
parente99490cf28e8104f42746d71f11618f4e6f427e1 (diff)
downloadpatchwork-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/pwclientrc6
-rw-r--r--releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml6
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>`__)