On 13/03/17 17:50, Guido Günther wrote:
> There is -S (bump version) and -R (drop snapshot suffix) and -N (set
> version). For everything else you can still invoke dch directly so I I
> fail to see what _exactly_ you're looking for. gbp-dch doesn't aim to be
> a full dch replacement but a tool to generate changelogs from git
> commits. If you don't like the way the extra version is calculated we
> could make the more configurable than it currently is.


I'm trying to generate useful changelogs for packages on a public repo.

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.

Reply via email to