#759164 git-buildpackage: search for lightweight upstream tags in git-dch

#759164#5
Date:
2014-08-24 23:15:38 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
      I am using gbp with an upstream branch that is pulled from git repository
      (there are no release tarballs). Upstream tags are not annotated,
      but git-dch searches only for annotated tags which are normally
      signed when git-import-orig is run.

   * What was the outcome of this action?

      git-dch added a version with "21.6-2" suffix, but
      I would expect it to add "21.7-1", because there is "upstream/21.7"
     tag (which is not annotated, though).

   * What outcome did you expect instead?

     I expected git-dch to look at lightweight tags as well.

I attach a trivial patch that does exactly that.

Cheers,
Tomasz

#759164#10
Date:
2014-08-25 18:16:38 UTC
From:
To:
Hi,

Thanks for the patch but this should be configurable since lightweight
tags are pretty uncommon for releases (for good reasons).
Cheers,
 -- Guido