chiark / gitweb /
Matthew Vernon [Fri, 19 Jul 2019 09:13:24 +0000 (10:13 +0100)]
dgit: move suite name check to after suite rmap
The Ubuntu Cloud Archive has Codenames of the form
bionic-updates/train (the / in which suitere doesn't match); this can
be corrected by suite rmap, so apply that before doing the suitere
sanity check.
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
Acked-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Fri, 19 Jul 2019 21:20:29 +0000 (22:20 +0100)]
test suite: tag-to-upload tests: Tolerate a changed git message
git changed
Couldn't find remote ref
to
couldn't find remote ref
and this broke our test case.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Closes: #932475
Ian Jackson [Fri, 19 Jul 2019 21:19:31 +0000 (22:19 +0100)]
test suite: tag-to-upload tests: Make message checks regexps
No functional change yet. All the existing message strings are
already equivalently valid when interpreted by egrep.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Fri, 19 Jul 2019 21:15:02 +0000 (22:15 +0100)]
test suite: tag-to-upload tests: Set LC_MESSAGES in with-mangled
t-expect-fail would do this but we aren't using it here, so we need to
do it explicitly.
This will avoid the tests failing in some locales.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 18 Jul 2019 02:13:42 +0000 (03:13 +0100)]
changelog: start 9.4
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 18 Jul 2019 02:10:31 +0000 (03:10 +0100)]
changelog: finalis 9.3
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 18 Jul 2019 02:10:07 +0000 (03:10 +0100)]
changelog: Document changes for tagupl-gbp
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 23:52:56 +0000 (00:52 +0100)]
test suite: tagupl-gbp: New test
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 23:48:06 +0000 (00:48 +0100)]
test suite: t-debpolicy: mkdir -p the git repo
This makes t-debpolicy compatible with (eg) setup imports that already
made a $tmp/git.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 23:47:31 +0000 (00:47 +0100)]
test suite: splitbrain: "bad b/p" prints more info
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 23:35:12 +0000 (00:35 +0100)]
test suite: setup/gbp: Make the result the master branch
This means we can drop --git-ignore-branch from gbp-orig.
No overall functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 23:24:59 +0000 (00:24 +0100)]
test suite: break out tests/setup/gbp
This creates a fairly usual set of gbp style git branches/tags.
No overall functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 23:14:32 +0000 (00:14 +0100)]
test suite: t-gbp-example-prep: Drop t-tstunt-parsechangelog
And hoist it into all callers. In fact there is only one caller that
doesn't have it already.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 22:39:26 +0000 (23:39 +0100)]
changelog: Document dgit(1) archive-query doc
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Matthew Vernon [Wed, 17 Jul 2019 16:19:48 +0000 (17:19 +0100)]
dgit(1) document the presence of the aptget archive-query method
This is already used for debian-security, and might be useful for
other archives that like madison or similar (e.g. the Ubuntu Cloud
Archive).
Closes: #932321
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
Sean Whitton [Wed, 17 Jul 2019 13:31:39 +0000 (14:31 +0100)]
git-debpush: refactor to avoid more than one push command
No functional change.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Wed, 17 Jul 2019 13:39:27 +0000 (14:39 +0100)]
changelog: update for tag-to-upload server-side fixes
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Sean Whitton [Wed, 17 Jul 2019 08:41:46 +0000 (09:41 +0100)]
changelog: update for git-debpush improvements
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Wed, 17 Jul 2019 08:31:41 +0000 (09:31 +0100)]
git-debpush: check that upstream tag is ancestor of $branch
Closes: #932096
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Wed, 17 Jul 2019 08:23:48 +0000 (09:23 +0100)]
git-debpush: gather some information earlier
For use by sanity checks.
Pure code motion.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Wed, 17 Jul 2019 07:55:50 +0000 (08:55 +0100)]
git-debpush: cope with spaces in user-supplied upstream tag
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Wed, 17 Jul 2019 07:51:27 +0000 (08:51 +0100)]
git-debpush: check for target suite change since last upload
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Wed, 17 Jul 2019 07:42:43 +0000 (08:42 +0100)]
git-debpush: check for pushing the dgit view to the maintainer view
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Wed, 17 Jul 2019 07:20:13 +0000 (08:20 +0100)]
git-debpush: factor out find_last_tag()
Also determine the last debian/ tag earlier, for use by sanity checks.
No functional change.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Wed, 17 Jul 2019 07:01:00 +0000 (08:01 +0100)]
git-debpush: introduce and call fail_check
Without this, passing --force to override an earlier sanity check
might cause the user to miss the output of a later sanity check, which
would never get run.
We don't want to have multiple forcing options to override different
sanity checks, as that is too much complexity for a script like this.
So always run all checks, and error out afterwards if at least one of
them failed.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Wed, 17 Jul 2019 01:12:03 +0000 (02:12 +0100)]
test suite: tagupl-baredebian: New test
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 01:12:16 +0000 (02:12 +0100)]
test suite: baredebian: Break up baredebian-test-core
For a baredebian tag-to-upload test, we're going to want to replace
the push.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 12:28:06 +0000 (13:28 +0100)]
Dgit.pm: printcmd: Print in one go
Sometimes this message is used to report failure of `git fetch' etc.
But when such operations fail, they may interleave output from the
remote git, which typically prints
fatal: The remote end hung up unexpectedly
(referring to the local end as the `remote' end, from its point
of view), after the the local end printed its message and failed.
This sets up a race between Dgit.pm's printcmd and the message from
the remote. If we're really unlucky, the remote's message interrupts
the output from printcmd.
We can avoid the within-line interleaving - at least, the interruption
of our message - by printing the whole message in one go, so do that.
(Strictly, the approach we use here only ensures that the message
appears in a single write(2) call if it fits in the stdio buffer.)
One of our test cases (tagupl) depends on this message not being split
and has a small chance of failing without this fix.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 01:04:12 +0000 (02:04 +0100)]
test suite: baredebian: Move the quilt fixup forward
We are going to split this function up so that our caller can do the
push via tag-to-upload.
No overall functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 02:22:50 +0000 (03:22 +0100)]
tag2upload: baredebian: Pass dgit refs/tags/, not the commit hash
This will enable git to report the upstream tag in its messages.
The tag name is safe to pass here since dgit only uses its referent,
unless it is nice enough to print.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 02:16:29 +0000 (03:16 +0100)]
Dgit.pm: resolve_upstream_version: Report tag, where sensible
This affect what is show in commit messages (including the parseable
parts) made by dgit and git-debrebase. Now they prefer to refer to
the tag name if the caller specified refs/tags/ and the tag name is
a nice one.
This is not expected to make much difference for human callers (who
will probably not explicitly qualify their tag refs). But it will
make a difference for scripts.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 01:47:22 +0000 (02:47 +0100)]
tag2upload: Actually recognise and honour --quilt in tag
Non-default quilt modes were completely broken before.
We only didn't notice because the existing tests worked with the
default.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 01:46:58 +0000 (02:46 +0100)]
dgit-repos-server: parsetag: Print a bit more debug about junk
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 01:03:55 +0000 (02:03 +0100)]
dgit-repos-server: Don't crash on --quilt=baredebian
The die needs to be qualified. This little bit of fcode has never
worked.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 02:18:31 +0000 (03:18 +0100)]
Dgit.pm: reflog_cache_insert: Use ensurepath for the reflog
Otherwise quilt fixup can fail in a too-fresh git tree.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 02:14:34 +0000 (03:14 +0100)]
Dgit.pm: Provide `ensurepath'
Like `ensuredir' but also a bit like a more controlled `mkdir -p'.
We use make_path from File::Path. It dies on failure.
No caller yet.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Wed, 17 Jul 2019 01:11:31 +0000 (02:11 +0100)]
test suite: tagupl-*: Move t-pushed-good out of t-tagupl-test
We are going to want to do this separately in some cases.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Tue, 9 Jul 2019 21:02:37 +0000 (22:02 +0100)]
changelog: Start 9.3
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Tue, 9 Jul 2019 21:01:32 +0000 (22:01 +0100)]
changelog: Finalise 9.2 (no source changes)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 7 Jul 2019 13:30:45 +0000 (14:30 +0100)]
changelog: start 9.2
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 7 Jul 2019 13:28:45 +0000 (14:28 +0100)]
changelog: finalise 9.1
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 7 Jul 2019 13:27:09 +0000 (14:27 +0100)]
changelog: Minor adjustment to git-debpush discussion
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 7 Jul 2019 13:23:19 +0000 (14:23 +0100)]
changelog: Add a couple of missing entries
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 7 Jul 2019 13:12:29 +0000 (14:12 +0100)]
dgit-repos-server: Remove comment saying it's a prototype
We have done everything to make it safe to use. Obviously it still
needs some web service queue thing around it to invoke it.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Sean Whitton [Sun, 7 Jul 2019 08:54:37 +0000 (09:54 +0100)]
git-debpush(1): Tweak AUTHOR section
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Sun, 7 Jul 2019 06:14:35 +0000 (07:14 +0100)]
git-debpush: Don't pretend to support --baredebian+tarball
Instead of just deleting the option from the argument parser, accept
it, but print a message explicitly stating that the *quilt mode* is
not supported by this workflow (i.e. it's not just git-debpush passing
the quilt mode on to tag2upload that we don't support).
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Sun, 7 Jul 2019 06:09:42 +0000 (07:09 +0100)]
changelog: Update
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Sean Whitton [Sun, 7 Jul 2019 06:09:08 +0000 (07:09 +0100)]
git-debpush(1): Fix POD formatting
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Sun, 7 Jul 2019 10:08:01 +0000 (11:08 +0100)]
test suite: unset CDPATH
This can cause tests to pass which should fail (!)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 23:13:50 +0000 (00:13 +0100)]
test suite: tagupl: Test git-debpush --upstream=
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 23:09:14 +0000 (00:09 +0100)]
git-debpush: Defend against git-deborig #931509
Without this, when git-deborig fails and #931509 isn't fixed,
git-debpush will silently exit with a nonzero exit status which is
very unfriendly.
With this change it does something like this:
git-debpush: git-deborig failed; maybe try git-debpush --upstream=TAG
fatal: Invalid object name 'refs/tags/couldn't find any of the following tags'.
It then exits status 127. This is obviously daft, but making this
any better is even more complex.
When git-deborig is fixed it will do this:
couldn't find any of the following tags: 1.0, v1.0, upstream/1.0
tell me a tag or branch head to make an orig.tar from: git deborig --just-print '--version=1.0-1' COMMITTISH
git-debpush: git-deborig failed; maybe try git-debpush --upstream=TAG
which is still not brilliant but I guess it will do.
The downside, if it is one, is that we lose git-deborig's original
exit status.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Acked-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Sat, 6 Jul 2019 22:55:58 +0000 (23:55 +0100)]
test suite: tagupl: Drop an unused variable
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:54:54 +0000 (23:54 +0100)]
git-debpush: Support --upstream=TAG (and document it)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:51:13 +0000 (23:51 +0100)]
git-debpush: Defend against unexpected git-deborig output
If git-deborig prints something other than a tag name, for example an
error message (see #931509), this approach will bomb out, roughly
appropriately.
This will also become useful when we make upstream_tag overrideable.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Acked-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Sat, 6 Jul 2019 22:32:22 +0000 (23:32 +0100)]
git-debpush: Change comment heading
IMO "Principles of Operation" would be a comprehensive reference
detailing the model and functionality. I think "Design Principles"
is the conventional name for semi-self-imposed choices/constraints.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Acked-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Sat, 6 Jul 2019 22:28:34 +0000 (23:28 +0100)]
test suite: t-tagupl-test: Check that salsa master was pushed
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:25:29 +0000 (23:25 +0100)]
test suite: tagupl-native: Drop obsolete todo comment
We do now test all these, in tests/tests/tagupl.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:24:19 +0000 (23:24 +0100)]
test suite: t-tagupl-test: Use "salsa" as the source
This checks that push pushed the tag(s) there.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:23:46 +0000 (23:23 +0100)]
test suite: t-tagupl-run-drs: New source parameter
Change all callers.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:23:19 +0000 (23:23 +0100)]
test suite: tagupl*: Drop use of --no-push
Now we do actually push.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:21:50 +0000 (23:21 +0100)]
test suite: t-tagupl-setting: Provide a "salsa" remote
This will give git-debpush somewhere to push to.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 22:12:44 +0000 (23:12 +0100)]
test suite: tagupl*: Run t-tagupl-settings in $p
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 20:49:41 +0000 (21:49 +0100)]
git-debpush: Fixes to help with pushing native packages
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Sean Whitton [Sat, 6 Jul 2019 20:32:39 +0000 (21:32 +0100)]
changelog: Entry for new "git-push-to-upload" workflow tools
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Sat, 6 Jul 2019 18:51:42 +0000 (19:51 +0100)]
dgit-repos-server: tag2upload: Clarify key situation comments
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 18:49:52 +0000 (19:49 +0100)]
test suite: tagupl: Check Source mismatch
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 18:45:18 +0000 (19:45 +0100)]
test suite: tagupl: Test changelog version
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 18:45:04 +0000 (19:45 +0100)]
dgit-repos-server: tag2upload: Check changelog info
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 18:44:53 +0000 (19:44 +0100)]
test suite: tagupl: Update version when needed
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 18:26:12 +0000 (19:26 +0100)]
test suite: tagupl: Test lack of signature
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 7 Jul 2019 08:52:42 +0000 (09:52 +0100)]
test suite: tagupl: Test signature verification fail.
This test case is broken because it doesn't call t-tagupl-run-drs
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:57:25 +0000 (18:57 +0100)]
test suite: tagupl: raw-mangled: Use 1.0-2 tagname in raw-mangled
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:55:43 +0000 (18:55 +0100)]
test suite: tagupl: raw-mangled: Fix mangled tagger test
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:43:22 +0000 (18:43 +0100)]
test suite: tagupl: raw-mangled: Break out
No functional change.
This test case is broken because it doesn't call t-tagupl-run-drs
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:37:21 +0000 (18:37 +0100)]
test suite: tagupl: A few more error case tests
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:37:03 +0000 (18:37 +0100)]
dgit-repos-server: tag2upload: Better message from upstream mismatch
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:36:51 +0000 (18:36 +0100)]
dgit-repos-server: tag2upload: Check the upstream tag syntax only once
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:36:28 +0000 (18:36 +0100)]
dgit-repos-server: tag2upload: Verify the tag slightly earlier
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:25:06 +0000 (18:25 +0100)]
test suite: tagupl: A few more error case tests
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:23:24 +0000 (18:23 +0100)]
dgit-repos-server: tag2upload: Improve a message
Could be multiple distro=, in which case any matching is OK.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:23:02 +0000 (18:23 +0100)]
dgit-repos-server: tag2upload: Drop an obsolete comment
The usage comment says this script should be retried.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:14:10 +0000 (18:14 +0100)]
test suite: tagupl: Test an email: version mismatch
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:13:45 +0000 (18:13 +0100)]
dgit-repos-server: tag2upload: Improve a reject message
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:13:26 +0000 (18:13 +0100)]
dgit-repos-server: tag2upload: log when we fail and email
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:07:36 +0000 (18:07 +0100)]
test suite: tagupl: Use a different strategy to avoid fsck fail
This leaves us with a $p directory which is often convenient
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:04:33 +0000 (18:04 +0100)]
test suite: tagupl: Test a really broken tag
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 17:04:05 +0000 (18:04 +0100)]
test suite: tagupl: Break out and soup up log moving
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 16:44:40 +0000 (17:44 +0100)]
test suite: tagupl: Test some wrong tag names
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 16:44:25 +0000 (17:44 +0100)]
test suite: tagupl: Break out next-mangle
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 16:33:29 +0000 (17:33 +0100)]
test suite: tagupl: test one bad tag
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 16:33:14 +0000 (17:33 +0100)]
test suite: tagupl-*: Break out t-tagupl-run-drs
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 16:32:39 +0000 (17:32 +0100)]
dgit-repos-server: tag2upload: Drop a debug $_ from quit message
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 16:31:56 +0000 (17:31 +0100)]
dgit-repos-server: tag2upload: Use a bpd and clean up origs
This prevents us keeping forever the junk from uploads, and it
prevents us reusing it too.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 15:44:49 +0000 (16:44 +0100)]
test suite: tagupl-native: New test
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 15:44:27 +0000 (16:44 +0100)]
dgit-repos-server: tag2upload: Cope with native packages
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Sean Whitton [Sat, 6 Jul 2019 15:50:22 +0000 (16:50 +0100)]
git-debpush: Numerous improvements
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Ian Jackson [Sat, 6 Jul 2019 15:35:31 +0000 (16:35 +0100)]
git-debpush: Tolerate not specifying a quilt mode if not needed
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 15:35:16 +0000 (16:35 +0100)]
test suite: Break out t-tagupl-*
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 15:12:29 +0000 (16:12 +0100)]
test suite: tagupl: Drop a now-irrelevant chunk of commented code
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 6 Jul 2019 13:29:46 +0000 (14:29 +0100)]
test suite: tagupl: Use git-debpush
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>