Control: retitle -1 dgit: Built-in support for pbuilder

On Sat, Nov 12, 2016 at 11:51:06AM -0700, Sean Whitton wrote:
> Users of pbuilder who also use gbp can run `dgit gbp-build
> --git-pbuilder`, and everything is ready for a dgit push.  However,
> pbuilder users who don't use gbp have a harder time.

Thank you Sean for filing these bugs! :*

> They have to do
> something like this:
> 
>     % dgit -wg build-source
>     % cd ..
>     % pdebuild b foo_1.2.3.dsc

This would have been `pbuilder`, not `pdebuild` (pdebuild is to
automatically build out of an unpacked source tree, it builds the .dsc
and pass it to pbuilder).

Also, you could use a path instead of cd'ing into the directory of
course, just my hands change directory :)

> One problem with this is that it bypasses dgit's automatic handling of
> -v and -sa, which have to be passed to pdebuild manually.

To me, it appears the -sa thing is done at push time, as it worked for
me:

% dgit -C ~/pbuilder/result/sid/amd64/ocrmypdf_4.3.2-2_amd64.changes push
[...]
edited .changes for archive .orig contents: added ocrmypdf_4.3.2.orig.tar.xz
[...]
dgit ok: pushed and uploaded 4.3.2-2


Just the -v it isn't, I had to pass manually to pbuilder (and fail at
that as I can never remember what I'm supposed to pass to -v...)

> It would be great to have a `dgit pbuild` which handled all this, just
> like `dgit sbuild`.  It might be best for `dgit pbuild` to use
> mergechanges(1) too.


With my pbuilder maintainer hat on, I'm happy to provide all the help
you need, included (if you see the need) changes on pbuilder's side :)



DISCLAIMER: I'm not (yet) a dgit user, but always be a fun of the
concept, and it reached a point where I don't need to throw away my
workflow, and I'm happy of the experience I had while sponsoring Sean's
package.  I'll probably start to use it more soon ^^

-- 
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 via email to