]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
templates: Fix pwclientrc sample
authorStephen Finucane <stephen@that.guru>
Sun, 21 Oct 2018 10:51:25 +0000 (11:51 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 17 Jun 2019 14:39:34 +0000 (15:39 +0100)
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
(cherry picked from commit 5ee0c0fdb0fc85f6e03ed55b04c918fa2ee0659b)

patchwork/templates/patchwork/pwclientrc
releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml [new file with mode: 0644]

index 96464c1be0b90f503d8a5ae18246b107b2803098..7d466d890da59bf1a877a403483c24c707504afe 100644 (file)
@@ -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 (file)
index 0000000..da9460d
--- /dev/null
@@ -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>`__)