summaryrefslogtreecommitdiff
path: root/releasenotes/notes
diff options
context:
space:
mode:
authorWill Szumski <will@stackhpc.com>2019-01-08 12:13:56 +0000
committerWill Szumski <will@stackhpc.com>2019-04-25 11:25:56 +0100
commit50356da8393abdb47cc6c64de4fa387d8499cbc4 (patch)
treec3b5b0b2b049685172e12df0dd4ef71e33e73f49 /releasenotes/notes
parent55429ef85692298a6f2dacb38bfa27f2aac5477f (diff)
downloadpbr-50356da8393abdb47cc6c64de4fa387d8499cbc4.tar.gz
Fix white space handling in file names
Previously, when using data_files with a glob that matched a file with whitespace in the name, pip would error with a message that the file does not exist, e.g: error: can't copy 'ansible/roles/yatesr.timezone/templates/timezone-Arch': doesn't exist or not a regular file The problem was that ansible/roles/yatesr.timezone/templates/timezone-Arch was a truncated form of the actual filename: ansible/roles/yatesr.timezone/templates/timezone-Arch Linux.j2 Note the space in the filename and that it has been split on this space. This change allows you to use a glob that matches files with whitespace in the name. It does this by quoting the path. Change-Id: Id2cc32e4e40c1f834b19756e922118d8526358d3 Fixes-Bug: 1810934
Diffstat (limited to 'releasenotes/notes')
-rw-r--r--releasenotes/notes/fix-handling-of-spaces-in-data-files-glob-0fe0c398d70dfea8.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-handling-of-spaces-in-data-files-glob-0fe0c398d70dfea8.yaml b/releasenotes/notes/fix-handling-of-spaces-in-data-files-glob-0fe0c398d70dfea8.yaml
new file mode 100644
index 0000000..793ba73
--- /dev/null
+++ b/releasenotes/notes/fix-handling-of-spaces-in-data-files-glob-0fe0c398d70dfea8.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ Fixes the handling of spaces in data_files globs. Please see `bug 1810934
+ <https://bugs.launchpad.net/pbr/+bug/1810934>`_ for more details.