summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* test suite: defdistro-mirror: Add missing dependencyIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: defdistro-rpush: Remove workaround for missing isuite paramIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: rpush: Use $isuite for $isuite, not $csuiteIan Jackson2017-01-09
| | | | | | | | | | Send isuite as a parameter, and use it if it's provided, instead of csuite. This means config lookups like dgit-distro.SUITE.distro only need the user-provided suite name (eg `unstable'), and don't need to be duplicated for the canonical name (eg `sid'). Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Test that default distro worksIan Jackson2017-01-09
| | | | | | Ie check that dgit-distro.SUITE.distro works Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Provide t-defdistro (for use with t-alt-test)Ian Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: $isuite handling: Defer calls to access_* until first `want'Ian Jackson2017-01-09
| | | | | | | | | | | pushing, rpush_handle_protovsn_bothends, and quiltmode, all depend on access_*. For that we need $isuite, but we only get that (in the form of $csuite) from the build host. We can move all of these calls into i_resp_want, which is called the first time the build host actually wants something from us. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: $isuite fixes: defer pushing and rpush_handle_protovsn_bothends in rpushIan Jackson2017-01-09
| | | | | | | | | | | | | We mustn't call pushing until we have parsed the arguments enough to find $isuite. So remove the call to pushing from cmd_remote_push_build_host. Now we rely on cmd_push's call to pushing, which it does after the argument parsing. We then need to move rpush_handle_protovsn_bothends (which implicitly calls accesss_*) too, until we have got $isuite and called pushing(). We can move that into dopush. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: rpush: suppress changelog tag format checkIan Jackson2017-01-09
| | | | | | | | | | | The changelog might be received (and therefore parsed) before we have been told the suite. So we can't check the tag format because we cannot know the distro yet. Simply suppress this early check. If the tag format is wrong, we will discover this later. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Option parsing: Move pushing call in pushIan Jackson2017-01-09
| | | | | | Otherwise $isuite might not be set when we call access_something. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: rpush: Provide $we_are_initiatorIan Jackson2017-01-09
| | | | | | No functional change yet. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: Tidy a bitIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: Mention #850519 re docs updatesIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: Document dgit(1) changes.Ian Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): Fix --force-import-dsc-with-dgit-fieldIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): Clarify --no-chase-dsc-distroIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): --overwrite: say in title that it's optionalIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): Remove stray sentence.Ian Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): Remove comment about retriesIan Jackson2017-01-09
| | | | | | Error messages now tell the user the situation. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): Mention need for dgit sbuild -AIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(7): Move autotools deletion para upIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(7): Updated `trouble' section to suggest deletionIan Jackson2017-01-09
| | | | | | | Suggest having dpkg-source delete the autotools output (with a patch if necessary). Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: When generating orig+debian/patches view, copy debian/ from HEAD.Ian Jackson2017-01-09
| | | | | | This makes less noise in diffs. Closes:#850095. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* fetch and pull ignore the changelog suite when it is UNRELEASED.Ian Jackson2017-01-09
| | | | | | Closes:#848646. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Honour dgit-distro.*.default-suite and dgit.default.default-suite.Ian Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit-maint-merge(7): Use debian/source/patch-headerSean Whitton2017-01-09
| | | | | | | Closes:849120 Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Provide `dgit print-dgit-repos-server-source-url'.Ian Jackson2017-01-09
| | | | | | Re:#850521. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: clone-dgit-repos-server: Set $access_forpushIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit-sponsorship(7): Use --no-dep14tagSean Whitton2017-01-09
| | | | | | | | | | | While this complicates the sponsor's workflow a little, it simplifies the sponsee's workflow: they don't have to decide whether to delete DEP-14 tags that other guides have told them to create. Closes:#849105. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(7): Document new Dgit syntaxIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): Document new config optionsIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* git fetching: git_lrfetch_sane: Tidy up old suite-based refsIan Jackson2017-01-09
| | | | | | | | | We should look for these and delete them, when we have the chance, because otherwise nothing ever would. For now we just use $csuite if we have it, and otherwise do nothing. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: Document import Dgit field parsing fixIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: Document nominal distro syntax restrictionIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* changelog: Document lrfetchrefs changeIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: t-tstunt: When looking for real thing, strip stunt from PATHIan Jackson2017-01-09
| | | | | | | Otherwise if we run this again in a fresh environment, the wrapper may be on PATH even though DGIT_TEST_REAL_<FOO> is not set. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: downstream-gitless: Add missing dependency on repreproIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: gnupg: Do not reset DGIT_TEST_REAL_GPG_AGENTIan Jackson2017-01-09
| | | | | | | Otherwise it might end up pointing to the wrapper, if we run the setup twice for some reason (for example, in an adt run). Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Test --no-chase-dsc-distroIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Mark the start of t-okIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit(1): Document --[no]-chase-dsc-distroIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: protocol-compat: Even more solid checksIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: protocol-compat: Soup it up a lotIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Dgit parsing: tolerate newlines etc. not just one spaceIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: protocol-compat: Do not tolerate debian lookupsIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit: Dgit parsing: honour dgit.default.old-dsc-distroIan Jackson2017-01-09
|
* test suite: protocol-compat: New test (wip)Ian Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Support varying debian aliasIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: downstream-gitless: Run t-okIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* test suite: Fail tests if we look up any debian configIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dsc import: Do not look anything up in default distroIan Jackson2017-01-09
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>