Package: doc-base
Version: 0.11.1
Severity: normal
X-Debbugs-Cc: debian.fm...@guillaume-d.info
Dear Maintainer,
Paths with spaces for documents may be not that important
for Debian package maintainers, but for system administrators,
it would be nicer for such paths to:
- either just work (at least as far as doc-base is concerned,
dwww and friends being another matter)
- or be documented as not supported and/or checked against by
`install-docs --check`
As the following example shows (I also made other tests
with existing files), only the HTML format seems to support spaces
but only in the last component of paths!
Also it looks like Files patterns that do not match trigger
no warning whatsoever, which could be another bug IMHO.
$
$ cat test.doc-base
Document: doc-base-spaces-in-paths-test
Title: whatever
Section: Help
Format: HTML
Index: /usr/local/share/doc/my non-existing path with spaces.html
Files: /usr/local/share/doc/my non-existing path with spaces/*.html
Format: PDF
FIles: /usr/local/share/doc/my-non-existing-path with spaces.pdf
Format: Text
FIles: /usr/local/share/doc/my-non-existing-path with spaces.txt
$
$ sudo LANG= install-docs -i test.doc-base
Error in `test.doc-base', line 13: all `Format' sections are invalid.
$
$ LANG=C /usr/sbin/install-docs --verbose --check test.doc-base
Warning in `test.doc-base', line 8: file `/usr/local/share/doc/my
non-existing
path with spaces.html' does not exist.
Warning in `test.doc-base', line 11: `Files' value has to be specified with
absolute path: with spaces.pdf.
Warning in `test.doc-base', line 13: `Files' value has to be specified with
absolute path: with spaces.txt.
Error in `test.doc-base', line 13: all `Format' sections are invalid.
test.doc-base: Fatal error found, the file won't be registered.
$