Jo Shields <direct...@apebox.org> wrote:

> I want the version number to increment with our suffix, following the
> behaviour of `dch -l foo`, i.e.:
> 
> the top changelog entry is for packagename 1.0-0foo1
> 
> I run `gbp dch --some-combination-of-flags`
> 
> I now have a changelog entry for packagename 1.0-0foo2
> 
> I don't want -0foo1ubun1u, I don't want -1, I don't want
> 0foo1ubuntu1~1.gbpec359a, I don't want to hand-craft an incremented
> version number to pass to -N. I just want -0foo2. As I get from
> `dch -l foo`
> 
> Right now it's looking like the lowest effort (!) option is some
> shell scripting to tie together `dch`'s correct version number
> handling, and `gbp dch`'s changelog entries.

At apertis.org we rely on a local suffix to distinguish the deb sources
we rebuild from git from the actual Debian sources.

At the moment we do that with some `debchanges` calls and some manual
(ugh!) editing from time to time.

It would be nice to streamline that, so here's a patch to expose the
`--local` option:

https://github.com/agx/git-buildpackage/pull/76

Thank you!

Reply via email to