Hi Otto,
On Fri, Dec 29, 2017 at 02:06:00PM +0200, Otto Kekäläinen wrote:
> Hello!
>
> 2017-12-29 13:33 GMT+02:00 Guido Günther <[email protected]>:
> >> So "git-buildpackage --import-orig" and "gbp import-orig" are not
> >> supposed to do the same thing?
> >
> > There's no such thing. There's only
>
> Actually the old command was git-import-orig
>
> ..
> > I'd recommend to put into debian/gbp.conf the actual branch. So if you
> > maintain stretch on the debian/stretch branch:
> >
> > [DEFAULT]
> > debian-branch=debian/stretch
>
> We started using the ignore-branch in 2015 to get Github pull request
> auto-tests work correctly as builds failed when feature/bugfix branch
> name didn't match 'master' or anything hard coded in gbp.conf.
Note that "gbp buildpackage --git-ignore-branch" or the gbp.conf
equivalent
[DEFAULT]
ignore-branch = True
or more concise x
[buildpackage]
ignore-branch = True
works and is supported:
https://github.com/agx/git-buildpackage/blob/master/tests/component/deb/test_buildpackage.py#L277
(it's just that "gbp import-orig --ignore-branch" never existed)
So automatic testing of PRs on github should still work. Let me know if
it doesn't.
>
> ...
> > [DEFAULT]
> > debian-branch=auto
> >
> > is planned (see #829445) but there's lots of details to get right so it
> > didn't happen yet. If you have futher comments on how branches should be
> > picked up please comment on 829445.
>
> That one sounds good.
>
> This bug report can be closed as invalid.
Will do. Thanks
-- Guido