Run git-buildpackage on post-receive

Daniel Dehennin daniel.dehennin at baby-gnu.org
Mon Jun 4 16:31:52 UTC 2012


Daniel Dehennin <daniel.dehennin at baby-gnu.org> writes:

> Hello,
>
> I finally have something working to manage git-buildpackage from tags.
> The debian/changelog is not updated on the branch.

hmm, never said finally, because in fact, I have something only nearly
working ;-)

The problem can be describe by a little diagram:

#+begin_src text

o-o-o <- tag upstream/1.0
     \
      \     o-o-H <- branch bugfix-1 (should became tag debian/1.0-2)
       \   /
        o-A-C-o-D-o-F <- master
           \     \   \
            \     \   G <- should became tag debian/1.1-2
             \     \
              \     E <- tag debian/1.1-1 (after merging new upstream/1.1)
               \
                B <- tag debian/1.0-1

#+end_src

I think[1] that my problem is that I don't know how to express the
exclusion of descendant of a commit:

- from A: I want debian/1.0-1, this mean the latest (in date) tag that
  has an ancestor A or one of its ancestors but not C

- from H: I want debian/1.0-1

- when H became tagged, from A I want debian/1.0-2 (debian/1.0-2 became
  newest that debian/1.0-1 and has A as ancestor, but not C)

- from C: I want debian/1.0-2

- from G: I want debian/1.1-1

Any comments are very welcome.

Thanks.

Footnotes: 
[1]  there must be something conceptual I do not understand, reading
     manpages or forums[2] does not help me :-/

[2]  http://stackoverflow.com/questions/3005392/git-how-can-i-tell-if-one-commit-is-a-descendant-of-another-commit

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20120604/0210bb34/attachment.pgp>


More information about the vcs-pkg-discuss mailing list