On Mon, Dec 03, 2018 at 02:27:05PM +0100, Xavier wrote:
> Le 03/12/2018 à 14:22, Chris Lamb a écrit :
> > Xavier wrote:
> >
> >> # debian/watch
> >> https://main/ main-(\d[\d\.]+)\.tar\.gz
> >> opts="component=comp1" \
> >> https://comp/ comp-(\d[\d\.]+)\.tar\.gz
> >>
> >> In this example, a debian tool like gbp will unpack comp_1.0.orig.tar.gz
> >> into "comp1/" directory
> > ^^^^^
> > And this comes from parsing the `opts="component=comp1"` bit, not from
> > anywhere else?
>
> ~Yes, for gdb DD must either add some "--component" in command-line *or*
> set it in gbp.conf:
>
> [DEFAULT]
> component = [ 'bson', 'mongodb-core', 'requireoptional' ]
>
> So only debian/watch is reliable. There are no other files that rely on
> this except debian/rules but in many ways...
You are missing that this feature comes from dpkg-source, so the list of
components can be naturally gathered from the .dsc.
--
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