[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 Mon, 4 Sep 2017 10:03:47 +0200 Mattia Rizzolo <mattia@debian.org> wrote:
> Package: debian-policy
> Version: 3.9.8
> 
> I use the `wrap-and-sort` tool to keep my list of dependencies neatly
> sorted and wrapped.  In particular, I use the `-t` flag to have a
> trailing comma at the end of the list.  For example
> 
> Build-Depends:
>  foo,
>  bar,
> Homepage: …
> 
> There, notice how there is a comma after "bar", the last item of the
> list.
> 
> I've heard several people in several forums assert that such syntax is
> totally undocumented, despite being accepted by all tools I know of.

I didn't even know this syntax was allowed, and now that I do I'd love
to use it.

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


Reply to: