On Sun, 2017-04-09 at 04:53:22 +0200, Guillem Jover wrote: > On Wed, 2009-11-11 at 16:37:15 +0100, Stefano Zacchiroli wrote: > > Package: dpkg-dev > > Version: 1.15.4.1 > > Severity: wishlist > > File: /usr/bin/dpkg-gencontrol > > > It would be nice to have support for a Description field in the source > > stanza of debian/control. > > > 1) Various pieces of Debian infrastructure would benefit from > > source package descriptions, a few examples: > > - the PTS (currently lacking entirely per-source-package > > descriptions) > > - packages.d.o for its source pages > > - DDPO (currently implementing a custom heuristic to map per-binary > > descriptions to sources) > > This would need picking a variable or set of variable names as the > supported source description field so that they get exported to the > .dsc, and from there percolate to the Sources files. Using Description > as the obvious name has the problem that, to be able to factorize for > usage in the binary packages, requires accessing the synopsis and body > parts independently, and that means either adding two magic variable > counter-parts or adding support for some kind of operator to split > the contents at substitution time.
Ok, I've just implemented this now. The field will be named Description and there will be a pair of substvars to access its parts, namely source:Synopsis and source:Extended-Description. I've queued the patch for 1.19.x. Thanks, Guillem

