diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-31 18:41:02 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-09-05 13:41:48 +0100 |
commit | 045ec681a42fd823280cdec86a177309ddd741f0 (patch) | |
tree | 19f322b5ee46181e5d73119a4f21ca15c2217382 /tests/tests/quilt-gbp | |
parent | 3e228ac23b8b7351a7de2957de1f42fb894bb1f5 (diff) |
Split tags: Genrate maintainer-view tag too
push_tagwants gets a new argument, $maintviewhead, which is defined
iff the quilt mode means we want split tags. It then specifies the
generation of both tags.
push_mktags gains the ability to make the new `maint' view tag (and
checks that the view is not something else unexpected).
Introduce a function debiantag_maintview for calculating the
maintainer's idea of the tag. Currently we use DEP-14 encoding (and
this function is a clone-and-hack of Dgit.pm::debiantag_old, but
perhaps we should do something more complicated (depending on the
quilt mode).
For now we do not push the maint view tag anywhere. The ability to do
that, where appropriate, will come in a moment.
This commit introduces protocol version 4, which includes the new
`maint-view' param. When have a split brain quilt mode, we need to be
sure that we're using protocol version 4 or out peer may not honour
this, resulting in an annoying failure later (the responder sending a
different number of tags to the number expected).
We also have to check that we're using the new tag format (or we might
want to try to generate two different tags with the same name, which
is madness).
When the quilt mode is not a split brain one, this whole commit should
produce no overall functional change (even though a higher protocol
version may be negotiated).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/quilt-gbp')
0 files changed, 0 insertions, 0 deletions