chiark / gitweb /
dgit: Check that entirely-new uploads to Debian are not source-only-uploads.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 Jul 2018 10:08:21 +0000 (11:08 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 5 Jul 2018 12:45:13 +0000 (13:45 +0100)
commit2a7411655b752fddfc8955f2967dbdc504d50451
treeae37ad7b2626af6a080426f3acbfc8eae7f75cde
parent53d416f00482f3e004cb81e51de2ee111fee8d9e
dgit: Check that entirely-new uploads to Debian are not source-only-uploads.

Avoids the user pushing things that will inevitably be REJECTed.

We end up introducing some new config and force options to support
this.

We do not reuse test_source_only_changes, as it doesn't have quite the
right shape (in particular, it sometimes blithers on stdout).  Also
arguably it is better to look, specifically, for .debs, for the
purpose of this test.

This requires a new archive protocol method.  We implement it for
ftpmasterapi (where it is actualliy needed) and dummycatapi (where we
need it for tests.)  Implementing it for madisonish methods would be
easy.  For aptget, it would probably involve iterating over suites,
and not be adviseable.

Closes:#801435.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit
dgit.1