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

Bug#874206: debian-policy: allow a trailing comma in package relationship fields



On Tue, Sep 05, 2017 at 10:28:37AM -0700, Josh Triplett wrote:
> I didn't even know this syntax was allowed, and now that I do I'd love
> to use it.

Happy to have confirmation that some clarity is needed :)

> Do you know how long this has worked, in apt and dpkg?

No idea about apt, but dpkg's maintainer told me (shortly after having
filed this bug) that dpkg supported it basically since ever; quoting
him:

<guillem> mapreri: the trailing comma syntax *must* be supported,
          otherwise things like «foo, ${substvar}» with an empty
          substvar would break havoc
<guillem> mapreri: well dpkg does not accept it but the perl code does
          and remove it before generating the DEBIAN/control files so
          it's all good
<guillem> mapreri: I'll clarify the deb-src-control man page

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: