From 5ee0c0fdb0fc85f6e03ed55b04c918fa2ee0659b Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sun, 21 Oct 2018 11:51:25 +0100 Subject: [PATCH] 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 Closes: #277 --- patchwork/templates/patchwork/pwclientrc | 6 +++--- releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml diff --git a/patchwork/templates/patchwork/pwclientrc b/patchwork/templates/patchwork/pwclientrc index 96464c1b..7d466d89 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: +username = {{ user.username }} +password = {% endif %} diff --git a/releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml b/releasenotes/notes/issue-277-5bfda7ad1f72f267.yaml new file mode 100644 index 00000000..da9460d6 --- /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 + `__) -- 2.47.3