Idea: sbuild/pbuilder "--dgit" option

Mattia Rizzolo mattia at debian.org
Sat Dec 31 13:14:39 UTC 2016


On Sat, Dec 31, 2016 at 12:57:01AM +0000, Ian Jackson wrote:
> Sorry, I have obviously not been clear.  I was suggesting a documented
> option to pbuilder which asks pbuilder to produce dgit-compatible
> source packages.

Oh, indeed I didn't understand that much.
Well, that requires some more thoughts to me, as I'm not sold that a
used need such shortcut.
Besides, another way would be to just not build the source; there is no
need for it, as
1) the source is already built out of the chroot
2) dgit is already able to merge .changes by itself if needed
so you could just call it with '--debbuildopts -b' (wondering whether
_this_ needs a shortcut) to only build the binaries, and you have no
issues whatsoever concerning the source.  I bet this would be a good
solution for sbuild too.

> Now, as you say, pbuilder invokes debuild.  Maybe I should be asking
> for a --dgit option to debuild.  Should I CC the debuild (devscripts)
> maintainers too I wonder...

No, pbuilder doesn't use debuild (and why would it…), it calls
`dpkg-buildpackage`.  I know the name of the option '--debbuildopts' is
a tad misleading, but such is life and I can't really change it now...

> What I was suggesting was that users should, as an alternative, be
> able to do the build themselves rather than via dgit, and still get
> the .gitignore included.

Is such a method (being able to call directly the builder without going
through the dgit "wrapper") already supported by the other supported
"backends" of dgit?

-- 
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  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20161231/a82dd008/attachment.sig>


More information about the vcs-pkg-discuss mailing list