[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#809637: debian/copyright checks fail on upstream filenames containing blanks



Control: retitle -1 DEP-5 does not support filenames with blanks
Control: reassign -1 debian-policy

Hi all,

On  Sa 02 Jan 2016 10:16:26 CET, Niels Thykier wrote:

On Sat, 02 Jan 2016 09:05:31 +0000 Mike Gabriel
<mike.gabriel@das-netzwerkteam.de> wrote:
Package: lintian
Version: 2.5.39

When checking the build of onboard 1.1.2-2, I get this from lintian:

"""
[...]
"""

Reason: upstream tarball contains files with spaces.

Greets,
Mike

Hi Mike,

Sadly, it is working as intended.  The copyright format declares that
the field is "space"-separated[1] and does not even declare a way to
escape spaces.
  The best you can get is "file/with?spaces" (i.e. use "?" as a single
character wildcard) if you want a legal DEP-5 copyright.

If you think the spec is inadequate (I would be inclined to agree),
please bring it up as a bug against debian-policy.

Thanks,
~Niels

[1]
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#files-field

As suggested by Niels, I reassign this issue to debian-policy.

At the moment, we are not able to exactly specify file paths of files/folders containing blanks in debian/copyright when complying with the DEP-5 specs. (I agree that it is indeed uncommon as a developer to use blanks in filenames and that it should be avoided by upstream devs).

Suggestions to solve this:

  (a) allow escaping of blanks somehow (e.g., "\ ")
  (b) allow quotes for filenames or such

@Niels: for onboard I filed an upstream bug to avoid using blanks in their upstream files. Also, thanks for your idea with the "?" wildcard.

Greets,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de

Attachment: pgpmJA6P006mT.pgp
Description: Digitale PGP-Signatur


Reply to: