chiark / gitweb /
changelog: Document changes since 9.7
[dgit.git] / debian / changelog
1 dgit (9.8~) unstable; urgency=medium
2
3   dgit, important bugfixes for bugs introduced in 9.6:
4   * Once again cope with archive skew.  Closes:#935874.
5     [Initial report from Colin Watson]
6   * Follow http[s] redirects again.  Closes:#939564.
7
8   dgit, useful new behaviours and fixes:
9   * Use distro-info-data to resolve unknown suites.  Closes:#931212.
10     [Suggestion from Simon McVittie]
11   * Try to warn about misplacement of dgit options.  Closes:#934807.
12     [Useability report from Félix Sipma]
13   * Fail early when the archive/ tag already exists, ie when version
14     needs to be not reused.  Closes:#935802.
15     [Useability report from IOhannes m zmölnig]
16   * Do not mistakely reject .asc and .sig files with push-source -C.
17     Closes:#939280.  [Report from Simon McVittie]
18
19   docs:
20   * dgit-maint-{merge,debrebase}(7): Suggest git fetch --all --tags
21     as it handles tags better.  [Sean Whitton]  Closes:#939504.
22   * git-debrebase(5): Tiny typo fix.
23   * dgit(1): Some semantic linefeeds (no change to rendered output)
24
25   Supporting changes:
26   * test suite: New test for http mirror and archive skew
27   * test suite: Test already-tagged check
28   * test suite: Add --force-reusing-version to many tests as now needed
29   * Dgit: Minor refactoring of a regexp.
30
31  --
32
33 dgit (9.7) unstable; urgency=medium
34
35   dgit general bugfixes:
36   * Correctly test for presence of git repo on dgit git server.
37     Fixes behaviour following mixed dgit/non-dgit uploads.  Closes:#934126.
38     (Was badly broken by http fetching rework in dgit 9.6.)
39   * Fix use on NFS, by closing a file which is going to be deleted.
40     [Report and fix from Stéphane Glondu]  Closes:#933827.
41
42   dgit vcs-git bugfixes:
43   * Strip [<path>] (used eg by Debian Haskell Team).  Closes:#932699.
44   * update-vcs-git: Cope if url is unchanged.
45   * update-vcs-git: Strip -b (as it always should have done).
46
47   Test suite:
48   * New facilities for http testing, including mock webservers.
49   * New test cases for http, and for bugs fixed in this version.
50   * Switch to using http git check in three existing tests.
51   * Improve debian/tests/control generator.
52   * Limited refactoring to support other changes.
53
54   Other minor changes:
55   * dgit: Slightly more debugging for check_for_git with http[s]
56   * changelog: Fix a typo in the entry for 9.6.
57   * i18n (messages) updated, following message changes.
58
59  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 11 Aug 2019 01:11:01 +0100
60
61 dgit (9.6) unstable; urgency=medium
62
63   * git-playtree-setup had a spurious set -x so many programs spewed
64     debugging output.  This is now fixed.  Closes:#932959.
65
66   dgit:
67   * Drop support for configuring old, not currently enabled, methods
68     of TLS key/cert pinning.  We are going to revisit this soon.
69   * Provide a --for-push option (useful in for certain special users).
70   * Reduce variety in HTTP clients we use.  Specifically, use WWW::Curl
71     for accessing (i) the ftpmaster API, (ii) the http dgit git server
72     mirror (iii) downloading the .dsc.
73
74   Administrivia:
75   * Add missing Closes of #932476 to changelog entry for 9.5
76
77  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 25 Jul 2019 13:12:08 +0100
78
79 dgit (9.5) unstable; urgency=medium
80
81   git-debpush [Sean Whitton]:
82   * Support ignoring individual checks with --force=check.  Closes:#932459.
83   * Check upstream source is identical in the upstream tag.  Closes:#932476.
84   * Check that patches are (un)applicable.  Closes:#932477.
85   * Check for an unstitched git-debrebase branch.  Closes:#932612.
86   * Check for explicitly pushing detached HEAD.
87
88   dgit clone [Ian Jackson]:
89   * No longer create an "origin" remote.  Closes:#932694.
90
91   Documentation:
92   * dgit-maint-bpo(7): new manpage for maintainers of official Debian
93     backports.  Closes:#857490.  [Sean Whitton]
94   * git-debrebase(1): make this manpage a less intimidating entry point.
95     Closes:#926656.
96     [Sean Whitton & Ian Jackson; prompted by feedback from Sam Hartman]
97
98   Miscellaneous:
99   * Correct the description of --force in git-debpush(1) [Sean Whitton].
100   * git-debrebase(*): fix some crossreferences [Sean Whitton].
101     Closes:#932536.
102   * Break out git-playtree-setup and rewrite in shell. [Ian Jackson]
103   * Fix organisation copyright attribution for Matthew Vernon's
104     contributions.  Closes:#932630.
105   * HACKING: new document for helping people work on the code. [Ian Jackson]
106   * Update Vcs-Git etc. to point to salsa.
107
108  -- Sean Whitton <spwhitton@spwhitton.name>  Mon, 22 Jul 2019 21:38:19 +0100
109
110 dgit (9.4) unstable; urgency=medium
111
112   dgit:
113   * Support the Ubuntu Cloud Archive [Matthew Vernon]. Closes:#932322.
114
115   test suite:
116   * tag-to-upload tests: Tolerate a changed git message.  Closes:#932475.
117
118   administrivia:
119   * debian/copyright: Add some missing credtis
120   * Update copyright notices in many files
121
122  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 20 Jul 2019 16:26:32 +0100
123
124 dgit (9.3) unstable; urgency=medium
125
126   dgit and git-debrebase bugfixes:
127   * No longer crash if .git/logs does not exist when we need it.
128   * Report the upstream tag, rather than commit id, in tags/commits,
129     if the user explicitly specifies refs/tags/...
130
131   tag-to-upload, git-debpush [Sean Whitton]:
132   * Several new checks designed to prevent broken uploads.
133     - Including: Check that upstream tag is ancestor of branch to be tagged.
134       Closes:#932096
135   * Cope with spaces in user-supplied upstream tag.
136
137   tag-to-upload, server side:
138   * Fix non-default quilt modes.  These were all previously broken.
139   * Arrange to report the upstream tag in dgit-generated commits/tags.
140
141   dgit archive query improvements [Matthew Vernon]:
142   * dgit(1): document the presence of the aptget method.  Closes:#932321.
143
144   minor supporting changes:
145   * New tests tagupl-baredebian and tagupl-gbp.
146   * Tiny addition to debugging output and test suite output.
147   * Test suite rearrangements.
148
149  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 18 Jul 2019 03:10:25 +0100
150
151 dgit (9.2) unstable; urgency=medium
152
153   * No change upload to force rebuild on buildd.
154
155  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 09 Jul 2019 22:01:25 +0100
156
157 dgit (9.1) unstable; urgency=medium
158
159   New tools for a "git-push-to-upload" workflow [Ian Jackson & Sean Whitton]:
160   * New script in a new binary package: git-debpush.
161     The new binary package is small, but
162     + git-debpush needs to be in src:dgit, because its test suite is the
163       dgit test suite; however,
164     + git-debpush is functionally and conceptually independent of dgit,
165       so should not go into bin:dgit; in particular
166     + git-debpush's dependencies are quite different to the other
167       binary packages.
168   * New dgit-infrastructure subcommand, tag2upload, to process tags made
169     by git-debpush.
170     Please see git-debpush(1) for a sketch of the workflow.
171
172   dgit:
173   * Allow the -p option to be used with various push modes.
174   * Include dgit tag metadata in maintainer view tags.
175     For consistency with, and use by, git-debpush.
176   * Include quilt metadata in the archive/ (dgit view) tag.
177   * rpush protocol: Version 6, which includes split brain information
178     for maintainer view tags.  And, actually use newer version
179     (was broken in 9.0, which would prefer to select 4 not 5).
180   * Add some missing blank lines to tag messages.
181   * Some other refactoring.
182
183   Other documentation:
184   * dgit(1): fix a reference in the description of --quilt=auto [Sean
185     Whitton].
186
187   Translations:
188   * Do not translate tag subject lines, because these are parsed by
189     dgit-repos-server.
190
191   Test suite:
192   * Test cases for new tools for "git-push-to-upload" workflow.
193   * drs-git-ext: honour DGIT_DRS_MODE.
194   * Provide a stunt sendmail and a stunt dgit.
195   * Unset CDPATH in case caller has it set.
196   * Some other refactoring.
197
198   Administrivia:
199   * Update d/copyright years to include 2019 [Sean Whitton].
200
201  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 07 Jul 2019 14:28:27 +0100
202
203 dgit (9.0) unstable; urgency=medium
204
205   dgit - low-impact incompatible change:
206   * Drop support for, and testing of, dgit versions which use old tag name
207     (debian/V; now that is maintainer view and dgit is archive/debian/V).
208     The new tags came in in dgit 2.0 in October 2016.  No version of dgit
209     without them was in any Debian release.  We don't expect there are any
210     sites using old servers which do not support the new format, or anyone
211     using a dgit client older than 2.x who cannot upgrade.
212
213   git-debrebase fixes [Niko Tyni]:
214   * Fix `git-debrebase convert-from-dgit-view <upstream>', which
215     would crash due to an argument parser bug.  Closes:#930214.
216   * git-debrebase(1): typo fix.  Closes:#930215.
217
218   dgit - new capabilities:
219   * Support split view with native packages, and with all quilt modes.
220     Now we distinguish "split view" (meaning separate dgit branch) from
221     "splitting quilt modes" (eg --quilt-unapplied).
222     [Prompted in part by enquiries from Sam Hartman]  Closes:#926640.
223   * Support for bare debian/ directory (aka packaging-only) git branches
224     Ie, --quilt=baredebian[+tarball].  [Thanks for info from Shengjing
225     Zhu, and docs and UI contributions/review from Sean Whitton.]
226     Closes:#903392.  Closes:#931253.
227
228   dgit - bugfixes:
229   * Fix --dgit-view-save option alias, which never worked.
230     (--save-dgit-view worked, and still does, though.)
231   * i18n: Do not translate import commit messages.
232
233   dgit - other documentation improvements [Sean Whitton]:
234   * Expand on description of --include-dirty.  New text may help
235     user avoid unexpected file deletion.  Closes:#930922.
236   * dgit-maint-*(7): Suggest --name-status --diff-filter.  Closes:#930956.
237   * dgit-maint-*(7): Using untagged upstream commits.  Closes:#930964.
238
239   dgit - minor consequences of these other changes:
240   * Actually properly reject invalid quilt modes found in git config.
241     (Previously they might be accepted and then cause malfunctions.)
242   * Reject split brain quilt modes with single-debian-patch.
243     (Previously this would malfunction; now we reject it.)
244   * i18n: Add translator notes about ASCII art changes display.
245   * Drop "dgit view: changes are required..." message.
246   * Some other minor changes to quilt fixup error handling.
247   * Changes to debugging output related to quilt modes and split view.
248   * Introduce rpush protocol version 5.  Minimum version is now 4.
249   * Considerable internal rearrangement of quilt fixup code.
250   * Considerable test suite work including new tests.
251
252   dgit test suite:
253   * dgit-repos-policy-debian: Test taint removal.  Closes:#929249.
254
255  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 02 Jul 2019 16:55:15 +0100
256
257 dgit (8.6~) UNRELEASED; urgency=medium
258
259   * dgit: rpush: Work in splitting quilt modes, again.  Closes:#931213.
260
261  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 02 Jul 2019 14:36:47 +0100
262
263 dgit (8.5) unstable; urgency=medium
264
265   * Replace `confess $!' with `confess "$!"', to actually print errno
266     when crashing.  Closes:#929549.
267
268  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 27 May 2019 00:20:58 +0100
269
270 dgit (8.4) unstable; urgency=medium
271
272   Bugfixes:
273   * dgit: import-dsc: Handle relative symlinks correctly.
274     Closes:#913259.
275   * dgit: Do not misrecognise some initial packaging as
276     gdr-compatible.  Closes:#922446.  [Report from Sean Whitton]
277   * git-debrebase: convert-*: Fix two broken error messages.
278     Closes:#922462.  [Report from Didier 'OdyX' Raboud]
279
280   Documentation:
281   * [nl] translations updated.  Closes:#921088.  [Frans Spiesschaert]
282   * Many manpage typo fixes.  Closes:#918384.  [Paul Hardy]
283   * dgit(1): Write the leading dash of an option as '\-'.
284     Closes:#921965.  [Bjarni Ingi Gislason]
285
286   Test suite:
287   * dgit: import-dsc: New test for abs/rel dsc component links
288
289   Internal changes:
290   * dgit: cmd_import_dsc: comment on lack of is_orig_file check
291   * git-debrebase: resolve_upstream_version: Return $used too
292
293  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 01 Mar 2019 21:53:40 +0000
294
295 dgit (8.3) unstable; urgency=medium
296
297   dgit - Behavioural changes with compatibility implications:
298   * Pass --no-source-only-changes to pbuilder and cowbuilder
299     Closes:#904862.  This option was only recently added to
300     pbuilder.  For compatibility with old pbuilder, say, eg
301     `dgit --pbuilder!:--no-source-only-changes'.
302   * With --clean=git etc, check the tree is clean even before building
303     source in dgit's private directory.  Specifically, with eg dgit sbuild
304     or dgit build-source.  dgit prior to 6.0 would always clean the tree.
305     dgit 6.0 to 8.1 would ignore untracked files completely, leading to
306     occasional lossage.  The pre-6.0 behaviour can be requested with
307     --clean=git,always etc. (aka -wga, -wgfa).  Closes:#914317.
308
309   dgit - New features, bugfixes and improved behaviours:
310   * Allow uppercase (ascii) letters in multi-orig components,
311     as is allowed by the spec in dpkg-source(1).  Closes:#916926.
312   * Honour --program!:option to suppress options passed by default.
313   * clone: Create destination directory before using network.
314   * Check early that build-products-dir is accessible.  Closes:#913648.
315   * Look for origs in `..' as well as build-products-dir, and
316     there are any, link them into the bpd.  Closes:#904878.
317   * Provide new --git[-ff],always clean mode (as discussed above).
318
319   i18n - new translations [Frans Spiesschaert]:
320   * nl, dgit-user(7).   Closes:#918253.
321   * nl, messages.   Closes:#917148.
322
323   Documentation:
324   * dgit(1): Fix documentation of .quilt-mode config.
325   * dgit(1): Fix a formatting typo (spurious .TP).  Closes:#917194.
326   * dgit-user(7): Fix formatting error in comment about multi-arch.
327   * dgit-maint-debrebase(7): handle DFSG-filtering for a new package.
328     [Sean Whitton]  Closes:#915973.
329
330   Error message improvements:
331   * dgit: When reporting no such package, say `source package'.
332   * dgit: Fix reference to -wdn/-wddn in a message.
333   * dgit: cleaning: Minorly improved handling of note about ignores.
334   * dgit-repos-policy-debian: Remove duplicated text from force
335     report message.  Closes:#913676.
336
337   i18n infrastructure:
338   * po/README: Fix reference to dgit-user_7.pot.
339   * po4a, pairwise-pocheck: Fix recognition of bare `<...>'.
340   * Update po and pot files.
341
342   Internal changes;
343   * dgit: Remove foolish uses of $b, which is very special in perl.
344   * Modest refactoring to support the other changes.
345   * test suite: pretend-pbuilder: Reject unknown options.
346   * Test suite: examplegit setup: Do not leave the tree dirty.
347
348  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 07 Jan 2019 00:14:05 +0000
349
350 dgit (8.1) unstable; urgency=medium
351
352   git-debrebase;
353   * convert-from-unapplied: Provide aa an alias for convert-from-gbp
354     and document its scope properly, etc.  Closes:#905433.
355   * dgit-maint-debrebase(7): discuss -fdiverged with convert-from-*,
356     and (prompted) dgit --overwrite.  Closes:#903377.  [Sean Whitton]
357
358   i18n support:
359   * Check pod translations for a common class of syntax error.
360     (using new machinery for pairwise checking of pod translations.)
361   * po4a: Add -LUTF-8 to the config.
362   * po4a/.gitignore: actually ignore right .po4a.LANG.cfg.
363
364   test suite:
365   * Run everything with LC_CTYPE=C.UTF-8.
366   * manpages-format: pass --warnings.
367   * NOTES.podchecker: Document why we're not using podchecker.
368
369  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 08 Nov 2018 02:09:05 +0000
370
371 dgit (8.0) unstable; urgency=medium
372
373   dgit - Behavioural change with compatibility implications:
374   * Check (with --clean=dpkg-source[-d], ie, by default) that rules
375     clean does not leave untracked files (ie, trip if it looks like
376     a `git add' may have been forgotten).  dgit will now fail in
377     some situations where previously it would have just carried on.
378   * Honour new clean modes --dpkg-source[-d],no-check aka -wdn / -wddn
379     which suppress this check.  (Whether the untracked files are
380     used or disregarded depends on --include-dirty.)
381   * Honour new .clean-mode-newer access config option, to allow git
382     configs to be compatible with both new and old dgits.
383     See relevant parts of dgit(1) for more information.
384
385   dgit - Improved behaviours:
386   * Better handling of cross-filesystem operations, including
387     build-products-dir on a different fs.  Closes:#910730.
388   * Change to git toplevel dir before starting.  Closes:#910724.
389   * Provide --clean=check,ignores aka -wci.
390   * Provide --clean=dpkg-source[-d],all-check aka -wda / -wdda.
391
392   dgit - Important bugfixes:
393   * Check that tree does not contain untracked files (depending on clean
394     mode) when building source using git branch rather than using working
395     tree.  In particular, honour --clean=check.  Closes:#910705.
396   * Also apply that new cleanliness check during build-source or
397     push-source etc. with --clean=dpkg-source; even though rules
398     clean was not run.  See above.  Again, -wdn / -wddn may be needed.
399   * dgit: Forbid source building with --include-dirty and non-.. bpd,
400     which can seriously malfunction.  Closes:#910725; see #910740.
401
402   dgit - Additional sanity checks:
403   * quilt linearisation: Stop at debian/source/format changes.
404   * quilt fixup: Cope if gdr analysis finds origin.  Closes:#910687.
405   * Add missing error check in single-debian-patch handling.
406   * Refuse to work if critical files have uncommitted changes.
407   * Reject all git config options containing newlines.
408   * Better error message for not in git tree.  (For git-debrebase too.)
409
410   dgit - Minor bugfixes:
411   * Fix spelling errors etc. in messages.
412   * Replace mention of alioth by salsa in a message.
413   * clean_tree: confess rather than die on unknown clean mode.
414   * Add missing \n to crash from git_cat_file.  (git-debrebase too.)
415
416   Documentation:
417   * dgit(1): Document that cleaning is sometimes not needed and
418     is therefore not done.
419   * README.md: Add this document for the benefit of Salsa.
420   * po/README: Mention -k10 threshold.
421   * po/README: Give a pointer to salsa; remind the translator to commit.
422   * dgit(1): Fix spelling errors.
423   * dgit(7): Fix spelling errors.
424   * dgit-sponsorship(7): Fix spelling error.
425
426   Consequential changes:
427   * Internal refactoring to support all these changes.
428   * Tests adjusted to correspond to, and somewhat test, these changes.
429   * Slight reorganisation to documentation of --clean=dpkg-source etc.
430
431   Build system:
432   * Makefile: Provide i18n-commit target.
433   * po/list-documents: Set translation threshold to 10%.
434
435  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 13 Oct 2018 23:56:35 +0100
436
437 dgit (7.0) unstable; urgency=medium
438
439   Bugfixes:
440   * dgit: Do not sometimes crash in quilt-fixup if git-debrebase
441     is not installed.  Closes:#910221.
442   * git-debrebase: new-upstream: Drop `sleep 2' (!)
443   * git-debrebase: anchor: Print the anchor, not the breakwater tip (!)
444   * Get rid of perl warning "Statement unlikely to be reached"
445     (introduced in 7.0~pre1).
446   * git-debrebase: merges: Make warnings of lossage less overblown
447
448   i18n (translation):
449   * Support message translation for git-debrebase.  (Re #904883.)
450   * Support document translation.  Closes:#904883.
451   * po: Rename `all-po' target to `pofiles'
452
453   Error message improvements (prompted by i18n work)
454   * Replaced `die' with `confess' in many unexpected syscall errors
455     and internal error cases.
456   * git-debrebase; Print a proper message for failure to opendir
457     the bpd and for failure to chdir to the toplevel.
458
459   Internal changes:
460   * Minor refactoring to support translation.
461   * i18n-diff-auditor: New script to support translation markup.
462
463   Packaging:
464   * Use dh_missing --fail-missing
465   * Add missing build-dependency on xgettext
466
467   Test suite:
468   * gdr-makepatches7: Fixes to dgit/git-debrebase interaction
469   * gdr-makepatches7: Test dgit with missing git-debrebase
470   * Test that the binary packages can be built
471
472  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 04 Oct 2018 20:33:12 +0100
473
474 dgit (7.0~pre1) experimental; urgency=medium
475
476   * i18n: Support messgae translation for the program dgit.
477     (Working towards #904883.)
478
479  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 02 Oct 2018 13:20:24 +0100
480
481 dgit (6.12) unstable; urgency=medium
482
483   * test suite: t-check-only-bpd: Check $tmp/.. not .. .  Fixes bogus
484     failure in Ubuntu CI.  Thanks to Mattia Rizzolo for the report.
485
486  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 28 Sep 2018 18:17:36 +0100
487
488 dgit (6.11) unstable; urgency=medium
489
490   * dgit-maint-debrebase(7): move and improve the section
491     "Inspecting the history".  [Sean Whitton]
492   * Makefile: Adjust scope of dgit(7) pod rule.
493   * local-pod-man: developer script, obsoleteed by `make %.view': drop it.
494
495  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 26 Aug 2018 14:59:32 +0100
496
497 dgit (6.10) unstable; urgency=medium
498
499   git-debrebase bugfixes:
500   * Patches in subdirectories: fix malfunctions.  Closes:#907202,#907206.
501   * new-upstream changelog entry: Use debchange.  Closes:#905888.
502   * Empty patch queues: Fix some malfunctions and infelicities.
503   * convert-to-gbp: Actually base the result on the breakwater, not HEAD.
504
505   dgit bugfixes:
506   * *build*: Cope with new-style --build= specifications
507   * Pass --no-source to sbuild (always).  Closes:#904966.
508   * build: Squash $buildproductsdir.  Closes:#906786.
509
510   dgit improvements for git-debrebase compatibility:
511   * Do not try split brain git-debrebase make-patches.  Closes:#906908.
512   * Do not abandon quilt fixup at git-debrebase split commits.
513   * Check for git-debrebase with a history walker, not debrebase-last.
514     This can avoids using dpkg-source --commit.  Closes:#907208.
515
516   git-debrebase improvements:
517   * convert-from-*: snag on discarding comments in series.  Closes:#907198.
518   * forget-was-ever-debrebase: New subcommand.
519   * Make all commit message annotations have a COMMIT-TYPE.
520
521   git-debrebase documentation:
522   * dgit-maint-debrebase(7): Add runes for inspecting.  Closes:#907190.
523   * git-debrebase(5): Warn against renaming branch while unstitched
524   * git-debrebase(5): Document new understanding of debrebase-last
525
526   test suite behavioural changes for ad-hoc runs:
527   * run-all: Without --progressive, rm and recreate tests/tmp
528   * run-all: Honour DGIT_TESTS_TMPDIR
529   * run-all: Understand `:' specially
530
531   test suite:
532   * Tests for the bugfixes and improvements.
533   * lib-gdr: Be more defensive about unexpected states/args
534   * lib-gdr: Check that we made patches with git-debrebase
535   * Honour DGIT_TEST_RUN_PFX env var.
536   * Test dgit calling git-debrebase on new debianisation.
537   * gdr-new-upstream: Check changelog is exactly right.
538   * debchange: Widespread better handling of the time seen by dch.
539     Freeze time.  Work around faketime TZ bug (#907264).
540   * test-list-uptodate: Drop imports and dependencies
541   * git-debrebase: gdr-merge-conflicts: Call git merge --no-edit
542   * build-modes-*: Provide stunt dpkg-deb to pass -Znone, for speed.
543   * build-products-dir: Check nothing in ../
544   * Work if $tmp is on a different filesystem.
545   * Internal changes and refactoring to support other changes.
546
547  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 26 Aug 2018 14:58:18 +0100
548
549 dgit (6.9) unstable; urgency=medium
550
551   * dgit: do not crash on push of a new gdr package.  Closes:#906784.
552   * dgit: Remove unsubstituted $changesfile from message  Closes:906787.
553   * dgit-maint-debrebase(7): improve "Converting an existing package",
554     and refer to "ILLEGAL OPERATIONS" in git-debrebase(5).
555     Closes:#905573.  [ Sean Whitton ]
556   * test suite: Update debian/tests/control following dependency fix.
557
558  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 21 Aug 2018 14:36:36 +0100
559
560 dgit (6.8) unstable; urgency=medium
561
562   * test suite: Fix dependencies of new gdr-merge-conflicts test.
563
564  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 20 Aug 2018 14:52:03 +0100
565
566 dgit (6.7) unstable; urgency=medium
567
568   git-debrebase, bugfixes:
569   * make-patches: Do not bail if there aren't any.
570   * scrap: works properly when it does only rebase --abort.
571   * On rebase: always save ffq-prev even if we were both stitched and
572     laundered.  Closes:#905975.
573
574   git-debrebase, improvements:
575   * Speed: improve laundry performance by a factor of ~55:1,
576     and analysis performance by factor of ~4.2:1.  Closes:#905995.
577   * prepush: this is now a silent no-op if the branch is
578     unstitched.  This is more friendly.
579   * convert-from-*: Snag on patches in d/patches which are not in series,
580     because they will be deleted.  Closes:#904997.
581   * Highly experimental merge resolution support, enabled only with
582     special command line option.
583   * Lots of internal changes to support merge, and other work.
584   * convert-from-*: Check whether ffq-prev or debrebase-last indicate that
585     we are already in gdr format.
586   * convert-from-*: leave debrebase-last refs to hint to everyone that
587     this is now a gdr branch.
588
589   git-debrebase, improved messages:
590   * Improve ffq head recording message.
591   * Better (less copious by default) debug output.
592   * convert-from-gbp: Improve messages.  Closes:#906641.
593   * Provide hints for unprocessable commits, depending on the apparent
594     branch ffq state, including possible suggestion to use convert-from-*.
595     Closes:#905005.  Closes:#905279.
596
597   dgit, improved messages:
598   * Mention bad origs as possible cause of quilt fixup failure,
599     in both dgit(7) and in error messages.  No longer suggest
600     --quilt=smash or dpkg-source --commit in the error message.
601     Closes:906196.
602   * Do not suggest --quilt modes if quilt fixup "stopped at"
603     a commit made by git-debrebase.  Closes:#906197.
604   * Mention gitattributes as a potential problem in quilt linearisation
605     failure, when appropriate.  Closes:#906199.
606
607   dgit, documentation:
608   * dgit(1): Encourage --overwrite rather than --overwrite=version.
609   * Document that we do not suppress attributes which affect git-archive.
610     This is related to #906199.
611
612   test suite:
613   * test suite: Set DEBFULLNAME
614   * test suite: unset GIT_EDITOR, so it works if user has that set.
615
616   Packaging:
617   * changelog: Add close note for #905400 to changelog entry for 6.5.
618
619  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 20 Aug 2018 02:30:06 +0100
620
621 dgit (6.6) unstable; urgency=medium
622
623   * test suite: Fix gdr's calls to dgit when run formally in
624     autopkgtest.  (Affects gdr-import-dgitview.)
625
626  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 05 Aug 2018 10:42:01 +0100
627
628 dgit (6.5) unstable; urgency=medium
629
630   git-debrebase new features:
631   * git-debrebase: Provide new convert-from-dgit-view operation.
632     The output is, unavoidably, not very pretty.  Closes:#905322.
633   * git-debrebase: New subcommand `scrap'.  Closes:#905063.
634
635   git-debrebase error handling improvements:
636   * git-debrebase: Properly reject bare dgit dsc imports.  Closes:905400.
637   * git-debrebase: Improve some error message formatting.
638   * git-debrebase: Check for git-rebase in progress and abort most operations.
639
640   dgit improvements:
641   * dgit: Improve error message for unknown suite, to suggest -d.
642   * dgit: Rename --dgit-view-save to --save-dgit-view, leaving an alias.
643   * dgit: Provide print-unapplied-treeish subcommand.
644
645   Test suite changes:
646   * test suite: Add t-tstunt-parsechangelog to many gdr tests.
647   * test suite: editing a test script overrides DGIT_TESTS_PROGRESSIVE.
648   * test suite: gdr-import-dgitview: New test for dgit dsc imports.
649
650  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 04 Aug 2018 17:53:57 +0100
651
652 dgit (6.4) unstable; urgency=medium
653
654   * git-debrebase(1): Fix typo "unappled".  Closes:#905064.
655
656  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 02 Aug 2018 08:24:32 +0100
657
658 dgit (6.3) unstable; urgency=medium
659
660   * git-debrebase: breakwater: Fix error message for unprocessable
661     commits.  Closes:#905003.
662   * git-debrebase: new-upstream: Fix error message for new version
663     with bad syntax.
664   * git-debrebase test suite: Test messages about unprocessable commits.
665   * git-debrebase: new-upstream: Fix handling of epochs.
666   * git-debrebase: convert-from-gbp: Use same algorithm for finding
667     upstream commitish as new-upstream.  Closes:#905062.
668   * git-debrebase: Improve error messages for bad options.
669   * git-debrebase: Improve error message for convert-from-gbp
670     upstream discrepancy.  Closes:#905078.
671   * git-debrebase(5): Add ILLEGAL OPERATIONS section.  (Re#905004.)
672   * git-debrebase(1): Warn against plain git rebase.  (Re#905004.)
673   * dgit-maint-debrebase(7): Warn more against plain git rebase.
674     Closes:#905004.
675   * git-debrebase: Implement --help, providing a summary.
676     Closes:#904990.
677
678  -- Ian Jackson <ian@zealot.relativity.greenend.org.uk>  Thu, 02 Aug 2018 03:45:40 +0100
679
680 dgit (6.2) unstable; urgency=medium
681
682   * dgit(1): Improve and correct --build-products-dir description.
683   * dgit: Minor code cleanup.
684   * dgit build: Warn if --build-products-dir is not `..'.  Closes:#904859.
685   * test suite: Test dgit import-dsc --build-products-dir.
686
687   [Sean Whitton]
688   * manpages: alioth->salsa
689   * manpages: add references to pbuilder and cowbuilder
690   * dgit-maint-gbp(7): discuss dgit.default.build-products-dir
691   * dgit-maint-gbp(7): update references to --*-dirty
692   * dgit-sponsorship(7): add references to push-source
693   * dgit-maint-debrebase(7): fix command to just launder
694
695  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 29 Jul 2018 12:57:26 +0100
696
697 dgit (6.1) unstable; urgency=medium
698
699   New feature:
700   * 'pbuilder' and 'cowbuilder' subcommands (Closes: #844125).
701     - Suggest sbuild | pbuilder | cowbuilder.
702
703   Minor fixes:
704   * Fix an error message to refer to the build products dir instead of
705     just the parent directory.
706
707  -- Sean Whitton <spwhitton@spwhitton.name>  Sat, 28 Jul 2018 20:14:23 +0800
708
709 dgit (6.0) unstable; urgency=medium
710
711   New features [Sean Whitton]:
712   * Introduce dgit.default.build-products-dir git configuration key.
713     Closes:#857316.
714   * Die earlier, and with a more helpful message, if the user tries to
715     include dirty changes when building a source package in split brain
716     mode.
717
718   dgit behavioural changes:
719   * dgit: Always build the source package ourselves, rather than
720     sometimes leaving that to the builder command.  dgit will now
721     usually generate *_multi.changes rather than *_$arch.changes.
722   * dgit: Build source packages in a private directory, except when
723     the user passes --include-dirty [Sean Whitton].
724     - dgit push-source no longer cleans the tree [Sean Whitton].
725   * dgit: Rename --ignore-dirty to --include-dirty (leaving the old
726     name supported as a deprecated alias).
727
728   Test suite improvements:
729   * test suite: unset VISUAL, which interferes.  Closes:#904308.
730   * Honour DGIT_SCHROOT_CHROOT to set the schroot to use for the sbuild
731     tests.
732   * Support tests/run-all --progressive.
733   * Drop now-obsolete *-asplit tests.
734
735   Other improvements:
736   * apt-get method: when apt does not update release files,
737     unconditionally print hint about noatime.  Closes:#851873.
738   * messages: Be a lot more friendly about NEW in particular,
739     and also add a couple of `please's.  Closes:#904448.
740   * Make --build-products-dir (and the new config key) actually work.
741     Closes:#863582.  [ Ian and Sean. ] 
742   * dgit: Many important internal rearrangemnts relating to source
743     package production and building.
744
745  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 26 Jul 2018 14:43:47 +0100
746
747 dgit (5.10) unstable; urgency=medium
748  
749   * Merge the experimental branch.
750   * test suite: Drop a couple of useless test log output lines.
751   * infrastructure: Run git gc --auto before mirroring.  Closes:#841414.
752  
753  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 14 Jul 2018 18:07:02 +0100
754  
755 dgit (5.9+exp4) experimental; urgency=medium
756
757   * test suite: Use  dch -r -D sid ''  not  dch -r sid.  Closes:#903441.
758   * test suite: Save a tarball of much of the working area of each test
759     in $AUTOPKGTEST_ARTIFACTS.
760   * Separate changelog entries for the following test attempts
761     in experimental have been elided:
762       dgit (5.9+exp3) experimental; urgency=medium
763       dgit (5.9+exp2) experimental; urgency=medium
764       dgit (5.9+exp1) experimental; urgency=medium
765
766  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 12 Jul 2018 13:45:07 +0100
767
768 dgit (5.9) unstable; urgency=medium
769
770   * git-debrebase convert-from-gbp: Look for dgit-generated tags so we can
771     usually make the new branch ff of the dgit view.  Closes:#903132.
772   * git-debrebase convert-from-gbp: Check that the result will not
773     count as having diverged.  This will usually turn failures to make
774     the ff pseudomerge into -fdiverged.  Related to #903132.
775   * git-debrebase, Dgit.pm, git: some internal reorganisation to
776     support git-debrebase changes.
777   * dgit-downstream-dsc(7): New manpage.  Closes:#842643,#851194.
778   * git-debrebase(5): Document best gitk options.  Closes:#901927.
779
780  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 12 Jul 2018 13:37:12 +0100
781
782 dgit (5.8) unstable; urgency=medium
783
784   Bugfixes:
785   * dgit, git-debrebase: Properly make patches even if an awkward
786     .gitignore ignores the things in debian/patches.  Closes:#903130.
787   * git-debrebase status: Fix commit reporting.  Closes:903131.
788   * git-debrebase new-upstream: Add a -1 revision if the user
789     didn't supply one.  Closes:#903127.
790   * git-debrebase: Improve grammar if one blocking snag.
791   * dgit(1): Unscramble push[-source] descriptions.  Closes:#903116.
792
793  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 08 Jul 2018 11:42:41 +0100
794
795 dgit (5.7) unstable; urgency=medium
796
797   New feature:
798   * dgit checkout: new subcommand.  Closes:#878443.
799   * dgit: Check that entirely-new uploads to Debian are not
800     source-only-uploads, as those are REJECTed.  Closes:#801435.
801
802   Bugfixes:
803   * dgit(7): Mention git-debrebase and gbp pq alongside git-dpm,
804     in the comment about handling patch stacks.
805   * dgit update-vcs-git: Honour --package properly.
806   * test suite: Always pass LC_COLLATE=C to sort(1).  Closes:#903006.
807   * test suite: Fix trustingpolicy-replay & dput-ng.  Closes:#903007.
808   * test suite: Test dput-ng compatibility.
809
810  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 05 Jul 2018 15:02:21 +0100
811
812 dgit (5.6) unstable; urgency=medium
813
814   * Merge the experimental branch containing the fianl
815     version of the test suite gnupg workarounds.  Empirically,
816       - The tests now pass (most of the time, at least) in
817         current Debian unstable, whereas 5.5's fail utterly.
818       - There is still occasional lossage.  So when running tests
819         in a loop (eg to test ever commit), it is still good to set
820         DGIT_TEST_RETRY_COUNT=3 (say).
821
822   * test suite: Test that manpages format with only expected warnings.
823
824  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 01 Jul 2018 00:41:20 +0100
825
826 dgit (5.5+exp9) experimental; urgency=medium
827
828   * test suite: Explicitly start/stop the gnupg agent, around
829     each call to gnupg.  Apropos of #902316 (and #868550).
830
831   * Separate changelog entries for the following test attempts
832     in experimental have been elided:
833       dgit (5.5+exp8) experimental; urgency=medium
834       dgit (5.5+exp7) experimental; urgency=medium
835       dgit (5.5+exp6) experimental; urgency=medium
836       dgit (5.5+exp5) experimental; urgency=medium
837       dgit (5.5+exp4) experimental; urgency=medium
838       dgit (5.5+exp3) experimental; urgency=medium
839       dgit (5.5+exp2) experimental; urgency=medium
840       dgit (5.4+exp1) experimental; urgency=medium
841
842  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 30 Jun 2018 19:03:00 +0100
843
844 dgit (5.5) unstable; urgency=medium
845
846   * Add missing comma in debian/control.  Closes:#902578.
847   * dgit(1): Fix a wrong reference to \fp, which should be \fP.
848
849  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 28 Jun 2018 13:25:21 +0100
850
851 dgit (5.4) unstable; urgency=medium
852
853   Improvements:
854   * dgit(1): Better description of --overwrite.  Somewhat
855     apropos of discussion in #902534.
856
857   Bugfixes:
858   * test suite: gdr-viagit, gdr-newupstream: Do not spuriously
859     fail if gnupg not serendipitously installed.  Closes:#902559.
860   * Fix bug ref to #865444 in previous changelog entry.
861
862  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 27 Jun 2018 23:13:42 +0100
863
864 dgit (5.3) unstable; urgency=medium
865
866   Bugfixes:
867   * dgit: Do not introduce duplicate origs in .changes files,
868     eg if the .changes already has that orig.  Closes:#869146.
869   * Honour GIT_REFLOG_ACTION everywhere.  Closes:#901935.
870   * git-debrebase new-upstream: Provide better reflog entries
871     by setting GIT_REFLOG_ACTION.  Closes:#901925.
872
873   Improvements:
874   * Better message formatting when --overwrite may be needed,
875     and a note about first dgit push in dgit(1).  Closes:891031.
876   * dgit(7): Add discussion of quilt fixup error messages,
877     and add cross-references to dgit(1) and the actual error.
878     Somewhat apropos of #865444.
879
880  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 27 Jun 2018 14:00:31 +0100
881
882 dgit (5.2) unstable; urgency=medium
883
884   dgit bugfixes:
885   * When all Debian changes vanish with single-debian-patch,
886     do not fail to commit the patch queue removal.  Closes:#877036.
887   * When build fails because the network is offline, mention
888     that this is because --since-version was not specified.
889     Closes:#883340.
890   * When quilt fixup fails because of discrepancies, print a
891     git diff rune which will show them.  Closes:#865446.
892   * When fetch or push wants git fetch (other than in a situation where it
893     happes to be a noop) but --dry-run was specified, fail with an
894     explanation, rather than looping with a false coplaint about git
895     fetch.  Closes:#871317.
896   * --overwrite now no longer crashes if there is nothing to overwrite
897     (eg, when used with --new).  Instead, it is simply ignored, as it is
898     ignored in situations where the push is fast forward.  Closes:#863576.
899
900   dgit/git-debrebase interop bugfixes:
901   * git-debrebase interop: Add a missing debugcmd debugging print.
902   * git-debrebase interop: Actually tolerate git-debrebase make-patches
903     exiting with status 7.
904
905   dgit vcs-git handling improvements:
906   * Provide `update-vcs-git' subcommand, for creating and adjusting the
907     vcs-git remote url.  Useful for transition from alioth to salsa.
908     Closes:#902006.
909   * Print a warning to stderr on `dgit fetch sid', if your vcs-git
910     remote url disagrees with what's in sid's .dsc.
911
912   documentation:
913   * dgit(1): Mention under `dgit build' that it uses the network.
914   * dgit(1): Clarify that --overwrite does nothing if not needed.
915     Closes:#863578.
916   * dgit-user(7): Recommend sbuild-debian-developer-setup.
917     [ Sean Whitton. ]  Closes:895779.
918
919   test suite:
920   * Use nproc(1) rather than Sys::CPU.  This is more portable and does not
921     depend on libsys-cpu-perl being installed.  Closes:888496.
922
923  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 24 Jun 2018 23:33:28 +0100
924
925 dgit (5.1) unstable; urgency=medium
926
927   dgit gitattributes handling:
928   * Squash the working-tree-encoding attribute too.
929   * Update an existing `dgit-defuse-attrs' macro in .git/info/attributes.
930   * Test the working-tree-encoding attribute squashing properly.
931     Closes:#901900.
932
933   git-debrebase fixes:
934   * new-upstream: fix (this time for sure) ff check handling
935     of multi-piece upstreams.
936   * Suppress gbp pq export output, except in case of error.
937     Closes:#901809.
938   * Manpages: Fix typos and etc.
939   * Fix a typo in the package description.
940
941   Test suite:
942   * Triger ci.debian.net autopkgtests on: gnupg diffutils patch.
943     (A dummy test is used to add to Testsuite-Triggers.)
944
945  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 20 Jun 2018 23:20:57 +0100
946
947 dgit (5.0) unstable; urgency=low
948
949   Major new facility:
950   * git-debrebase, a new git workflow tool, in its own package.
951   * dgit will now, when appropriate, check if it should call
952     git-debrebase.
953
954   [ Thanks to Sean Whitton for much useful input, and for
955      dgit-maint-debrebase(7). ]
956
957   dgit bugfixes:
958   * Fix the exit status of programs in dgit.deb, to avoid the Perl
959     misfeature which sometimes copies $! to the exit status.
960   * When checking that the tree is clean, check the git index too.
961   * In quilt_fixup_multipatch, work around git checkout paths
962     not deleting files.  (Hypothetical bug AFAIAA.)
963   * Respect --quilt=nofix even if single-debian-patch.
964
965   dgit minor fixes:
966   * "confess" when we die due to a warning, rather than symply dieing.
967
968   Internal changes:
969   * Move $playground global to dgit.
970   * Break git_get_symref and $extra_orig_namepart_re out into Dgit.pm.
971   * Changes to support git-debrebase.
972
973  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 18 Jun 2018 00:29:44 +0100
974
975 dgit (4.4) unstable; urgency=high
976
977   Test suite bugfix:
978   * Use full key hash rather than short keyid.  Closes:#896653.
979     [ report: Paul Gevers; fix: Chris Lamb ]
980
981  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 23 Apr 2018 13:18:51 +0100
982
983 dgit (4.3) unstable; urgency=high
984
985   Documentation improvements:
986   * dgit(7): Discuss file executability.  Closes:#886444.
987   * dgit(7): Discuss git-unrepresentable properties of source trees.
988   * dgit-maint-merge(7): Don't suggest using debian/source/patch-header
989     for 1.0 source format.  Closes:#887850.  [Sean Whitton]
990
991   Bugfixes:
992   * dgit archive-api-query: Avoid crashing due to lack of $isuite.
993     This breaks the infrastructure.  Closes:#886592.
994
995  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 25 Jan 2018 00:33:56 +0000
996
997 dgit (4.2) unstable; urgency=low
998
999   * Upload dgit 4.x series to unstable.
1000
1001   New features [Sean Whitton]:
1002   * New 'push-source' subcommand for source-only uploads.  Closes:#848931
1003   * When dgit builds a source package, such as in the 'build-source'
1004     subcommand, it now bypasses dpkg-buildpackage and invokes dpkg-source
1005     directly.  This avoids a _source.buildinfo file in the .changes, which
1006     doesn't make sense when using dgit.  See
1007     <https://lists.debian.org/debian-dpkg/2017/06/msg00005.html>.
1008
1009   Documentation improvements:
1010   * dgit(1): Add a bit more rationale (polemic, even).  Closes:#874221.
1011   * Recommend mk-build-deps rather than apt-get build-dep.
1012     Suggestion from Nikolaus Rath.  Closes:#863361.
1013   * dgit-maint-merge(7): many updates.  [Sean Whitton]
1014     Closes:#864873,#878433.
1015   * dgit-*(7): Mention first upload trick.  [Andrew Shadura,
1016     Sean Whitton]  Closes:#856402.
1017
1018   Minor fixes:
1019   * When source discrepancy involves file mode changes, report them
1020     specially.  Closes:#886442.
1021   * In split brain mode, with unexpected diffs, print dgit view
1022     commitid in suggested diff rune.  (HEAD is wrong.)  Closes:#886443.
1023   * Fix message about missing quilt cache entry to refer to
1024     HEAD rather than tree, since dgit needs a commit.  Closes:#884646.
1025   * Fix grammar error in 4.1 changelog entry. [Sean Whitton]
1026   * Remove some whitespace "errors". [Sean Whitton]
1027
1028   Packaging:
1029   * Remove dependency alternative on realpath (package last existed in
1030     Debian wheezy).  Closes:#877552.
1031
1032   Test suite:
1033   * dpkgsourceignores-docs: Correct restriction (so autopkgtest
1034     won't try to run it).
1035   * Additional workarounds for gnupg races (#868550) including
1036     retrying each individual test once, and more sophisticated
1037     wrapper for gpg (with locking and, sometimes saves stdin).
1038   * oldnewtagalt: Fix regression when running outside git tree,
1039     introduced in 4.1.
1040
1041  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 07 Jan 2018 21:45:29 +0000
1042
1043 dgit (3.13) unstable; urgency=high
1044
1045   Important bugfixes to dgit:
1046   * Add missing `use' for Dpkg::Compression et al.
1047     Thanks to report from Didier 'OdyX' Raboud.  (Closes:#879526.)
1048
1049   Test suite:
1050   * Add missing `chiark-utils-bin' to Test-Depends.
1051
1052  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 22 Oct 2017 17:51:12 +0100
1053
1054 dgit (4.1) experimental; urgency=medium
1055
1056   Important improvements to dgit:
1057   * Support for `git worktree' worktrees.  There may still be
1058     bugs; the tests for this are not very comprehensive.  And
1059     worktrees on different filesystems may not work; that's a
1060     matter for the future.  Closes:#868515.
1061   * Change the dpkg-source -i argument to exclude exactly the right
1062     set of things.  (Sadly this is not a simple rune.)
1063
1064   Other improvements to dgit:
1065   * New print-dpkg-source-ignores option to print the big rune
1066     you need to pass to dpkg-source to make it work exactly right.
1067   * Properly shell-quote the --git-builder argument to gbp.
1068
1069   Documentation:
1070   * dgit-user(7): Provide information about how to use sbuild.
1071     Quite ugly due to #868527.  Closes:#868526.
1072   * dgit-user(7): Fixed example rune to use curl (which prints
1073     to stdout, as the rune expects).  [reported by Simon Tatham]
1074
1075   Minor improvements:
1076   * Do not leave many clog-* files in .git/dgit.
1077
1078   Internal changes:
1079   * using-these: New script to help with ad-hoc-testing.
1080   * Refactoring in preparation for push-source [Sean Whitton].
1081
1082   Test suite:
1083   * sbuild-gitish: New test case to check running sbuild from git
1084   * Work around gnupg agent connection races by having our stunt
1085     gpg wrapper simply try running gpg again, once, if it exits 2.
1086     This does not fully suppress the bug but it does significantly reduce
1087     the probability.
1088   * Other tests for new features.
1089   * Various refactoring.
1090
1091  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 14 Aug 2017 09:31:03 +0100
1092
1093 dgit (4.0) experimental; urgency=low
1094
1095   * dgit: --deliberately-not-fast-forward works properly in
1096     split view quilt modes (suppressing the pseudomerge).
1097
1098  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 12 Feb 2017 22:22:31 +0000
1099
1100 dgit (3.12) unstable; urgency=high
1101
1102   Important bugfixes to dgit:
1103   * Pass --no-renames to git diff-tree -z, avoiding potential trouble.
1104   * Defend against commit subject lines which would generate patches which
1105     look like series files, etc.  Involves adding .patch to all generated
1106     patch filenames.
1107   * dgit import: Defend against broken symlinks in ..
1108   * dgit import: Right error message for missing files in ..
1109   * dgit import: Avoid making broken symlinks in ..
1110   * quilt fixup: Tolerate deletion of executable files.
1111   * quilt fixup: Tolerate symlink creation (make patches).  Closes:#857382.
1112
1113   Important bugfixes to other components:
1114   * dgit-repos-server: Do not reject commits with no author/committer
1115     email address (but still insist on date, and hence on the actual
1116     committer and author commit header fields).  Peter Green reports that
1117     eg 66c65d90db100435 in upstream linux.git is such a commit (and is
1118     accepted by github).  Closes:#863353.
1119
1120   Test suite:
1121   * t-report-fail: print $PWD as part of failure message.
1122   * import-dsc: Test missing files, particularly in ..
1123   * run git gc on tests/worktrees/example_1.0.tar.
1124   * quilt fixup: Check we can delete files with funny modes
1125   * quilt fixup: Check that funny changes are represented properly
1126
1127  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Jul 2017 21:36:24 +0100
1128
1129 dgit (3.11~deb9u1) stretch; urgency=high
1130
1131   * Rebuild and upload to stretch.
1132
1133  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 11 Jul 2017 09:28:15 +0100
1134
1135 dgit (3.11) unstable; urgency=high
1136
1137   Important bugfixes to dgit:
1138   * Fix rpush+buildinfo: Transfer buildinfos for signing.  Closes:#867693.
1139   * Cope if the archive server sends an HTTP redirect,
1140     by passing -L to curl.  Closes:#867185,#867309.
1141   * Cope with newer git which hates --local outside a tree.  Closes:#865863.
1142   * rpush: Honour local git config from build host working tree.
1143   * Tolerate compressor terminating with SIGPIPE.  Closes:#857694.
1144   * Honour more pre-tree git config options in our private trees sharing
1145     the user's object store.  In particular, core.sharedRepository.
1146     Prompted by #867603.
1147   * Clone multisuite works even without --no-rm-on-error.  Closes:#867434.
1148   * Work if "git init" does not create $GIT/info.  Closes:#858054.
1149   * Actually understand foo,-security (!)  Closes:#867189.
1150
1151   Important bugfixes to other components:
1152   * dgit-badcommit-fixup: Honour core.sharedRepository.   Closes:#867603.
1153   * infrastructure: Cope with new git-receive-pack which has
1154     quarantine feature: ie, work around #867702.
1155
1156   Test suite:
1157   * Cope with git restricting ext:: protocols.
1158   * multisuite: Test clone without --rm-on-error.
1159
1160  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 08 Jul 2017 22:40:15 +0100
1161
1162 dgit (3.10) unstable; urgency=medium
1163
1164   Bugfixes:
1165   * dgit: Copy several user.* settings from main tree git local config
1166     to dgit private workarea.  Closes:#853085.
1167   * dgit: Strip initial newline from Changes line from dpkg-parsechangelog
1168     so as to avoid blank line in commit messages.  Closes:#853093.
1169   * dgit: Do not fail when run with detached HEAD.  Closes:#853022.
1170   * dgit: Be much better about commas in maintainer changelog names.
1171     Closes:#852661.
1172
1173   Test suite:
1174   * quilt-useremail: New test for user config copying (#853085).
1175   * lib-import-chk: Test that commits have smae authorship as appears in
1176     the changelog.  (Or, at least, the same authorship set.)
1177   * import-maintmangle: New test for changelog Maintainer mangling.
1178
1179   Documentation:
1180   * Fix typos.  Closes:#853125.  [Nicholas D Steeves]
1181
1182  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 06 Feb 2017 17:49:39 +0000
1183
1184 dgit (3.9) unstable; urgency=medium
1185
1186   Improvements:
1187   * dgit --overwrite: Check that the overwritten version's changelog entry
1188     is not UNRELEASED.  This could easily happen if this release was being
1189     made from a git branch which predates the previous package upload.
1190
1191   Documentation:
1192   * dgit-maint-merge(7): Get git clone url right.  Closes:#852609.
1193   * dgit-maint-merge(7): Quote sample clone commands.  Closes:#852615.
1194
1195   Test suite:
1196   * overwrite-chkclog: test UNRELEASED handling.
1197
1198  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 25 Jan 2017 16:21:53 +0000
1199
1200 dgit (3.8) unstable; urgency=medium
1201
1202   Bugfixes:
1203   * Make dgit-setup-* work in default distro.
1204
1205   Test suite:
1206   * defdistro-setup: Test that setup-* functions distro selection works.
1207
1208  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 23 Jan 2017 16:21:30 +0000
1209
1210 dgit (3.7) unstable; urgency=medium
1211
1212   Bugfixes:
1213   * Fix clone-dgit-repos-server and print-dgit-repos-server-print-url.
1214     Closes:#851906.
1215
1216   Documentation:
1217   * dgit-maint-merge(7): Explain when workflow is unsuitable
1218     (Closes:#852090) and improve the patch-header (Closes:#851897.)
1219
1220   Internal changes:
1221   * New %.view target: `make dgit-maint-merge.7.view' runs `man -l ...'
1222
1223   Test suite:
1224   * defdistro-dsd-clone-drs: New test which would have detected
1225     #851906 (and hopefully #850521).
1226
1227  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 22 Jan 2017 17:30:24 +0000
1228
1229 dgit (3.6) unstable; urgency=medium
1230
1231   Bugfixes:
1232   * Actually use the url from a Dgit .dsc field naming an unknown distro.
1233     Closes:#851728.
1234   * Add dummy implementation of file_in_archive_aptget copied from
1235     file_in_archive_dummycat.  Re:#851697.   [ Peter Green ]
1236
1237   Minor improvements:
1238   * Use `confess' to print a stack trace in a couple of internal error
1239     rcases.
1240
1241   Infrastructure:
1242   * Properly honour NOCOMMITCHECK policy hook exit status.
1243     Closes:#851800.
1244   * Do not reject commits with no author/committer name (but still insist
1245     on email address and date).  Peter Green reports that eg
1246     71e128629ec786f3 in upstream xen.git is such a commit (and is accepted
1247     by github).  Closes:#851716.
1248
1249   Test suite:
1250   * downstream-gitless: Test import of .dsc from unknown distro.
1251   * downstream-gitless: Test import of .dsc with unsafe url.
1252
1253  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 19 Jan 2017 01:15:03 +0000
1254
1255 dgit (3.5) unstable; urgency=medium
1256
1257   Bugfixes:
1258   * gitattributes: Defuse gitattributes in private working area even if we
1259     don't do it in the user's tree (because of user configuration).
1260   * gitattributes: When cloning, do not print spurious warning about
1261     actually-defused gitattributes.  Closes:#851624.
1262   * gitattributes: Improve comment left in .git/info/attributes.
1263
1264   Test suite:
1265   * gitattributes: Many improvements to test case.
1266
1267  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 17 Jan 2017 22:36:01 +0000
1268
1269 dgit (3.4) unstable; urgency=low
1270
1271   Test suite:
1272   * drs-push-rejects: Set origin's url to an ad-hoc expression
1273     which produces the right ext:: rune, as dgit would.
1274     Closes:#851580.
1275   * Replace references to /home/ian in various worktrees with
1276     references to /nonexistent, to catch inadvertant accesses.
1277
1278  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 16 Jan 2017 17:27:35 +0000
1279
1280 dgit (3.3) unstable; urgency=medium
1281
1282   Behavioural changes to work around gitattributes file transformations:
1283   * Suppress file-transforming gitattributes in private work areas.
1284   * Configure suppression in user's trees in dgit clone and setup-new-tree.
1285   * Provide dgit setup-gitattributes to do this explicitly.
1286   * Documentation.
1287
1288   Bugfixes:
1289   * dgit: Remove a leftover debugging print.
1290   * dgit: Set default dsc import distro when there is no Dgit field.
1291   * dgit: Set default dsc import distro when suppressing Dgit field.
1292   * dgit: Option parsing: Fix undefined $suite in some import-dsc.
1293     Closes:#851213.
1294
1295   Packaging:
1296   * Remove redundant use of List::Util qw(any).  Closes:#851280.
1297   * Remove redundant Recommends on libtext-iconv-perl.
1298
1299   Test suite:
1300   * Move default dsc distro config setting to lib.  We need this
1301     for the .dscs we have in tests/pkg-srcs/.
1302   * defdistro-import-dsc: Drop this test.
1303   * protocol-compat: check that we use the right distro
1304     information when importing.
1305   * Internal change: fix handling of nonempty distro=
1306   * gitattributes: New test for .gitattributes handling.
1307
1308  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 16 Jan 2017 10:03:08 +0000
1309
1310 dgit (3.2) unstable; urgency=medium
1311
1312   Bugfixes:
1313   * dgit: Do not execute END blocks in children.  So far symptoms of this
1314     bug seem to be limited to duplicated error messages but I have not
1315     done a thorough analysis.  Closes:#850052.
1316   * dgit-infrastructure: dgit-repos-policy-debian: Remirror a package when
1317     it becomes public (ie, make the repo available much more promptly when
1318     the package passes NEW).  Closes:#849789.
1319   * dgit: Fix a warning message about ref (mainly, tag) updates.
1320
1321   Documentation:
1322   * dgit-maint-merge(7): Use git-deborig(1).
1323     [Sean Whitton]  Closes:#850953.
1324   * dgit-user(7): Fix some typos.
1325
1326   Internals:
1327   * Fix a typo in a comment.
1328
1329   Test suite:
1330   * infra: mirroring and policy hooks: Improve some debugging output.
1331   * infra: mirror-private: test that package becomes public.  (#849789)
1332
1333  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 12 Jan 2017 02:11:34 +0000
1334
1335 dgit (3.1) unstable; urgency=medium
1336
1337   Bugfixes:
1338   * dgit import-dsc: Do not crash with undefined $isuite.  Closes:#850781.
1339   * dgit build: Do not sometimes crash with undefined $isuite.
1340   * dgit: Do not nedlessly re-fetch the rewrite map.
1341   * dgit: After downloading .debian.* files, save them in `..', too
1342     (ie do this not just for .origs).
1343   * dgit: When fetching, refetch files with hash mismatches (and save them
1344     as `...,fetch'), so we can distinguish them from any built locally.
1345     Closes:#850824.
1346
1347   Test suite:
1348   * Add test for import-dsc with default distro.  (Detects #850781.)
1349
1350   Administrivia:
1351   * Fix a dgit 3.0 changelog bullet referring to refs/dgit-fetch/DISTRO.
1352
1353  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 10 Jan 2017 17:50:27 +0000
1354
1355 dgit (3.0) unstable; urgency=medium
1356
1357   Protocol change:
1358   * Dgit: field now records the nominal distro name, and a hint
1359     for a tag and url where the git objects (including any rewrite
1360     map) can be fetched.
1361   * Use this information, where provided.  Closes:#850431.
1362
1363   Bugfixes:
1364   * dgit config handling: Honour command-line and context-provided
1365     suite and distro more reliably and consistently.
1366   * Parsing of extended Dgit fields by import-dsc was broken;
1367     and is now fixed even for more-extended ones.
1368   * dgit clone-dgit-repos-server uses readonly access.
1369     Closes:#850521.
1370   * fetch and pull ignore the changelog suite when it is UNRELEASED.
1371     Closes:#848646.
1372   * dgit-badcommit-fixup: Do not investigate symrefs.  Closes:#850547.
1373
1374   Minor new feature:
1375   * distro alias facility in config space.  (Primarily for testing.)
1376   * Undocumented --config-lookup-explode= feature.  (For testing.)
1377   * Provide `dgit print-dgit-repos-server-source-url'.  Re:#850521.
1378   * Honour dgit-distro.*.default-suite and dgit.default.default-suite.
1379
1380   Other improvements:
1381   * Improve debugging output a bit.
1382   * Use refs/dgit-fetch/DISTRO rather than refs/dgit-fetch/SUITE,
1383     which leads to less duplication and so less clutter.
1384   * Enforce a reasonable syntax for nominal distro names.
1385   * When generating orig+debian/patches view, copy debian/ from
1386     HEAD.  This makes less noise in diffs.  Closes:#850095.
1387
1388   Docuentation [Sean Whitton and Ian Jackson]:
1389   * dgit-sponsorship(7): Use --no-dep14tag.  Closes:#849105.
1390   * dgit-maint-merge(7): Use debian/source/patch-header.  Closes:849120.
1391   * dgit(7): Updated `trouble' section to suggest having dpkg-source
1392     delete the autotools output (with a patch if necessary).
1393   * dgit(1): Several minor updates and fixes.  Closes:#850519.
1394
1395   Test suite:
1396   * Internal improvements.
1397   * badcommit-rewrite: Fix operation using installed version of fixup.
1398   * Arrange to pass --debug-quick-random to gpg-agent.
1399   * Strip block count out of find -ls output - it is unstable!
1400   * gbp-orig: Add a missing -m, without which git would run an
1401     editor if stdout was a tty (!)
1402   * Add t-stunt-parsechangelog to a few tests which were missing it.
1403   * Tests for the new protocol feature.
1404   * Fail tests if we look up any configuration relating to Debian.
1405
1406  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 09 Jan 2017 16:43:10 +0000
1407
1408 dgit (2.16.2) unstable; urgency=low
1409
1410   dgit-badcommit-fixup: 
1411   * Fix crash when running for 2nd time in bare repo.
1412   * In --check mode, exit with status 2 if things are not fine.
1413
1414  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 07 Jan 2017 13:31:50 +0000
1415
1416 dgit (2.16.1) UNRELEASED; urgency=low
1417
1418   * dgit-badcommit-fixup: New mode --check which is readonly.
1419
1420  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 07 Jan 2017 13:04:49 +0000
1421
1422 dgit (2.16) unstable; urgency=low
1423
1424   Dealing with fallout from #849041:
1425   * Provide dgit-badcommit-fixup history-rewriting script.
1426   * New rewrite map feature, which allows dgit git server to adjust
1427     clients' interpretation of Dgit fields, so that history-rewriting is
1428     effective.  (Feature is only partially implemented right now -
1429     enough to dig current Debian users out of the hole.)  Re:#850431.
1430
1431   Test suite:
1432   * New test case for history-rewriting.
1433   * Change `local foo=$(bar)' idiom to `local foo; foo=$(bar)' since
1434     the former does not trip set -e even if bar fails :-(. 
1435
1436  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 06 Jan 2017 20:46:30 +0000
1437
1438 dgit (2.15) UNRELEASED; urgency=high
1439
1440   Infastructure:
1441   * Prevent introduction of new commits which lack `committer'
1442     information.  Ie, prevent the reception of new commits afflicted by
1443     #849041.  Existing commits are tolerated.
1444
1445   Test suite:
1446   * Be much stricter about messages from git-fsck.
1447
1448  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 05 Jan 2017 18:20:23 +0000
1449
1450 dgit (2.14) unstable; urgency=critical
1451
1452   CRITICAL BUGFIX:
1453   * Do not generate bogus commits with --overwrite or import-dsc.
1454     Closes:#849041.
1455
1456   Test suite:
1457   * Run a lot of git-fsck.
1458
1459  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 04 Jan 2017 22:52:55 +0000
1460
1461 dgit (2.13) unstable; urgency=high
1462
1463   Changed behaviour:
1464   * quilt fixup: Permit creation of patches which delete files, by psssing
1465     --include-removal to dpkg-source, and tolerating it when we do our
1466     quilt fixup analysis.  dpkg-source has supported this since at least
1467     stretch.  Closes:#848901.
1468
1469   Error messages:
1470   * Improve "cannot represent change" message: print the git old and new
1471     modes too.
1472
1473   Bugfix:
1474   * Import: Switch back to unpa branch on patch import iterations.
1475     In particular, do not fail utterly if dpkg-source and gbp disagree.
1476     Closes:#848843.
1477
1478   Documentation [Sean Whitton]:
1479   * dgit-maint-gbp(7): Remove reference to closed bug.  Closes:#848725.
1480   * dgit-sponsorship(7): Update in light of fixed #844129.  Closes:#848789.
1481
1482  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 21 Dec 2016 01:32:41 +0000
1483
1484 dgit (2.12) unstable; urgency=high
1485
1486   Changed behaviours:
1487   * By default, generate a DEP-14 tag as well as a dgit archive/*
1488     tag, even in non-split-view quilt modes.  Closes:#844129.
1489   * Version tags mangling: Protect dots, as per proposed update to DEP-14.
1490
1491   Documentation:
1492   * dgit-maint-merge(7): Explain how to change to this workflow
1493     from an existing git workflow.  [Sean Whitton]  Closes:#847807.
1494   * dgit-maint-native(7): Clarify that we mean native source format.
1495     [Phil Hands]  Closes:#847987.
1496
1497   Error messages:
1498   * Slightly better message when .dsc not found.  Apropos of #844128.
1499   * Give better advice if .dsc/.changes signing fails: if no changes
1500     are needed to the package, user may indeed just debsign and dput.
1501     Closes:#844131.
1502   * Produce better error reporting when absurd git wrapper fails
1503     on a patch during .dsc import.  Apropos of #848391.
1504
1505   Bugfixes:
1506   * If we cannot hardlink origs into our extraction area, use symlinks
1507     instead.  Closes:#844570.
1508   * Suppress some leftover debugging output from import-dsc.
1509     Closes:#847658.
1510   * Do not fail when cloning a package containing dangling symlinks.
1511     Closes:#848512.
1512   * Do not fail to import a .dsc containing patches which patch files
1513     multiple times, due to #848611.  Closes:#848391.
1514   * Do not fail to import a .dsc containing patches to .git/ (!)
1515   * infra: dgit-repos-policy-debian which broke due to recent git setting
1516     GIT_ALTERNATE_OBJECT_DIRECTORIES in the pre-receive-hook.
1517     (fixes test suite regression in stretch).
1518
1519   Test suite:
1520   * Provide and use stunt lintian and debuild, to avoid lintian
1521     complaining about our stupid test packages.
1522     (fixes test suite regression in stretch).
1523
1524  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 19 Dec 2016 17:35:18 +0000
1525
1526 dgit (2.11) unstable; urgency=medium
1527
1528   Documentation:
1529   * dgit-user(7): Better explanation of combined suites (comma syntax).
1530     Thanks to Sean Whitton for review and suggestions.
1531   * dgit(1), dgit(7): Better reference docs for combined suites.
1532   * dgit(1): Improve formatting of rpush section.
1533
1534   Test suite:
1535   * Replace make in Test-Depends with build-essential.  Most of the tests
1536     do in fact run dpkg-buildpackage which bombs out if build-essential is
1537     missing.
1538
1539  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 08 Nov 2016 22:41:29 +0000
1540
1541 dgit (2.10) unstable; urgency=medium
1542
1543   New features:
1544   * Support the Debian *-security suites.
1545   * New comma-separated multiple-suite merging facility (readonly),
1546     so that users can easily track "jessie, or jessie-security".
1547   * dgit-user(7): Suggest `dgit clone P jessie,-security'.
1548
1549   Bugfixes:
1550   * Cope when an orig tarball is a tarbomb.  Ie, if it contains
1551     other than one single directory toplevel.  Closes:#843422.
1552   * Actually honour the branch name, if we are on dgit branch, to specify
1553     the suite, as documented in the manpage.
1554   * When cloning a distro which has no git server, correctly leave
1555     the user on the local dgit branch, not on `master'.
1556   * Fix an unconditional print that was supposed to be a printdebug:
1557       origs <blah>.orig.tar.gz f.same=1 #f._differ=-1
1558   * Print a slightly better message if .git found in orig tarball(s).
1559
1560   Test suite:
1561   * Test suite: Add fakeroot and make to Test-Depends.  These aren't
1562     necessarily pulled in by anything else.  (dpkg-dev Recommends
1563     build-essential.  But we don't actually need build-essential.)
1564
1565  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 08 Nov 2016 01:08:51 +0000
1566
1567 dgit (2.9) unstable; urgency=medium
1568
1569   New features:
1570   * During push, automatically calculate which .origs are required,
1571     so user never needs [--ch:]-sa or [--ch:]-sd.  Closes:#829116.
1572   * New import-dsc feature.
1573   * New option --dgit-view-save= for split view quilt modes.
1574     In particular, means that the output of a split view quilt-fixup
1575     is left somewhere useful.
1576   * dgit clone: Set timestamps in cloned tree to a single unified time.
1577     This makes it less likely that the user will trip over any
1578     timestamp-dependent FTBFS bugs (eg #842452).
1579   * Support dgit --delayed= push (with a warning in the manpage
1580     about possible skew).
1581   * dgit gbp-build will arrange to let gbp buildpackage generate
1582     .orig tarballs if it seems applicable.  Closes:#841094.
1583
1584   Documentation improvements:
1585   * dgit-*(7).  Many new tutorial manpages, several written and many
1586     improved by Sean Whitton.
1587   * dgit(7): Substantial updates, including documenting split view.
1588   * dgit(1): Better cross-references.
1589   * dgit(1): Remove obsolete workflow information.
1590   * dgit(1): Improved BUGS section.
1591   * Fix changelog entry for SIGPIPE to correctly mention
1592     Closes:#841090.
1593
1594   Bugfixes:
1595   * Split brain mode: Fix --new.  Closes:#842577.
1596   * Properly look for .origs etc. in .., fetching them less often.
1597     Closes:#842386.
1598   * Reject `dgit pull' in split view quilt modes, to avoid
1599     creating unfortunate wreckage on non-dgit-view branches.
1600     Closes:#842608.
1601   * Cope when cloning suite which doesn't receive uploads,
1602     like testing.  Closes:#842621.
1603   * Properly fetch all archive dgit view tags, as we intended.
1604   * Actually provide a -p (--package=) option (!)
1605
1606   Test suite fixes:
1607   * Test suite: Explicitly configure user.name and user.email, so
1608     that tests work when environment doesn't have defaults.
1609     Closes:#842279 (I hope).
1610
1611  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 31 Oct 2016 12:47:18 +0000
1612
1613 dgit (2.8) unstable; urgency=medium
1614
1615   * When in split build mode for `gbp-build' or `build', run
1616     mergechanges as is required.  Closes:#841990.
1617   * Test suite: build-mode-*: Check that right .changes comes out
1618     (detects #841990).
1619   * Defend against debian/patches/series being an unusual object, in case
1620     dpkg-source doesn't, in absurd git-apply fallback.
1621
1622  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 25 Oct 2016 17:29:23 +0100
1623
1624 dgit (2.7) unstable; urgency=medium
1625
1626   Absurd bugfix for serious bug:
1627   * Work around `git-apply' problems (eg #841865, #829067) exposed by
1628     `gbp pq import' (#841866) by sometimes falling back to an emulation of
1629     git-apply in terms of dpkg-source --before-build.  Closes:#841867.
1630
1631   Minor changes:
1632   * dgit(1): Reorder the options, moving more important ones earlier.
1633   * dgit(1): Some more info about --deliberately.
1634   * Provide various --force-something options.  Please don't use them.
1635
1636  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 24 Oct 2016 02:37:28 +0100
1637
1638 dgit (2.6) unstable; urgency=medium
1639
1640   Fixes to HTTP handling:
1641   * Check for non-2xx HTTP status codes from ftpmaster api server.
1642   * Always honour --curl= and --curl:.
1643
1644  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 23 Oct 2016 14:57:22 +0100
1645
1646 dgit (2.5) unstable; urgency=low
1647
1648   Substantive changes:
1649   * Do not crash in split brain quilt modes when the two brains are
1650     actually identical.  (Eg --quilt=gbp with no patches.)  Closes:#841770.
1651   * Switch to new archive/ tag format by default, even in
1652     non-split-brain mode.
1653   * Provide --gbp and --dpm as aliases for --quilt=gbp and --quilt=dpm.
1654
1655   Documentation:
1656   * dgit-maint-merge(7): New tutorial manpage from Sean Whitton.
1657
1658   Test suite:
1659   * Introduce setup/gnupg, to help work around gnupg2 bug #841143
1660     and improve performance by amortising gnupg migration cost.
1661   * Various bugfixes.
1662
1663  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 23 Oct 2016 13:20:23 +0100
1664
1665 dgit (2.4) unstable; urgency=low
1666
1667   Bugfixes:
1668   * split brain cache: Fix a wrong implicit reference to $_.
1669     Closes:#841383.
1670   * split brain cache: Make sure to write reflog entries for cache updates
1671     even if the eventual tree (and therefore commit) is the same.
1672     Otherwise, after updating dgit, the cache might have the right answer
1673     but not be refreshed even by a build.
1674   * dgit gbp-build: No longer invent a --git-debian-branch option.
1675     Usually the user is a maintainer using split brain, and we should rely
1676     on their own gbp configuration to specify the right check.
1677     Closes:#841100.
1678
1679   Minor docs fix:
1680   * dgit(1): Document which --ch: options are a good idea.
1681
1682  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 20 Oct 2016 16:31:54 +0100
1683
1684 dgit (2.3) unstable; urgency=low
1685
1686   * With --overwrite, do not check all sorts of tags (which may
1687     not exist, or might contain wrong things).  Closes:#841101.
1688   * When generating pseudomerge in quilt split brain mode due to
1689     --overwrite, actually include the version number in the commit
1690     message.
1691
1692  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 18 Oct 2016 01:58:05 +0100
1693
1694 dgit (2.2) unstable; urgency=low
1695
1696   * Fix config relating to Debian to actually make split brain mode
1697     work.  Closes:#841085.
1698   * Detect SIGPIPE (and SIGCHLD) being blocked or ignored.
1699     Closes:#841090.
1700
1701  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 17 Oct 2016 17:31:18 +0100
1702
1703 dgit (2.1) unstable; urgency=low
1704
1705   * Do not crash due in clone to failure to handle dpkg-parsechangelog
1706     SIGPIPE.  Closes:#840989.  Avoids:
1707        dgit: failed command: dpkg-parsechangelog --format rfc822 --all
1708        dgit: subprocess died due to fatal signal PIPE
1709   * git- prefixes: Fix some occurrences of `git-foo' in infrastructure,
1710     messages, and test suite.  Filter out .../git-core from PATH in
1711     test suite so that we catch future occurrences.
1712
1713  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Oct 2016 19:05:14 +0100
1714
1715 dgit (2.0) unstable; urgency=low
1716
1717   Incompatible change:
1718   * dgit sbuild: does not pass -A to sbuild.  Consequently the default
1719     build is now simply sbuild's default.  With older sbuilds it was
1720     possible to override dgit's -A by passing another option.  But this
1721     has been changed recently and now this default setting is very awkward
1722     to change for the dgit user.
1723   * dgit gbp-build: Make --quilt=gbp the default.  (See below.)
1724   * New tag format (for dgit view) archive/debian/VERSION.
1725
1726   Major new feature:
1727   * --quilt=gbp, --quilt=dpm, --quilt=unpacked: Introduce facility for
1728     split view (dgit/mainiainer view), to improve compatibility with some
1729     workflow tools.
1730
1731   New checks and improved behaviours in dgit:
1732   * When running dpkg-buildpackage, cope if user specified -g or -G.
1733   * dgit sbuild: check that the set of .changes files found is as we
1734     expect, before calling mergechanges.  Re:#800060.
1735   * dgit sbuild: Rename the used-up .changes files to `.inmulti' to
1736     avoid accidental use of the wrong one (by software, or by users).
1737   * dgit sbuild: Check that the binary .changes file doesn't contain a
1738     .dsc.
1739   * Introduce --rm-old-changes to delete previous builds' changes files.
1740   * Remove any pre-existing _source.changes file before building source,
1741     as a safety check.
1742   * No longer tolerate a multitude of .changes files when doing push.
1743     Instead, insist on a single one.  Closes:#800110.
1744   * dgit sbuild no longer deletes extranious .changes files; instead
1745     we rely on --rm-old-changes, or failing that, fail early.
1746   * When doing quilt linearisation, treat upstream .gitignores not
1747     in the toplevel the same way we treat ones in the toplevel.
1748   * When automatically generating quilt patch, honour GIT_COMMITTER_DATE
1749     for filename creation (makes filename deterministic in test suite).
1750   * New --overwrite option, replaces need to for user to use
1751     git merge -s ours.  Closes:#838718.
1752   * When generating quilt patches from git commits, make patches that
1753     look quite like git-format-patch output (rather than strange things
1754     based on an obselete interpretation of DEP-3).
1755   * When generating quilt patches from git commits, honour (and strip)
1756     any Gbp-Pq headers (that we understand).
1757   * Several dgit-generated commits now have slightly better annotations
1758     from dgit about what it was doing.
1759   * Before committing to push, check that .dsc and .changes correspond.
1760     Closes:#800060.
1761   * Better error message if non-split-brain patch stack no longer
1762     applies (due to new upstream version, or user messing with it).
1763     Closes:#833025.
1764   * Better error message if HEAD contains changes unrepresentable
1765     by `3.0 (quilt)'.  Closes:#834618.
1766   * Much better error message when HEAD and .dsc do not match.
1767     Closes:#809516.
1768
1769   Infrastructure:
1770   * dgit-repos-policy-debian: Better error handling.
1771   * dgit-repos-policy-debian.: fix git-cat-file-handling with multiple
1772     taints in db (!).
1773   * dgit-infrastructure has, and uses, its own copies of the perl modules.
1774     This avoids introducing a versioned dependency between dgit and
1775     dgit-infrastructure (and also makes it easier to test cross-version
1776     compatibility).
1777
1778   Documentation:
1779   * Document the dgit-distro.DISTRO.quilt-mode config setting.
1780   * Clarify the --clean= options' documentation.  Closes:#800054.
1781   * Discourage use of the --PROGRAM:OPTION escape hatch.  (Apropos
1782     of various bug reports including #800060 and #833025.)
1783   * Document the expected form of HEAD for each --quilt= mode.
1784
1785   Bugfixes:
1786   * When cleaning up after failed clone, stat the to-be-cleaned-up
1787     directory before running rmtree on it.  Closes:#796773.
1788   * Do not call "warn" on failure of cleanup handler in END block
1789     (since warn has been made fatal and aborts the cleanup chain).
1790   * Print better error message (with `fail' rather than `die') if
1791     `dgit clone' cannot create the destination directory.
1792   * Properly substitute $changesfile in one of the `You can retry'
1793     messages.  Closes:#800078.
1794   * Pass --ch:* and -v options to dpkg-buildpackage when building
1795     source.  Fixes bad Perl poetry syntax.  Closes:#829121.
1796   * When synthesing a commit from a .dsc from the archive, stop
1797     internal git reset from printing a confusing message about HEAD.
1798   * Turn off git gc in the private working areas.
1799   * Do not fail to do some important quilt processing in some
1800     --quilt modes.
1801   * Fix two calls to chdir without proper error checking.
1802   * Fix a couple of bugs in error reporting.
1803   * Fix several bugs in .orig detection/recognition.
1804   * Tidy up refs/dgit-fetch/ after dgit fetch (if successful).
1805   * Fix handling of in-archive copies.
1806   * Don't break if user has push.followTags=true.  Closes:#827878.
1807   * Arrange for the special dgit remote to be skipped by git fetch --all
1808     etc.  And no longer configure a fetch spec, since it won't work
1809     anyway.  Closes:#827892.
1810   * Allow local git config options to override user-global ones,
1811     as is proper.  Closes:#835858.
1812   * When generating patch filenames from titles, first transliterate
1813     them (lossily) to ascii.  Closes:#834807.
1814
1815   Test suite:
1816   * When sbuild fails, do not crash due to sed not finding the log
1817     file.  Instead, simply tolerate the absence of the log file.
1818   * Put --no-arch-all in build-modes-sbuild act, not only its real_act.
1819     Cosmetic change only.
1820   * Set GIT_COMMITTER_DATE and GIT_AUTHOR_DATE and increment them
1821     explicitly in drs-push-rejects test.  This avoids date dependencies
1822     which can cause that test to fail on fast computers.
1823   * Remove some spurios .debs from the example_1.0.tar.
1824   * Increase sqlite_busy_timeout in debpolicy-dbretry, because old
1825     zealot is very slow and we need to give the other processes time
1826     to rollback and release the lock.
1827   * Test quilt single-debian-patch.
1828   * Provide `tartree-edit gitfetchinfo' etc. to help with comparing
1829     different test case git working tree tarballs.
1830   * Test dgit-repos-policy-debian with multiple (identical, as it happens)
1831     existing taints.
1832   * Provide better log output for certain failures.
1833   * Many new tests (especially for new functionality).
1834   * Add missing debhelper (>=8) to test suite's global Depends.
1835   * tstunt arrangements: Fix mishandling of PERLLIB, etc.
1836   * tstunt-parsechangelog: Produce Timestamp field (like official one
1837     does, now).
1838   * Do not fail when git requires --allow-unrelated-histories.
1839
1840  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Oct 2016 12:12:50 +0100
1841
1842 dgit (1.4) unstable; urgency=high
1843
1844   Bugfixes:
1845   * Unbreak --dry-run (`exiting subroutine via next', broken in
1846     ac221d67, bug released in 0.22).
1847   * When running git-add in commit-quilty-patch, properly escape
1848     filenames (which git-add treats as glob patterns).
1849   * When running git-add in commit-quilty-patch, use -f and sometimes -A,
1850     so as to avoid being broken by any .gitignore, etc.
1851   * When quilt linearisation fails, print the right information in
1852     the error message.  (This has been broken forever.)
1853   * Cope properly with `3.0 (quilt)' with single-debian-patch.
1854     Closes:#796016.  (Still does not work with wheezy's dpkg-source, so
1855     no test case yet.)
1856   * With dgit sbuild, pass our -d before the user's arguments, so that
1857     the user can override it.  Closes:#796019.
1858
1859   New checks and improved behaviours:
1860   * Detect and reject git trees containing debian/source/local-options
1861     or debian/source/local-patch-header.
1862   * In --dry-run mode, _do_ actually run dpkg-source --commit so that we
1863     actually do construct the quilt fixup commit; instead, honour
1864     --dry-run by avoiding pulling it back to your HEAD.
1865   * quilt-fixup checks that the git tree is clean, as for build-prep.
1866
1867   Documentation:
1868   * In dgit(7), discuss binaries and documentation present in upstream but
1869     removed by rules clean.
1870
1871   Test suite:
1872   * Run quilt-fixup with -wgf in distropatches-reject,
1873     so that we don't need build-depends.
1874
1875  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 22 Aug 2015 15:31:02 +0100
1876
1877 dgit (1.3) unstable; urgency=high
1878
1879   Important bugfixes:
1880   * In option parser test `@ARGV' not `length @ARGV'.  Closes:#795710.
1881   * Properly quote package name when constructing regexp in
1882     complete_file_from_dsc.  Closes:#795736.  Also, grep the code for
1883     likely similar problems elsewhere and improve a (harmless) instance in
1884     dgit-repos-server.
1885
1886   Other improvements:
1887   * If a .orig in .. is a symlink, hardlink the link target into our
1888     private unpack directory, rather than the link itself (since latter
1889     won't work if the symlink is relative).  Closes:#795665.
1890   * Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.
1891   * Infrastructure: Improve an error message in dgit-repos-policy-debian.
1892
1893  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Aug 2015 17:51:02 +0100
1894
1895 dgit (1.2) unstable; urgency=high
1896
1897   Improvements:
1898   * Honour *.clean-mode configuration setting for --clean= mode.
1899   * No longer require option values to be cuddled: support `--opt val' and
1900     `-o val'.  Closes:#763332.
1901
1902   Manpages:
1903   * Fix typos.
1904   * Document that tags are in DEP-14 format, and that they
1905     are used for authenticating pushes.
1906   * Correct cross-reference to point to browse.d.d.o.
1907   * Move dgit.default.* to main CONFIGURATION section.
1908
1909   Administrivia:
1910   * Add missing close of #793060 to changelog for version 1.1.
1911
1912  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 14 Aug 2015 18:27:20 +0100
1913
1914 dgit (1.1) unstable; urgency=medium
1915
1916   Bugfixes:
1917   * When source package contains things called .git (even files, and even
1918     in subdirectories), remove them.  Closes:#793671.
1919   * Work around curl -sS -I printing `HTTP/1.0 200 Connection established'
1920     before the actual header, so dgit works with https_proxy set (!)
1921   * --new is needed for read access to packages in NEW, too.  Document
1922     this, and make it work properly.
1923   * Work around #793471 (madness with $SIG{__WARN__} and Perl's system
1924     builtin): move $SIG{} setting into setup_sigwarn in Dgit.pm, and
1925     check getppid.
1926   * When invoking git-buildpackage via dgit gbp-build, consider our
1927     command line arguments when massaging the dpkg-buildpackage arguments,
1928     so that we don't end up giving dpkg-buildpackage contradictory
1929     instructions.
1930   * Cope with new git-buildpackage which provides gbp, rather than the
1931     eponymous command, on PATH.
1932
1933   Configurability:
1934   * Honour dgit-distros.DISTRO.cmd-CMD and .opts-CMD.  Closes:#793427.
1935   * Make configuration able to prevent dpkg-mergechangelogs setup.
1936   * Provide dgit setup-new-tree (like dpkg-setup-mergechangelogs
1937     but only does it if not disabled in config).
1938   * Set up git user.email and user.name from distro access config
1939     or DEBEMAIL/DEBFULLNAME.  Closes:#793410.
1940   * When key to use not specified any other way, use the debian/changelog
1941     trailer line.  Closes:#793423.
1942   * Honour --git= (mostly).
1943
1944   Documentation:
1945   * Fix some manpage typos.  [ Richard Hartmann ]
1946   * Manpage said that --clean=check was -wn but that is --clean=none;
1947     correctly document that --clean=check is actually -wc.
1948   * Document that up to -DDDD (not just -DD) is meaningfully different.
1949   * Document that -cname=value applies only for this run.
1950   * Improve manpage comment about defining a new distro.
1951   * Document that --quilt=linear is the default for Debian.
1952   * Fix a formatting problem in --build-products-dir= doc.
1953   * In manpage, do not seem to imply that NMU should be of only one
1954     new commit.
1955   * Qualify to Debian the manpage comment about how to do NMU.
1956   * In discussion on how to start using dgit when already using git, do
1957     not imply/assume that existing git history will have identical trees
1958     to dgit history.
1959   * Remove stray sentence in config section of manpage.
1960   * Manpage: Clarify wording of readonly config.
1961   * Manpage: Better cross-references for -k and keyid.
1962   * dgit(7): No longer say that dgit-repos lives on Alioth.
1963
1964   Improvements:
1965   * Introduce more sophisticated protocol negotiation for rpush.
1966   * Do not quote `:' in shellquote.
1967   * Print a supplementary message when push fails, giving advice to
1968     the user about how to retry.  Closes:#793144.
1969   * Slurp in entire git config, for better performance.
1970   * Rename `git-build' operation to `gbp-build' to make it clearer what
1971     it's for.  Keep the old name as an alias.
1972   * Show `dgit sbuild' in usage message.
1973   * When we are using dpkg-buildpackage to clean before using it to also
1974     do the build, let it do its cleaning thing as part of its run, rather
1975     than running it twice.  When we are _not_ supposed to be using
1976     dpkg-buildpackage to clean, but we are running it to do the build,
1977     pass -nc.  Closes:#793060.
1978   * Also suppress spurious runs of the clean target when building using
1979     git-buildpackage.
1980   * When exec fails, always print the program name in the error message.
1981
1982   Infrastructure:
1983   * Infrastructure: Get mirroring right for fresh repos of existing
1984     packages (!)
1985
1986   Packaging, cleanups, debugging and test suite:
1987   * Fix Vcs-Git and Vcs-Browse to refer to chiark.  (The dgit-repos on
1988     alioth aren't suitable right now because the master there can
1989     currently only be updated with an actual upload, ie dgit push.)
1990   * Make warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch
1991     (using setup_sigwarn).
1992   * tstunt/dpkg-parsechangelog: Make warnings fatal (directly).
1993   * tstunt/dpkg-parsechangelog: Do not complain if PERLLIB is empty.
1994   * Test suite: Honour DGIT_TEST_DEBUG=''.
1995   * With -DDDD, print out all gitcfg references (copious!)
1996   * Fix a debug message in the obsolete sshpsql archive access driver.
1997   * Test suite: More automatic enumeration of tests.
1998   * Test suite: Provide tests which check that all our various build
1999     operations run the right targets as expected (ie, that we are massaging
2000     the arguments to dpkg-buildpackage, and suppressing our clean target,
2001     etc., correctly).
2002
2003  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 27 Jul 2015 16:34:31 +0100
2004
2005 dgit (1.0) unstable; urgency=medium
2006
2007   Improvements:
2008   * Switch to new production git repositories for reading.
2009     (this can no longer divert to alioth).  Public readonly access
2010     now works.  Closes:#791447.
2011   * Memoise git config lookups (big speedup!)
2012   * Provide -wdd aka --clean=dpkg-source-d.  Closes:#792433.
2013   * Provide -wc aka --clean=check.
2014
2015   Manpage updates:
2016   * Remove some obsolete caveats from BUGS.
2017   * Reorganise and complete the configuration section.
2018   * Remove obselete comment about DMs not being able to push.
2019     We have, for now, a way to add keys manually.  Closes:#720173.
2020
2021   Access machinery:
2022   * Remove configuration relating to alioth.
2023   * Provide for different access mechanisms when pushing.
2024   * Provide for configurable git url suffix.
2025   * Allow git-url to be '' to force fallback to git-proto etc.
2026   * Provide for checking git presence via http[s].
2027   * Do some quoting on debug output (needed if the server might not
2028     be trustworthy and might send us bad stuff).
2029   * Talk to push.dgit.debian.org, rather than the .debian.net alias.
2030
2031   Infrastructure:
2032   * Provide for mirroring git updates to a different server.
2033   * Provide cgit-regen-config command for cgi-grnet-01.
2034   * Make dgit-ssh-dispatch not spew (harmless) warnings if caller
2035     tries for a shell session (ie SSH_ORIGINAL_COMMAND not set).
2036
2037   Cleanups:
2038   * Remove an obsolete comment from the code.
2039   * Improve an error message from dgit-repos-policy-debian.
2040   * Test suite: Break out t-make-hook-link.
2041   * Fix a manpage typo.
2042
2043  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 19 Jul 2015 22:15:53 +0100
2044
2045 dgit (0.30) unstable; urgency=high
2046
2047   INCOMPATIBLE CHANGES:
2048
2049   * Client uses new infrastructure:
2050     - Check for new dgit git service on dgit-git.debian.net (ie
2051       gideon.debian.org), with transition plan based on diversion feature.
2052       Closes:#720172.
2053     - Old versions of dgit will stop working when the server-side handle is
2054       pulled.
2055
2056   * dgit git trees no longer contain .pc for format `3.0 (quilt)' source
2057     packages.  Closes:#764606.
2058     - It is deleted whenever we find it.
2059     - Older versions of dgit will choke on trees without .pc.
2060     - (When doing quilt fixup, we recreate a suitable .pc in a temporary
2061       directory so that we can do dpkg-source --comit.)
2062
2063   * All users are urged to upgrade ASAP.
2064
2065   Other significant improvements:
2066
2067   * When generating quilt patches, try to linearise the git history into a
2068     series of individual new patches for debian/patches.  Closes:#770710.
2069
2070   * When receiving a push with dgit-repos-server, update the server's
2071     refs/heads/master if we are pushing to what the distro regards as a
2072     relevant branch, and the push would ff master.  Closes:#728209.
2073
2074   * For non-Debian distros, distro version release tags contain distro
2075     name a la DEP-14 (rather than hardcoding `debian/').
2076
2077   * Set up a merge driver for debian/changelog.  Closes:#769291.
2078
2079   * --clean=git and --clean=none cause dgit to pass -nc to
2080     dpkg-buildpackage, suppressing calls to the package's clean target.
2081     Also, expand the documentation in this area slightly.  Closes:#768590.
2082
2083   * Provide --clean=git-ff (aka -wgf), which is useful for dgit itself (!)
2084
2085   Minor improvements:
2086
2087   * Reduce some noise output and improve the clarity of some messages.
2088   * Be more careful about tag updates during fetch: only update tags
2089     referring to uploads to distro we are trying to fetch from.
2090   * Change realpath dependency to `coreutils (>= 8.23-1~) | realpath'
2091     (Closes:#786955.)
2092
2093   Bugfixes:
2094
2095   * Fix handling of rmadison-based and gitless distros (e.g., Ubuntu).
2096   * Add missing `gpgv' to test dependencies in debian/tests/control.
2097   * Strip `-b <branch>' from contents of Vcs-Git header, when setting up
2098     the vcs-git remote.  Closes:#759374.
2099   * Do not offer wget as an alternative dependency to curl.  We always
2100     unconditionally invoke curl and have no code to use wget.
2101     Closes:#760805.
2102   * Complain about lack of cuddled values for value-taking single-letter
2103     options, rather than thinking the user meat an empty value.
2104     Closes:#763332.
2105   * Reject (rather than ignoring) further options merged witth -wn, -wg,
2106     -wd.
2107   * Fix inaccurate error message when archive's git hash is not an
2108     ancestor of git repo's git hash.
2109   * Detect and bomb out on vendor-specific `3.0 (quilt)' patch series.
2110   * Fix the rules clean target to remove test results and output.
2111
2112   Documentation improvements:
2113
2114   * Break out dgit(7) from dgit(1).
2115   * Provide example workflow for dgit rpush.  Closes:#763334.
2116     (Also part of the fix for #768470.)
2117   * Document that dgit repos are cloneable with git, in dgit(1)
2118     section MODEL.  [Andreas Barth.]  Closes:#768470.
2119   * Better documentation for quilt series handling.
2120   * Document under `dgit push' that it is best to build with dgit too.
2121     Closes:#763333.
2122   * Other minor clarifications and improvements.
2123
2124   Behind-the-scenes work:
2125
2126   * Use ftpmasterapi archive query method.
2127     (Closes:#727702.  Also partly obsoletes #768470.)
2128   * New dgit-infrastructure binary package containing dgit-repos-server et
2129     al.  Client users probably don't want this stuff.  Also, it provides a
2130     convenient way to publish the dependencies.
2131   * Many many bugfixes to the server side (dpkg-repos-server et al.).
2132   * Add :..; prefix to ssh remote commands, for the benefit of future
2133     forced command wrappers.  Implicitly, this defines a new ssh-based
2134     command protocol.  Closes:#720174, #720175.
2135   * Distro access configuration handling changes (should not be noticeable
2136     to most users).
2137   * In places, significant restructuring or tidying up.
2138   * Turn all perl warnings into errors using $SIG{__WARN__}.
2139
2140  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 05 Jul 2015 01:34:55 +0100
2141
2142 dgit (0.22.1) unstable; urgency=high
2143
2144   * Use Dpkg::Version::version_compare everywhere, not
2145     Dpkg::Version::version_compare_string.  The latter is entirely wrong,
2146     meaning that dgit would get many version comparisons wrong.
2147     Closes:#768038.
2148
2149  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 04 Nov 2014 12:46:40 +0000
2150
2151 dgit (0.22) unstable; urgency=medium
2152
2153   Bugfixes:
2154   * Clone removes destination directory on error.  Closes:#736153.
2155   * Work with wheezy-backports (and keep squeeze-backports working too).
2156     Closes:#736524.
2157   * Work in read-only no-git-history mode with Ubuntu.  You still have
2158     to pass -dubuntu.  Closes:#751781.
2159   * Use mirror.ftp-master.debian.org DNS alias rather than coccia.
2160     Closes:#752602.
2161   * Check hashes of files ourselves rather than running dget to
2162     re-retreive the .dsc.
2163   * Check SHA-256 of .dsc against hash from archive_query (ie projectb)
2164     rather than letting dpkg-source do a signature verification.
2165     Closes:#737619.  Closes:#737625.
2166   * Treat .dsc as bytes, just like everything else, rather than letting
2167     HTTP::Message convert it to a Perl unicode string which the rest of
2168     the program mishandles.  Closes:#738536.
2169
2170   Minor improvements:
2171   * Include canonicalised suite name in signed tag message.
2172   * Mention cross-version dgit rpush incompatibility in manpage.
2173   * Check for rpush protocol version incompatibility and crash early
2174     if incompatible.
2175   * New script tests/using-intree for running tests on the source tree.
2176   * Do not spew diff output to terminal (by default).  Print sensible
2177     message instead.  Closes:#736526.
2178   * Print better message for lack of configuration settings.
2179   * Document that dgit rpush needs gnupg and your public key on the build
2180     host.  Closes:#736529.
2181   * Fix a manpage reference to `--dget=' where `--dgit=' was intended.
2182   * Provide t-archive-process-incoming and t-archive-query subroutines for
2183     regression test scripts to use.
2184   * Print better message for unknown operations.
2185   * Provide `dgit clean'.  Closes:#736527.
2186   * When cloning, set up a remote `vcs-git' from the package's Vcs-Git
2187     (and put an appropriate caveat in the manpage).  Closes:#740687.
2188     Closes:#740721.
2189   * Improve error message for .dsc having already been signed (iff
2190     using libdpkg-perl 1.17.x).  Closes:#731635.
2191   * Improve error message for .dsc parsing failures more generally.
2192   * Better reporting of child exit statuses (esp. deaths due to signals).
2193   * In rpush, on protocol error talking to build host, check if the
2194     subprocess died and report differently if so.  Closes:#736528.
2195   * Fixed a manpage typo.
2196   * When tests invoke dgit, use --dgit= so that subprocesses use our
2197     dgit rather than system one.
2198   * Add a test for dgit rpush.
2199
2200   Major new feature, currently stalled awaiting server infrastructure:
2201   * dgit-repos-server: New program for receiving signed-tag-based
2202     pushes.  Corresponding support in dgit itself, but not currently
2203     used by default for any distro.
2204   * Bring forward push of the version tag ref so it happens alongside
2205     the push of the suite branch ref.
2206   * New git-check and git-create methods "true" which are no-ops.
2207   * test-dummy-drs `distro': for testing dgit and dgit-repos-server.
2208
2209  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 19 Aug 2014 11:24:02 +0100
2210
2211 dgit (0.21) unstable; urgency=medium
2212
2213   Bugfixes relating to unclean trees:
2214   * Run a clean (of the specified type) before any build operation; do
2215     this with `dpkg-buildpackage -T' clean if necessary, so -wd now works
2216     with all the building methods.
2217   * Refuse to do quilt fixup (explicitly requested, or as a result of
2218     build) if the tree contains ignored files.  Closes:#731632.
2219
2220   Error message improvements:
2221   * Use failedcmd to report errors when ssh psql fails.  Closes:#734281.
2222   * failedcmd prints $us, not $_[0] - ie, dgit doesn't pretend,
2223     in the error message, to be its child.
2224   * Do not report the (irrelevant) $? when madison parsing fails.
2225
2226   Better workflow flexibility:
2227   * Provide --build-products-dir option (and corresponding semantics
2228     for -C) to specify where to find the files to upload.  Closes:#731633.
2229
2230   Support for Debian backports suites:
2231   * New quirks infrastructure in configuration and internals,
2232     for suites (or perhaps distros) which are a bit like others.
2233   * Use correct default archive location.
2234   * Compute "-v" option default value correctly.
2235   * Closes:#733954.
2236
2237   Packaging improvement:
2238   * Add `Testsuite: autopkgtest' to debian/control.  (This will only have
2239     the right effect with recent enought dpkg; it will generate a harmless
2240     warning with earlier versions of dpkg.)
2241
2242  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 19 Jan 2014 02:14:25 +0000
2243
2244 dgit (0.20) unstable; urgency=high
2245
2246   * Use newest (not oldest) version currently in suite when calculating
2247     what value to use for -v<version> by default.  Closes:#732781.
2248
2249  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 21 Dec 2013 19:13:56 +0000
2250
2251 dgit (0.19) unstable; urgency=low
2252
2253   Testing facilities:
2254   * Provide "test-dummy" distro with "dummycat" access method.
2255   * Provide a selection of autopkgtest (DEP-8) tests.
2256
2257  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 27 Nov 2013 18:27:17 +0000
2258
2259 dgit (0.18.2) unstable; urgency=high
2260
2261   Bump archive upload urgency to high.
2262
2263  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 24 Nov 2013 17:42:57 +0000
2264 dgit (0.18.1) unstable; urgency=low
2265
2266   Bugfixes:
2267   * sshpsql archive query method passes LANG=C.  Closes:#729788.
2268   * Subcommand program or argument options containing hyphens work.
2269     (Eg, --dpkg-buildpackage:blah was previously incorrectly rejected.)
2270
2271   Packaging fixes:
2272   * Depend on dput.
2273   * Depend on curl | wget, as dget needs one of those.  (The dput package,
2274     which contains dget, doesn't require them because dput itself works
2275     without.)
2276
2277  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 24 Nov 2013 17:36:03 +0000
2278
2279 dgit (0.18) unstable; urgency=low
2280
2281   Major new feature:
2282   * Remote push (dgit rpush), a la debsign -r.  Closes:#721185.
2283
2284   Improved behaviours:
2285   * dgit build, by default, uses the archive to find out what the correct
2286     -v<version> option is to pass to dpkg-genchanges.  Closes:#727200.
2287   * Abolish the sshdakls method and replace it with sshpsql: that is, ssh
2288     (to coccia, by default) and run sql commands on the ftpmaster
2289     database.  This is faster and has fewer bugs but is vulnerable to db
2290     schema changes.  Closes:#726955.  Closes:#720170.  Closes:#720176.
2291   * When generating git tags, quote the (uncanonicalised) changelog's
2292     Distribution field as the suite.
2293   * Command execution reports from --dry-run go to stderr.
2294
2295   Other new features:
2296   * Support --gpg=... to provide a replacement command for gpg.
2297   * Support --ssh=... and --ssh:... to affect how we run ssh.
2298
2299   Bugfixes:
2300   * When using sbuild, pass the arguments to mergechanges in the right
2301     order so that we use the correct Description (the _source one,
2302     not the one from sbuild which didn't get e.g. -v<version>).
2303   * push actually takes an optional suite, like it says in the synopsis.
2304     Closes:#727125.
2305   * Fix dgit --damp-run sbuild to actually work.
2306   * Fix the "shellquote" internal subroutine.  The bugs in it ought not to
2307     have caused any real trouble in previous versions of dgit.
2308
2309   Documentation and message fixes:
2310   * manpage: Clarify comments about orig tarballs.  Closes: #723605.
2311   * manpage: Remove comment in BUGS about lack of policy docs
2312     for Dgit field, which is specified now.  Closes:#720201.
2313   * manpage: Make discussion of --existing-package less scary.  The
2314     default archive access method no longer needs it.  Closes:#720171.
2315   * Mention "git merge", not "git-merge", in helpful message.
2316     Closes:#725632.
2317
2318   Internal and debugging improvements:
2319   * Report chdir actions in debugging output.
2320   * Improvements to implementation of --dry-run and --damp-run.
2321   * Some code motion and cleanups.
2322
2323   Note: changelog entries for the following versions, which were uploaded
2324   to Debian experimental, have been collapsed into this single entry:
2325     0.18~experimental2 0.18~experimental1
2326     0.17~experimental7 0.17~experimental6 0.17~experimental5
2327     0.17~experimental4 0.17~experimental3 0.17~experimental2
2328     0.17~experimental1
2329     0.16~experimental3 0.16~experimental2 0.16~experimental1
2330   We do describe here all the changes since 0.17.
2331
2332  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 09 Nov 2013 10:12:13 +0000
2333
2334 dgit (0.17) unstable; urgency=high
2335
2336   * Do not grobble around in .git/refs/; instead, use git-show-ref.
2337     This avoids breaking when git makes packed refs.  Closes:728893.
2338   * Clarify error message for missing refs/remotes/dgit/dgit/<suite>.
2339
2340  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 07 Nov 2013 00:02:47 +0000
2341
2342 dgit (0.16) unstable; urgency=high
2343
2344   * Format `(3.0) quilt' fixup does not mind extraneous other files
2345     in the build tree (e.g., build products and logs).  Closes: #727053.
2346   * Set autoflush on stdout, to get better ordering of debugging
2347     etc. output when stdout is redirected.
2348   * New --damp-run mode, for more convenient and fuller testing etc.
2349
2350  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 22 Oct 2013 13:06:54 +0100
2351
2352 dgit (0.15) unstable; urgency=low
2353
2354   * Better handling of packages pushed using dgit and stuck in NEW.
2355     (And, use of `--new' is not needed with fetch.)  Closes: #722199.
2356   * More comprehensive warnings in many cases of archive skew.
2357   * Implement `dgit help' as well as `--help'.  Closes: #721661.
2358   * Provide `dgit version' and `--version'.  Closes: #721654.
2359
2360  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 12 Sep 2013 00:14:05 +0100
2361
2362 dgit (0.14) unstable; urgency=low
2363
2364   * Include package name in tag message.
2365   * Create directory .git/dgit when needed during build.  Closes: #721428.
2366   * Add Vcs-Git and Vcs-Browser [Richard Hartmann].  Closes: #721404.
2367     These fields refer to the development branch, "master", on alioth,
2368     not to the dgit suite refs (which are not accessible to git clone).
2369
2370  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 01 Sep 2013 18:30:44 +0100
2371
2372 dgit (0.13) unstable; urgency=low
2373
2374   * Reuse already-downloaded .orig files after checking their hashes.
2375     Closes: #720526.  (This introduces a dependency on Digest::SHA.)
2376   * Do not always pointlessly fetch the .dsc twice.  (That code was
2377     erroneously duplicated during editing, apparently.)
2378   * Remove DGET_UNPACK from the environment in case the user has set it.
2379   * Remove scary warning from Description.
2380   * When uploading to Debian, tell dput to upload to "ftp-master".  This
2381     avoids problems with derivatives whose dput has a different default.
2382     Closes: #720958.
2383   * Fix some bugs in dgit fetch --dry-run which made dgit push
2384     --dry-run often not work at all.
2385   * Update the local tracking branch for the dgit remote, when pushing.
2386     Closes: #720956.
2387   * Fix references in manpage to old Vcs-Dgit-Master field name.
2388   * Reorganise manpage sections to be in a more conventional order.
2389   * New manpage section on FILES IN THE SOURCE PACKAGE BUT NOT IN GIT.
2390     Closes: #721186.
2391
2392  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 29 Aug 2013 00:27:23 +0100
2393
2394 dgit (0.12) unstable; urgency=low
2395
2396   * Cope with packages with epoch.  Closes: #720897.
2397   * Improve error message for non-fast-forward push.  Closes: #720896.
2398   * New --ignore-dirty option to skip noncritical check.  Closes: #720895.
2399   * New --no-quilt-fixup option to suppress quilt fixup.  RTFM.
2400   * Add Closes line for #720595 to changelog entry for 0.11.
2401
2402  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 26 Aug 2013 16:50:39 +0100
2403
2404 dgit (0.11) unstable; urgency=low
2405
2406   * Location of dgit-repos is now git.debian.org:/git/dgit-repos/repos.
2407     Closes: #720525.  The rename on the server side will break older
2408     versions of dgit.
2409   * Fix bug which would make quilt patch fixup fail if git status
2410     produced "M" lines.
2411   * Autogenerated quilt patch fixup patch Description contains several
2412     recent git commits, rather than implying that the patch corresponds
2413     exactly to the top git commit.
2414   * Use "ftp.debian.org" not "http.debian.net" as the default Debian
2415     archive.  (http.debian.net tends to defeat certain kinds of cacheing,
2416     and can also have more skew.)
2417   * dgit build uses dpkg-buildpackage; there is a dgit git-build
2418     for using git-buildpackage.  Closes: #720595.
2419   * Better error message for use of UNRELEASED suite.  Closes: #720523.
2420   * Do not canonicalise suite more than once.  Related to: #720526.
2421   * Fix a badly open-coded copy of check_not_dirty.  Closes: #720524.
2422   * Fix some bugs in building (eg build-source would fail to do the quilt
2423     fixup; the --clean check in build was wrong).
2424   * Add missing dependency on realpath.
2425   * git-build (git-buildpackage wrapper) does not bother canonicalising
2426     the suite if --git-ignore-branch is used.
2427
2428  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 25 Aug 2013 17:00:43 +0100
2429
2430 dgit (0.10) unstable; urgency=low
2431
2432   * Create .pc/applied-patches - do not empty it (!)
2433
2434  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 25 Aug 2013 00:51:50 +0100
2435
2436 dgit (0.9) unstable; urgency=low
2437
2438   * New cleaning arrangements.
2439   * More comprehensive workaround for `3.0 (quilt)'.
2440   * In push, double-check the .changes against the changelog.
2441   * Better error when source package contains .git.  Closes: #720555.
2442   * Change our .dsc field name to `Dgit'.  Relevant to #720201.
2443   * Fix bug handling our synthetic merges when we see them in
2444     the remote suite branch.
2445   * `3.0 (quilt)' fixup creates .pc/applied-patches since modern
2446     dpkg-source creates it even though old ones didn't always.
2447
2448  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 24 Aug 2013 18:49:02 +0100
2449
2450 dgit (0.8) unstable; urgency=low
2451
2452   * Fix comparison of archive's .dsc's hash and git branch head
2453     to DTRT.
2454   * When creating repos in dgit-repos (using the ssh-cmd method),
2455     copy _template rather than using mkdir and git init.
2456     Closes: #720522.
2457   * In push, do git fetch as well as archive fetch, or archive
2458     fetch can fail.
2459
2460  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 23 Aug 2013 12:24:09 +0100
2461
2462 dgit (0.7) unstable; urgency=low
2463
2464   * If dak ls, or rmadison, reports multiple versions, look for them
2465     all, and pick the newest .dsc that doesn't give 404.
2466   * Manpage formatting fix.
2467   * Name the local remote tracking branch remotes/dgit/dgit/<suite>
2468     so that we avoid a warning from git about ambiguous branch names.
2469
2470  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 18:29:10 +0100
2471
2472 dgit (0.6) unstable; urgency=low
2473
2474   * Allow fetching when archive has out-of-date git hash in .dsc.
2475     Closes: #720490.
2476
2477  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 16:02:10 +0100
2478
2479 dgit (0.5) unstable; urgency=low
2480
2481   * Upload to unstable, as this version mostly works.  (All the RC
2482     bugs of which I'm aware are now properly represented in the BTS.)
2483
2484  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 15:38:00 +0100
2485
2486 dgit (0.4~pre2) experimental; urgency=low
2487
2488   * Mangle debian/<version> tags the way git-buildpackage does
2489     (as of git-buildpackage 0.5.5, 3c6bbd0f4992f8da).
2490   * Support dgit-distro.<distro>.keyid config option.
2491   * Revert change to ssh to alioth CNAME, as the recommended CNAME
2492     is to something with no write access to the fs and the new CNAME
2493     has not yet been set up.  This reintroduces #720172 :-/.
2494
2495  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 15:31:17 +0100
2496
2497 dgit (0.4~pre1) experimental; urgency=low
2498
2499   * Use dgit.debian.net vhost on alioth.  Closes:#720172.
2500   * Usage message.  Closes:#720085.
2501   * Provide "dgit sbuild".
2502   * Assorted manpage fixes and improvements.
2503   * Fail if a required config item is missing.
2504   * Much better error messages.
2505   * Better error checking when parsing RFC822-style control data.
2506   * Better checking that the supplied .dsc and debian/changes correspond.
2507   * Ordering improvement in push: don't add dsc field until git push done.
2508   * New --distro option (helps with unknown suites).
2509   * Bugfixes.
2510
2511  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 13:36:44 +0100
2512
2513 dgit (0.3) experimental; urgency=low
2514
2515   * New version which appears to be able to sort of work at least
2516     some of the time.
2517
2518  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 17 Aug 2013 09:18:04 +0100
2519
2520 dgit (0.2) experimental; urgency=low
2521
2522   * New version which might actually work but probably won't.
2523
2524  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 16 Aug 2013 16:52:17 +0100
2525
2526 dgit (0.1) experimental; urgency=low
2527
2528   * Initial experimental (partial) version.
2529
2530  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 15 Aug 2013 12:09:01 +0100
2531