chiark / gitweb /
debian/rules: Refactor dgit-infrastructure perl arrangements
[dgit.git] / debian / changelog
1 dgit (5.0~) unstable; urgency=low
2
3   Major new utility:
4   * git-debrebase, a new git workflow tool.
5   * dgit will now, when appropriate, check if it should call
6     git-debrebase.
7
8   dgit bugfixes:
9   * Fix the exit status of programs in dgit.deb, to avoid the Perl
10     misfeature which sometimes copies $! to the exit status.
11   * When checking that the tree is clean, check the git index too.
12   * In quilt_fixup_multipatch, work around git checkout paths
13     not deleting files.  (Hypothetical bug AFAIAA.)
14   * Respect --quilt=nofix even if single-debian-patch.
15
16   dgit minor fixes:
17   * "confess" when we die due to a warning, rather than symply dieing.
18
19   Internal changes:
20   * Move $playground global to dgit.
21   * Break git_get_symref and $extra_orig_namepart_re out into Dgit.pm.
22   * Changes to support git-debrebase.
23
24  --
25
26 dgit (4.4) unstable; urgency=high
27
28   Test suite bugfix:
29   * Use full key hash rather than short keyid.  Closes:#896653.
30     [ report: Paul Gevers; fix: Chris Lamb ]
31
32  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 23 Apr 2018 13:18:51 +0100
33
34 dgit (4.3) unstable; urgency=high
35
36   Documentation improvements:
37   * dgit(7): Discuss file executability.  Closes:#886444.
38   * dgit(7): Discuss git-unrepresentable properties of source trees.
39   * dgit-maint-merge(7): Don't suggest using debian/source/patch-header
40     for 1.0 source format.  Closes:#887850.  [Sean Whitton]
41
42   Bugfixes:
43   * dgit archive-api-query: Avoid crashing due to lack of $isuite.
44     This breaks the infrastructure.  Closes:#886592.
45
46  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 25 Jan 2018 00:33:56 +0000
47
48 dgit (4.2) unstable; urgency=low
49
50   * Upload dgit 4.x series to unstable.
51
52   New features [Sean Whitton]:
53   * New 'push-source' subcommand for source-only uploads.  Closes:#848931
54   * When dgit builds a source package, such as in the 'build-source'
55     subcommand, it now bypasses dpkg-buildpackage and invokes dpkg-source
56     directly.  This avoids a _source.buildinfo file in the .changes, which
57     doesn't make sense when using dgit.  See
58     <https://lists.debian.org/debian-dpkg/2017/06/msg00005.html>.
59
60   Documentation improvements:
61   * dgit(1): Add a bit more rationale (polemic, even).  Closes:#874221.
62   * Recommend mk-build-deps rather than apt-get build-dep.
63     Suggestion from Nikolaus Rath.  Closes:#863361.
64   * dgit-maint-merge(7): many updates.  [Sean Whitton]
65     Closes:#864873,#878433.
66   * dgit-*(7): Mention first upload trick.  [Andrew Shadura,
67     Sean Whitton]  Closes:#856402.
68
69   Minor fixes:
70   * When source discrepancy involves file mode changes, report them
71     specially.  Closes:#886442.
72   * In split brain mode, with unexpected diffs, print dgit view
73     commitid in suggested diff rune.  (HEAD is wrong.)  Closes:#886443.
74   * Fix message about missing quilt cache entry to refer to
75     HEAD rather than tree, since dgit needs a commit.  Closes:#884646.
76   * Fix grammar error in 4.1 changelog entry. [Sean Whitton]
77   * Remove some whitespace "errors". [Sean Whitton]
78
79   Packaging:
80   * Remove dependency alternative on realpath (package last existed in
81     Debian wheezy).  Closes:#877552.
82
83   Test suite:
84   * dpkgsourceignores-docs: Correct restriction (so autopkgtest
85     won't try to run it).
86   * Additional workarounds for gnupg races (#868550) including
87     retrying each individual test once, and more sophisticated
88     wrapper for gpg (with locking and, sometimes saves stdin).
89   * oldnewtagalt: Fix regression when running outside git tree,
90     introduced in 4.1.
91
92  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 07 Jan 2018 21:45:29 +0000
93
94 dgit (3.13) unstable; urgency=high
95
96   Important bugfixes to dgit:
97   * Add missing `use' for Dpkg::Compression et al.
98     Thanks to report from Didier 'OdyX' Raboud.  (Closes:#879526.)
99
100   Test suite:
101   * Add missing `chiark-utils-bin' to Test-Depends.
102
103  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 22 Oct 2017 17:51:12 +0100
104
105 dgit (4.1) experimental; urgency=medium
106
107   Important improvements to dgit:
108   * Support for `git worktree' worktrees.  There may still be
109     bugs; the tests for this are not very comprehensive.  And
110     worktrees on different filesystems may not work; that's a
111     matter for the future.  Closes:#868515.
112   * Change the dpkg-source -i argument to exclude exactly the right
113     set of things.  (Sadly this is not a simple rune.)
114
115   Other improvements to dgit:
116   * New print-dpkg-source-ignores option to print the big rune
117     you need to pass to dpkg-source to make it work exactly right.
118   * Properly shell-quote the --git-builder argument to gbp.
119
120   Documentation:
121   * dgit-user(7): Provide information about how to use sbuild.
122     Quite ugly due to #868527.  Closes:#868526.
123   * dgit-user(7): Fixed example rune to use curl (which prints
124     to stdout, as the rune expects).  [reported by Simon Tatham]
125
126   Minor improvements:
127   * Do not leave many clog-* files in .git/dgit.
128
129   Internal changes:
130   * using-these: New script to help with ad-hoc-testing.
131   * Refactoring in preparation for push-source [Sean Whitton].
132
133   Test suite:
134   * sbuild-gitish: New test case to check running sbuild from git
135   * Work around gnupg agent connection races by having our stunt
136     gpg wrapper simply try running gpg again, once, if it exits 2.
137     This does not fully suppress the bug but it does significantly reduce
138     the probability.
139   * Other tests for new features.
140   * Various refactoring.
141
142  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 14 Aug 2017 09:31:03 +0100
143
144 dgit (4.0) experimental; urgency=low
145
146   * dgit: --deliberately-not-fast-forward works properly in
147     split view quilt modes (suppressing the pseudomerge).
148
149  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 12 Feb 2017 22:22:31 +0000
150
151 dgit (3.12) unstable; urgency=high
152
153   Important bugfixes to dgit:
154   * Pass --no-renames to git diff-tree -z, avoiding potential trouble.
155   * Defend against commit subject lines which would generate patches which
156     look like series files, etc.  Involves adding .patch to all generated
157     patch filenames.
158   * dgit import: Defend against broken symlinks in ..
159   * dgit import: Right error message for missing files in ..
160   * dgit import: Avoid making broken symlinks in ..
161   * quilt fixup: Tolerate deletion of executable files.
162   * quilt fixup: Tolerate symlink creation (make patches).  Closes:#857382.
163
164   Important bugfixes to other components:
165   * dgit-repos-server: Do not reject commits with no author/committer
166     email address (but still insist on date, and hence on the actual
167     committer and author commit header fields).  Peter Green reports that
168     eg 66c65d90db100435 in upstream linux.git is such a commit (and is
169     accepted by github).  Closes:#863353.
170
171   Test suite:
172   * t-report-fail: print $PWD as part of failure message.
173   * import-dsc: Test missing files, particularly in ..
174   * run git gc on tests/worktrees/example_1.0.tar.
175   * quilt fixup: Check we can delete files with funny modes
176   * quilt fixup: Check that funny changes are represented properly
177
178  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Jul 2017 21:36:24 +0100
179
180 dgit (3.11~deb9u1) stretch; urgency=high
181
182   * Rebuild and upload to stretch.
183
184  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 11 Jul 2017 09:28:15 +0100
185
186 dgit (3.11) unstable; urgency=high
187
188   Important bugfixes to dgit:
189   * Fix rpush+buildinfo: Transfer buildinfos for signing.  Closes:#867693.
190   * Cope if the archive server sends an HTTP redirect,
191     by passing -L to curl.  Closes:#867185,#867309.
192   * Cope with newer git which hates --local outside a tree.  Closes:#865863.
193   * rpush: Honour local git config from build host working tree.
194   * Tolerate compressor terminating with SIGPIPE.  Closes:#857694.
195   * Honour more pre-tree git config options in our private trees sharing
196     the user's object store.  In particular, core.sharedRepository.
197     Prompted by #867603.
198   * Clone multisuite works even without --no-rm-on-error.  Closes:#867434.
199   * Work if "git init" does not create $GIT/info.  Closes:#858054.
200   * Actually understand foo,-security (!)  Closes:#867189.
201
202   Important bugfixes to other components:
203   * dgit-badcommit-fixup: Honour core.sharedRepository.   Closes:#867603.
204   * infrastructure: Cope with new git-receive-pack which has
205     quarantine feature: ie, work around #867702.
206
207   Test suite:
208   * Cope with git restricting ext:: protocols.
209   * multisuite: Test clone without --rm-on-error.
210
211  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 08 Jul 2017 22:40:15 +0100
212
213 dgit (3.10) unstable; urgency=medium
214
215   Bugfixes:
216   * dgit: Copy several user.* settings from main tree git local config
217     to dgit private workarea.  Closes:#853085.
218   * dgit: Strip initial newline from Changes line from dpkg-parsechangelog
219     so as to avoid blank line in commit messages.  Closes:#853093.
220   * dgit: Do not fail when run with detached HEAD.  Closes:#853022.
221   * dgit: Be much better about commas in maintainer changelog names.
222     Closes:#852661.
223
224   Test suite:
225   * quilt-useremail: New test for user config copying (#853085).
226   * lib-import-chk: Test that commits have smae authorship as appears in
227     the changelog.  (Or, at least, the same authorship set.)
228   * import-maintmangle: New test for changelog Maintainer mangling.
229
230   Documentation:
231   * Fix typos.  Closes:#853125.  [Nicholas D Steeves]
232
233  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 06 Feb 2017 17:49:39 +0000
234
235 dgit (3.9) unstable; urgency=medium
236
237   Improvements:
238   * dgit --overwrite: Check that the overwritten version's changelog entry
239     is not UNRELEASED.  This could easily happen if this release was being
240     made from a git branch which predates the previous package upload.
241
242   Documentation:
243   * dgit-maint-merge(7): Get git clone url right.  Closes:#852609.
244   * dgit-maint-merge(7): Quote sample clone commands.  Closes:#852615.
245
246   Test suite:
247   * overwrite-chkclog: test UNRELEASED handling.
248
249  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 25 Jan 2017 16:21:53 +0000
250
251 dgit (3.8) unstable; urgency=medium
252
253   Bugfixes:
254   * Make dgit-setup-* work in default distro.
255
256   Test suite:
257   * defdistro-setup: Test that setup-* functions distro selection works.
258
259  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 23 Jan 2017 16:21:30 +0000
260
261 dgit (3.7) unstable; urgency=medium
262
263   Bugfixes:
264   * Fix clone-dgit-repos-server and print-dgit-repos-server-print-url.
265     Closes:#851906.
266
267   Documentation:
268   * dgit-maint-merge(7): Explain when workflow is unsuitable
269     (Closes:#852090) and improve the patch-header (Closes:#851897.)
270
271   Internal changes:
272   * New %.view target: `make dgit-maint-merge.7.view' runs `man -l ...'
273
274   Test suite:
275   * defdistro-dsd-clone-drs: New test which would have detected
276     #851906 (and hopefully #850521).
277
278  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 22 Jan 2017 17:30:24 +0000
279
280 dgit (3.6) unstable; urgency=medium
281
282   Bugfixes:
283   * Actually use the url from a Dgit .dsc field naming an unknown distro.
284     Closes:#851728.
285   * Add dummy implementation of file_in_archive_aptget copied from
286     file_in_archive_dummycat.  Re:#851697.   [ Peter Green ]
287
288   Minor improvements:
289   * Use `confess' to print a stack trace in a couple of internal error
290     rcases.
291
292   Infrastructure:
293   * Properly honour NOCOMMITCHECK policy hook exit status.
294     Closes:#851800.
295   * Do not reject commits with no author/committer name (but still insist
296     on email address and date).  Peter Green reports that eg
297     71e128629ec786f3 in upstream xen.git is such a commit (and is accepted
298     by github).  Closes:#851716.
299
300   Test suite:
301   * downstream-gitless: Test import of .dsc from unknown distro.
302   * downstream-gitless: Test import of .dsc with unsafe url.
303
304  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 19 Jan 2017 01:15:03 +0000
305
306 dgit (3.5) unstable; urgency=medium
307
308   Bugfixes:
309   * gitattributes: Defuse gitattributes in private working area even if we
310     don't do it in the user's tree (because of user configuration).
311   * gitattributes: When cloning, do not print spurious warning about
312     actually-defused gitattributes.  Closes:#851624.
313   * gitattributes: Improve comment left in .git/info/attributes.
314
315   Test suite:
316   * gitattributes: Many improvements to test case.
317
318  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 17 Jan 2017 22:36:01 +0000
319
320 dgit (3.4) unstable; urgency=low
321
322   Test suite:
323   * drs-push-rejects: Set origin's url to an ad-hoc expression
324     which produces the right ext:: rune, as dgit would.
325     Closes:#851580.
326   * Replace references to /home/ian in various worktrees with
327     references to /nonexistent, to catch inadvertant accesses.
328
329  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 16 Jan 2017 17:27:35 +0000
330
331 dgit (3.3) unstable; urgency=medium
332
333   Behavioural changes to work around gitattributes file transformations:
334   * Suppress file-transforming gitattributes in private work areas.
335   * Configure suppression in user's trees in dgit clone and setup-new-tree.
336   * Provide dgit setup-gitattributes to do this explicitly.
337   * Documentation.
338
339   Bugfixes:
340   * dgit: Remove a leftover debugging print.
341   * dgit: Set default dsc import distro when there is no Dgit field.
342   * dgit: Set default dsc import distro when suppressing Dgit field.
343   * dgit: Option parsing: Fix undefined $suite in some import-dsc.
344     Closes:#851213.
345
346   Packaging:
347   * Remove redundant use of List::Util qw(any).  Closes:#851280.
348   * Remove redundant Recommends on libtext-iconv-perl.
349
350   Test suite:
351   * Move default dsc distro config setting to lib.  We need this
352     for the .dscs we have in tests/pkg-srcs/.
353   * defdistro-import-dsc: Drop this test.
354   * protocol-compat: check that we use the right distro
355     information when importing.
356   * Internal change: fix handling of nonempty distro=
357   * gitattributes: New test for .gitattributes handling.
358
359  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 16 Jan 2017 10:03:08 +0000
360
361 dgit (3.2) unstable; urgency=medium
362
363   Bugfixes:
364   * dgit: Do not execute END blocks in children.  So far symptoms of this
365     bug seem to be limited to duplicated error messages but I have not
366     done a thorough analysis.  Closes:#850052.
367   * dgit-infrastructure: dgit-repos-policy-debian: Remirror a package when
368     it becomes public (ie, make the repo available much more promptly when
369     the package passes NEW).  Closes:#849789.
370   * dgit: Fix a warning message about ref (mainly, tag) updates.
371
372   Documentation:
373   * dgit-maint-merge(7): Use git-deborig(1).
374     [Sean Whitton]  Closes:#850953.
375   * dgit-user(7): Fix some typos.
376
377   Internals:
378   * Fix a typo in a comment.
379
380   Test suite:
381   * infra: mirroring and policy hooks: Improve some debugging output.
382   * infra: mirror-private: test that package becomes public.  (#849789)
383
384  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 12 Jan 2017 02:11:34 +0000
385
386 dgit (3.1) unstable; urgency=medium
387
388   Bugfixes:
389   * dgit import-dsc: Do not crash with undefined $isuite.  Closes:#850781.
390   * dgit build: Do not sometimes crash with undefined $isuite.
391   * dgit: Do not nedlessly re-fetch the rewrite map.
392   * dgit: After downloading .debian.* files, save them in `..', too
393     (ie do this not just for .origs).
394   * dgit: When fetching, refetch files with hash mismatches (and save them
395     as `...,fetch'), so we can distinguish them from any built locally.
396     Closes:#850824.
397
398   Test suite:
399   * Add test for import-dsc with default distro.  (Detects #850781.)
400
401   Administrivia:
402   * Fix a dgit 3.0 changelog bullet referring to refs/dgit-fetch/DISTRO.
403
404  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 10 Jan 2017 17:50:27 +0000
405
406 dgit (3.0) unstable; urgency=medium
407
408   Protocol change:
409   * Dgit: field now records the nominal distro name, and a hint
410     for a tag and url where the git objects (including any rewrite
411     map) can be fetched.
412   * Use this information, where provided.  Closes:#850431.
413
414   Bugfixes:
415   * dgit config handling: Honour command-line and context-provided
416     suite and distro more reliably and consistently.
417   * Parsing of extended Dgit fields by import-dsc was broken;
418     and is now fixed even for more-extended ones.
419   * dgit clone-dgit-repos-server uses readonly access.
420     Closes:#850521.
421   * fetch and pull ignore the changelog suite when it is UNRELEASED.
422     Closes:#848646.
423   * dgit-badcommit-fixup: Do not investigate symrefs.  Closes:#850547.
424
425   Minor new feature:
426   * distro alias facility in config space.  (Primarily for testing.)
427   * Undocumented --config-lookup-explode= feature.  (For testing.)
428   * Provide `dgit print-dgit-repos-server-source-url'.  Re:#850521.
429   * Honour dgit-distro.*.default-suite and dgit.default.default-suite.
430
431   Other improvements:
432   * Improve debugging output a bit.
433   * Use refs/dgit-fetch/DISTRO rather than refs/dgit-fetch/SUITE,
434     which leads to less duplication and so less clutter.
435   * Enforce a reasonable syntax for nominal distro names.
436   * When generating orig+debian/patches view, copy debian/ from
437     HEAD.  This makes less noise in diffs.  Closes:#850095.
438
439   Docuentation [Sean Whitton and Ian Jackson]:
440   * dgit-sponsorship(7): Use --no-dep14tag.  Closes:#849105.
441   * dgit-maint-merge(7): Use debian/source/patch-header.  Closes:849120.
442   * dgit(7): Updated `trouble' section to suggest having dpkg-source
443     delete the autotools output (with a patch if necessary).
444   * dgit(1): Several minor updates and fixes.  Closes:#850519.
445
446   Test suite:
447   * Internal improvements.
448   * badcommit-rewrite: Fix operation using installed version of fixup.
449   * Arrange to pass --debug-quick-random to gpg-agent.
450   * Strip block count out of find -ls output - it is unstable!
451   * gbp-orig: Add a missing -m, without which git would run an
452     editor if stdout was a tty (!)
453   * Add t-stunt-parsechangelog to a few tests which were missing it.
454   * Tests for the new protocol feature.
455   * Fail tests if we look up any configuration relating to Debian.
456
457  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 09 Jan 2017 16:43:10 +0000
458
459 dgit (2.16.2) unstable; urgency=low
460
461   dgit-badcommit-fixup: 
462   * Fix crash when running for 2nd time in bare repo.
463   * In --check mode, exit with status 2 if things are not fine.
464
465  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 07 Jan 2017 13:31:50 +0000
466
467 dgit (2.16.1) UNRELEASED; urgency=low
468
469   * dgit-badcommit-fixup: New mode --check which is readonly.
470
471  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 07 Jan 2017 13:04:49 +0000
472
473 dgit (2.16) unstable; urgency=low
474
475   Dealing with fallout from #849041:
476   * Provide dgit-badcommit-fixup history-rewriting script.
477   * New rewrite map feature, which allows dgit git server to adjust
478     clients' interpretation of Dgit fields, so that history-rewriting is
479     effective.  (Feature is only partially implemented right now -
480     enough to dig current Debian users out of the hole.)  Re:#850431.
481
482   Test suite:
483   * New test case for history-rewriting.
484   * Change `local foo=$(bar)' idiom to `local foo; foo=$(bar)' since
485     the former does not trip set -e even if bar fails :-(. 
486
487  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 06 Jan 2017 20:46:30 +0000
488
489 dgit (2.15) UNRELEASED; urgency=high
490
491   Infastructure:
492   * Prevent introduction of new commits which lack `committer'
493     information.  Ie, prevent the reception of new commits afflicted by
494     #849041.  Existing commits are tolerated.
495
496   Test suite:
497   * Be much stricter about messages from git-fsck.
498
499  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 05 Jan 2017 18:20:23 +0000
500
501 dgit (2.14) unstable; urgency=critical
502
503   CRITICAL BUGFIX:
504   * Do not generate bogus commits with --overwrite or import-dsc.
505     Closes:#849041.
506
507   Test suite:
508   * Run a lot of git-fsck.
509
510  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 04 Jan 2017 22:52:55 +0000
511
512 dgit (2.13) unstable; urgency=high
513
514   Changed behaviour:
515   * quilt fixup: Permit creation of patches which delete files, by psssing
516     --include-removal to dpkg-source, and tolerating it when we do our
517     quilt fixup analysis.  dpkg-source has supported this since at least
518     stretch.  Closes:#848901.
519
520   Error messages:
521   * Improve "cannot represent change" message: print the git old and new
522     modes too.
523
524   Bugfix:
525   * Import: Switch back to unpa branch on patch import iterations.
526     In particular, do not fail utterly if dpkg-source and gbp disagree.
527     Closes:#848843.
528
529   Documentation [Sean Whitton]:
530   * dgit-maint-gbp(7): Remove reference to closed bug.  Closes:#848725.
531   * dgit-sponsorship(7): Update in light of fixed #844129.  Closes:#848789.
532
533  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 21 Dec 2016 01:32:41 +0000
534
535 dgit (2.12) unstable; urgency=high
536
537   Changed behaviours:
538   * By default, generate a DEP-14 tag as well as a dgit archive/*
539     tag, even in non-split-view quilt modes.  Closes:#844129.
540   * Version tags mangling: Protect dots, as per proposed update to DEP-14.
541
542   Documentation:
543   * dgit-maint-merge(7): Explain how to change to this workflow
544     from an existing git workflow.  [Sean Whitton]  Closes:#847807.
545   * dgit-maint-native(7): Clarify that we mean native source format.
546     [Phil Hands]  Closes:#847987.
547
548   Error messages:
549   * Slightly better message when .dsc not found.  Apropos of #844128.
550   * Give better advice if .dsc/.changes signing fails: if no changes
551     are needed to the package, user may indeed just debsign and dput.
552     Closes:#844131.
553   * Produce better error reporting when absurd git wrapper fails
554     on a patch during .dsc import.  Apropos of #848391.
555
556   Bugfixes:
557   * If we cannot hardlink origs into our extraction area, use symlinks
558     instead.  Closes:#844570.
559   * Suppress some leftover debugging output from import-dsc.
560     Closes:#847658.
561   * Do not fail when cloning a package containing dangling symlinks.
562     Closes:#848512.
563   * Do not fail to import a .dsc containing patches which patch files
564     multiple times, due to #848611.  Closes:#848391.
565   * Do not fail to import a .dsc containing patches to .git/ (!)
566   * infra: dgit-repos-policy-debian which broke due to recent git setting
567     GIT_ALTERNATE_OBJECT_DIRECTORIES in the pre-receive-hook.
568     (fixes test suite regression in stretch).
569
570   Test suite:
571   * Provide and use stunt lintian and debuild, to avoid lintian
572     complaining about our stupid test packages.
573     (fixes test suite regression in stretch).
574
575  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 19 Dec 2016 17:35:18 +0000
576
577 dgit (2.11) unstable; urgency=medium
578
579   Documentation:
580   * dgit-user(7): Better explanation of combined suites (comma syntax).
581     Thanks to Sean Whitton for review and suggestions.
582   * dgit(1), dgit(7): Better reference docs for combined suites.
583   * dgit(1): Improve formatting of rpush section.
584
585   Test suite:
586   * Replace make in Test-Depends with build-essential.  Most of the tests
587     do in fact run dpkg-buildpackage which bombs out if build-essential is
588     missing.
589
590  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 08 Nov 2016 22:41:29 +0000
591
592 dgit (2.10) unstable; urgency=medium
593
594   New features:
595   * Support the Debian *-security suites.
596   * New comma-separated multiple-suite merging facility (readonly),
597     so that users can easily track "jessie, or jessie-security".
598   * dgit-user(7): Suggest `dgit clone P jessie,-security'.
599
600   Bugfixes:
601   * Cope when an orig tarball is a tarbomb.  Ie, if it contains
602     other than one single directory toplevel.  Closes:#843422.
603   * Actually honour the branch name, if we are on dgit branch, to specify
604     the suite, as documented in the manpage.
605   * When cloning a distro which has no git server, correctly leave
606     the user on the local dgit branch, not on `master'.
607   * Fix an unconditional print that was supposed to be a printdebug:
608       origs <blah>.orig.tar.gz f.same=1 #f._differ=-1
609   * Print a slightly better message if .git found in orig tarball(s).
610
611   Test suite:
612   * Test suite: Add fakeroot and make to Test-Depends.  These aren't
613     necessarily pulled in by anything else.  (dpkg-dev Recommends
614     build-essential.  But we don't actually need build-essential.)
615
616  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 08 Nov 2016 01:08:51 +0000
617
618 dgit (2.9) unstable; urgency=medium
619
620   New features:
621   * During push, automatically calculate which .origs are required,
622     so user never needs [--ch:]-sa or [--ch:]-sd.  Closes:#829116.
623   * New import-dsc feature.
624   * New option --dgit-view-save= for split view quilt modes.
625     In particular, means that the output of a split view quilt-fixup
626     is left somewhere useful.
627   * dgit clone: Set timestamps in cloned tree to a single unified time.
628     This makes it less likely that the user will trip over any
629     timestamp-dependent FTBFS bugs (eg #842452).
630   * Support dgit --delayed= push (with a warning in the manpage
631     about possible skew).
632   * dgit gbp-build will arrange to let gbp buildpackage generate
633     .orig tarballs if it seems applicable.  Closes:#841094.
634
635   Documentation improvements:
636   * dgit-*(7).  Many new tutorial manpages, several written and many
637     improved by Sean Whitton.
638   * dgit(7): Substantial updates, including documenting split view.
639   * dgit(1): Better cross-references.
640   * dgit(1): Remove obsolete workflow information.
641   * dgit(1): Improved BUGS section.
642   * Fix changelog entry for SIGPIPE to correctly mention
643     Closes:#841090.
644
645   Bugfixes:
646   * Split brain mode: Fix --new.  Closes:#842577.
647   * Properly look for .origs etc. in .., fetching them less often.
648     Closes:#842386.
649   * Reject `dgit pull' in split view quilt modes, to avoid
650     creating unfortunate wreckage on non-dgit-view branches.
651     Closes:#842608.
652   * Cope when cloning suite which doesn't receive uploads,
653     like testing.  Closes:#842621.
654   * Properly fetch all archive dgit view tags, as we intended.
655   * Actually provide a -p (--package=) option (!)
656
657   Test suite fixes:
658   * Test suite: Explicitly configure user.name and user.email, so
659     that tests work when environment doesn't have defaults.
660     Closes:#842279 (I hope).
661
662  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 31 Oct 2016 12:47:18 +0000
663
664 dgit (2.8) unstable; urgency=medium
665
666   * When in split build mode for `gbp-build' or `build', run
667     mergechanges as is required.  Closes:#841990.
668   * Test suite: build-mode-*: Check that right .changes comes out
669     (detects #841990).
670   * Defend against debian/patches/series being an unusual object, in case
671     dpkg-source doesn't, in absurd git-apply fallback.
672
673  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 25 Oct 2016 17:29:23 +0100
674
675 dgit (2.7) unstable; urgency=medium
676
677   Absurd bugfix for serious bug:
678   * Work around `git-apply' problems (eg #841865, #829067) exposed by
679     `gbp pq import' (#841866) by sometimes falling back to an emulation of
680     git-apply in terms of dpkg-source --before-build.  Closes:#841867.
681
682   Minor changes:
683   * dgit(1): Reorder the options, moving more important ones earlier.
684   * dgit(1): Some more info about --deliberately.
685   * Provide various --force-something options.  Please don't use them.
686
687  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 24 Oct 2016 02:37:28 +0100
688
689 dgit (2.6) unstable; urgency=medium
690
691   Fixes to HTTP handling:
692   * Check for non-2xx HTTP status codes from ftpmaster api server.
693   * Always honour --curl= and --curl:.
694
695  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 23 Oct 2016 14:57:22 +0100
696
697 dgit (2.5) unstable; urgency=low
698
699   Substantive changes:
700   * Do not crash in split brain quilt modes when the two brains are
701     actually identical.  (Eg --quilt=gbp with no patches.)  Closes:#841770.
702   * Switch to new archive/ tag format by default, even in
703     non-split-brain mode.
704   * Provide --gbp and --dpm as aliases for --quilt=gbp and --quilt=dpm.
705
706   Documentation:
707   * dgit-maint-merge(7): New tutorial manpage from Sean Whitton.
708
709   Test suite:
710   * Introduce setup/gnupg, to help work around gnupg2 bug #841143
711     and improve performance by amortising gnupg migration cost.
712   * Various bugfixes.
713
714  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 23 Oct 2016 13:20:23 +0100
715
716 dgit (2.4) unstable; urgency=low
717
718   Bugfixes:
719   * split brain cache: Fix a wrong implicit reference to $_.
720     Closes:#841383.
721   * split brain cache: Make sure to write reflog entries for cache updates
722     even if the eventual tree (and therefore commit) is the same.
723     Otherwise, after updating dgit, the cache might have the right answer
724     but not be refreshed even by a build.
725   * dgit gbp-build: No longer invent a --git-debian-branch option.
726     Usually the user is a maintainer using split brain, and we should rely
727     on their own gbp configuration to specify the right check.
728     Closes:#841100.
729
730   Minor docs fix:
731   * dgit(1): Document which --ch: options are a good idea.
732
733  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 20 Oct 2016 16:31:54 +0100
734
735 dgit (2.3) unstable; urgency=low
736
737   * With --overwrite, do not check all sorts of tags (which may
738     not exist, or might contain wrong things).  Closes:#841101.
739   * When generating pseudomerge in quilt split brain mode due to
740     --overwrite, actually include the version number in the commit
741     message.
742
743  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 18 Oct 2016 01:58:05 +0100
744
745 dgit (2.2) unstable; urgency=low
746
747   * Fix config relating to Debian to actually make split brain mode
748     work.  Closes:#841085.
749   * Detect SIGPIPE (and SIGCHLD) being blocked or ignored.
750     Closes:#841090.
751
752  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 17 Oct 2016 17:31:18 +0100
753
754 dgit (2.1) unstable; urgency=low
755
756   * Do not crash due in clone to failure to handle dpkg-parsechangelog
757     SIGPIPE.  Closes:#840989.  Avoids:
758        dgit: failed command: dpkg-parsechangelog --format rfc822 --all
759        dgit: subprocess died due to fatal signal PIPE
760   * git- prefixes: Fix some occurrences of `git-foo' in infrastructure,
761     messages, and test suite.  Filter out .../git-core from PATH in
762     test suite so that we catch future occurrences.
763
764  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Oct 2016 19:05:14 +0100
765
766 dgit (2.0) unstable; urgency=low
767
768   Incompatible change:
769   * dgit sbuild: does not pass -A to sbuild.  Consequently the default
770     build is now simply sbuild's default.  With older sbuilds it was
771     possible to override dgit's -A by passing another option.  But this
772     has been changed recently and now this default setting is very awkward
773     to change for the dgit user.
774   * dgit gbp-build: Make --quilt=gbp the default.  (See below.)
775   * New tag format (for dgit view) archive/debian/VERSION.
776
777   Major new feature:
778   * --quilt=gbp, --quilt=dpm, --quilt=unpacked: Introduce facility for
779     split view (dgit/mainiainer view), to improve compatibility with some
780     workflow tools.
781
782   New checks and improved behaviours in dgit:
783   * When running dpkg-buildpackage, cope if user specified -g or -G.
784   * dgit sbuild: check that the set of .changes files found is as we
785     expect, before calling mergechanges.  Re:#800060.
786   * dgit sbuild: Rename the used-up .changes files to `.inmulti' to
787     avoid accidental use of the wrong one (by software, or by users).
788   * dgit sbuild: Check that the binary .changes file doesn't contain a
789     .dsc.
790   * Introduce --rm-old-changes to delete previous builds' changes files.
791   * Remove any pre-existing _source.changes file before building source,
792     as a safety check.
793   * No longer tolerate a multitude of .changes files when doing push.
794     Instead, insist on a single one.  Closes:#800110.
795   * dgit sbuild no longer deletes extranious .changes files; instead
796     we rely on --rm-old-changes, or failing that, fail early.
797   * When doing quilt linearisation, treat upstream .gitignores not
798     in the toplevel the same way we treat ones in the toplevel.
799   * When automatically generating quilt patch, honour GIT_COMMITTER_DATE
800     for filename creation (makes filename deterministic in test suite).
801   * New --overwrite option, replaces need to for user to use
802     git merge -s ours.  Closes:#838718.
803   * When generating quilt patches from git commits, make patches that
804     look quite like git-format-patch output (rather than strange things
805     based on an obselete interpretation of DEP-3).
806   * When generating quilt patches from git commits, honour (and strip)
807     any Gbp-Pq headers (that we understand).
808   * Several dgit-generated commits now have slightly better annotations
809     from dgit about what it was doing.
810   * Before committing to push, check that .dsc and .changes correspond.
811     Closes:#800060.
812   * Better error message if non-split-brain patch stack no longer
813     applies (due to new upstream version, or user messing with it).
814     Closes:#833025.
815   * Better error message if HEAD contains changes unrepresentable
816     by `3.0 (quilt)'.  Closes:#834618.
817   * Much better error message when HEAD and .dsc do not match.
818     Closes:#809516.
819
820   Infrastructure:
821   * dgit-repos-policy-debian: Better error handling.
822   * dgit-repos-policy-debian.: fix git-cat-file-handling with multiple
823     taints in db (!).
824   * dgit-infrastructure has, and uses, its own copies of the perl modules.
825     This avoids introducing a versioned dependency between dgit and
826     dgit-infrastructure (and also makes it easier to test cross-version
827     compatibility).
828
829   Documentation:
830   * Document the dgit-distro.DISTRO.quilt-mode config setting.
831   * Clarify the --clean= options' documentation.  Closes:#800054.
832   * Discourage use of the --PROGRAM:OPTION escape hatch.  (Apropos
833     of various bug reports including #800060 and #833025.)
834   * Document the expected form of HEAD for each --quilt= mode.
835
836   Bugfixes:
837   * When cleaning up after failed clone, stat the to-be-cleaned-up
838     directory before running rmtree on it.  Closes:#796773.
839   * Do not call "warn" on failure of cleanup handler in END block
840     (since warn has been made fatal and aborts the cleanup chain).
841   * Print better error message (with `fail' rather than `die') if
842     `dgit clone' cannot create the destination directory.
843   * Properly substitute $changesfile in one of the `You can retry'
844     messages.  Closes:#800078.
845   * Pass --ch:* and -v options to dpkg-buildpackage when building
846     source.  Fixes bad Perl poetry syntax.  Closes:#829121.
847   * When synthesing a commit from a .dsc from the archive, stop
848     internal git reset from printing a confusing message about HEAD.
849   * Turn off git gc in the private working areas.
850   * Do not fail to do some important quilt processing in some
851     --quilt modes.
852   * Fix two calls to chdir without proper error checking.
853   * Fix a couple of bugs in error reporting.
854   * Fix several bugs in .orig detection/recognition.
855   * Tidy up refs/dgit-fetch/ after dgit fetch (if successful).
856   * Fix handling of in-archive copies.
857   * Don't break if user has push.followTags=true.  Closes:#827878.
858   * Arrange for the special dgit remote to be skipped by git fetch --all
859     etc.  And no longer configure a fetch spec, since it won't work
860     anyway.  Closes:#827892.
861   * Allow local git config options to override user-global ones,
862     as is proper.  Closes:#835858.
863   * When generating patch filenames from titles, first transliterate
864     them (lossily) to ascii.  Closes:#834807.
865
866   Test suite:
867   * When sbuild fails, do not crash due to sed not finding the log
868     file.  Instead, simply tolerate the absence of the log file.
869   * Put --no-arch-all in build-modes-sbuild act, not only its real_act.
870     Cosmetic change only.
871   * Set GIT_COMMITTER_DATE and GIT_AUTHOR_DATE and increment them
872     explicitly in drs-push-rejects test.  This avoids date dependencies
873     which can cause that test to fail on fast computers.
874   * Remove some spurios .debs from the example_1.0.tar.
875   * Increase sqlite_busy_timeout in debpolicy-dbretry, because old
876     zealot is very slow and we need to give the other processes time
877     to rollback and release the lock.
878   * Test quilt single-debian-patch.
879   * Provide `tartree-edit gitfetchinfo' etc. to help with comparing
880     different test case git working tree tarballs.
881   * Test dgit-repos-policy-debian with multiple (identical, as it happens)
882     existing taints.
883   * Provide better log output for certain failures.
884   * Many new tests (especially for new functionality).
885   * Add missing debhelper (>=8) to test suite's global Depends.
886   * tstunt arrangements: Fix mishandling of PERLLIB, etc.
887   * tstunt-parsechangelog: Produce Timestamp field (like official one
888     does, now).
889   * Do not fail when git requires --allow-unrelated-histories.
890
891  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Oct 2016 12:12:50 +0100
892
893 dgit (1.4) unstable; urgency=high
894
895   Bugfixes:
896   * Unbreak --dry-run (`exiting subroutine via next', broken in
897     ac221d67, bug released in 0.22).
898   * When running git-add in commit-quilty-patch, properly escape
899     filenames (which git-add treats as glob patterns).
900   * When running git-add in commit-quilty-patch, use -f and sometimes -A,
901     so as to avoid being broken by any .gitignore, etc.
902   * When quilt linearisation fails, print the right information in
903     the error message.  (This has been broken forever.)
904   * Cope properly with `3.0 (quilt)' with single-debian-patch.
905     Closes:#796016.  (Still does not work with wheezy's dpkg-source, so
906     no test case yet.)
907   * With dgit sbuild, pass our -d before the user's arguments, so that
908     the user can override it.  Closes:#796019.
909
910   New checks and improved behaviours:
911   * Detect and reject git trees containing debian/source/local-options
912     or debian/source/local-patch-header.
913   * In --dry-run mode, _do_ actually run dpkg-source --commit so that we
914     actually do construct the quilt fixup commit; instead, honour
915     --dry-run by avoiding pulling it back to your HEAD.
916   * quilt-fixup checks that the git tree is clean, as for build-prep.
917
918   Documentation:
919   * In dgit(7), discuss binaries and documentation present in upstream but
920     removed by rules clean.
921
922   Test suite:
923   * Run quilt-fixup with -wgf in distropatches-reject,
924     so that we don't need build-depends.
925
926  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 22 Aug 2015 15:31:02 +0100
927
928 dgit (1.3) unstable; urgency=high
929
930   Important bugfixes:
931   * In option parser test `@ARGV' not `length @ARGV'.  Closes:#795710.
932   * Properly quote package name when constructing regexp in
933     complete_file_from_dsc.  Closes:#795736.  Also, grep the code for
934     likely similar problems elsewhere and improve a (harmless) instance in
935     dgit-repos-server.
936
937   Other improvements:
938   * If a .orig in .. is a symlink, hardlink the link target into our
939     private unpack directory, rather than the link itself (since latter
940     won't work if the symlink is relative).  Closes:#795665.
941   * Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.
942   * Infrastructure: Improve an error message in dgit-repos-policy-debian.
943
944  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 16 Aug 2015 17:51:02 +0100
945
946 dgit (1.2) unstable; urgency=high
947
948   Improvements:
949   * Honour *.clean-mode configuration setting for --clean= mode.
950   * No longer require option values to be cuddled: support `--opt val' and
951     `-o val'.  Closes:#763332.
952
953   Manpages:
954   * Fix typos.
955   * Document that tags are in DEP-14 format, and that they
956     are used for authenticating pushes.
957   * Correct cross-reference to point to browse.d.d.o.
958   * Move dgit.default.* to main CONFIGURATION section.
959
960   Administrivia:
961   * Add missing close of #793060 to changelog for version 1.1.
962
963  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 14 Aug 2015 18:27:20 +0100
964
965 dgit (1.1) unstable; urgency=medium
966
967   Bugfixes:
968   * When source package contains things called .git (even files, and even
969     in subdirectories), remove them.  Closes:#793671.
970   * Work around curl -sS -I printing `HTTP/1.0 200 Connection established'
971     before the actual header, so dgit works with https_proxy set (!)
972   * --new is needed for read access to packages in NEW, too.  Document
973     this, and make it work properly.
974   * Work around #793471 (madness with $SIG{__WARN__} and Perl's system
975     builtin): move $SIG{} setting into setup_sigwarn in Dgit.pm, and
976     check getppid.
977   * When invoking git-buildpackage via dgit gbp-build, consider our
978     command line arguments when massaging the dpkg-buildpackage arguments,
979     so that we don't end up giving dpkg-buildpackage contradictory
980     instructions.
981   * Cope with new git-buildpackage which provides gbp, rather than the
982     eponymous command, on PATH.
983
984   Configurability:
985   * Honour dgit-distros.DISTRO.cmd-CMD and .opts-CMD.  Closes:#793427.
986   * Make configuration able to prevent dpkg-mergechangelogs setup.
987   * Provide dgit setup-new-tree (like dpkg-setup-mergechangelogs
988     but only does it if not disabled in config).
989   * Set up git user.email and user.name from distro access config
990     or DEBEMAIL/DEBFULLNAME.  Closes:#793410.
991   * When key to use not specified any other way, use the debian/changelog
992     trailer line.  Closes:#793423.
993   * Honour --git= (mostly).
994
995   Documentation:
996   * Fix some manpage typos.  [ Richard Hartmann ]
997   * Manpage said that --clean=check was -wn but that is --clean=none;
998     correctly document that --clean=check is actually -wc.
999   * Document that up to -DDDD (not just -DD) is meaningfully different.
1000   * Document that -cname=value applies only for this run.
1001   * Improve manpage comment about defining a new distro.
1002   * Document that --quilt=linear is the default for Debian.
1003   * Fix a formatting problem in --build-products-dir= doc.
1004   * In manpage, do not seem to imply that NMU should be of only one
1005     new commit.
1006   * Qualify to Debian the manpage comment about how to do NMU.
1007   * In discussion on how to start using dgit when already using git, do
1008     not imply/assume that existing git history will have identical trees
1009     to dgit history.
1010   * Remove stray sentence in config section of manpage.
1011   * Manpage: Clarify wording of readonly config.
1012   * Manpage: Better cross-references for -k and keyid.
1013   * dgit(7): No longer say that dgit-repos lives on Alioth.
1014
1015   Improvements:
1016   * Introduce more sophisticated protocol negotiation for rpush.
1017   * Do not quote `:' in shellquote.
1018   * Print a supplementary message when push fails, giving advice to
1019     the user about how to retry.  Closes:#793144.
1020   * Slurp in entire git config, for better performance.
1021   * Rename `git-build' operation to `gbp-build' to make it clearer what
1022     it's for.  Keep the old name as an alias.
1023   * Show `dgit sbuild' in usage message.
1024   * When we are using dpkg-buildpackage to clean before using it to also
1025     do the build, let it do its cleaning thing as part of its run, rather
1026     than running it twice.  When we are _not_ supposed to be using
1027     dpkg-buildpackage to clean, but we are running it to do the build,
1028     pass -nc.  Closes:#793060.
1029   * Also suppress spurious runs of the clean target when building using
1030     git-buildpackage.
1031   * When exec fails, always print the program name in the error message.
1032
1033   Infrastructure:
1034   * Infrastructure: Get mirroring right for fresh repos of existing
1035     packages (!)
1036
1037   Packaging, cleanups, debugging and test suite:
1038   * Fix Vcs-Git and Vcs-Browse to refer to chiark.  (The dgit-repos on
1039     alioth aren't suitable right now because the master there can
1040     currently only be updated with an actual upload, ie dgit push.)
1041   * Make warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch
1042     (using setup_sigwarn).
1043   * tstunt/dpkg-parsechangelog: Make warnings fatal (directly).
1044   * tstunt/dpkg-parsechangelog: Do not complain if PERLLIB is empty.
1045   * Test suite: Honour DGIT_TEST_DEBUG=''.
1046   * With -DDDD, print out all gitcfg references (copious!)
1047   * Fix a debug message in the obsolete sshpsql archive access driver.
1048   * Test suite: More automatic enumeration of tests.
1049   * Test suite: Provide tests which check that all our various build
1050     operations run the right targets as expected (ie, that we are massaging
1051     the arguments to dpkg-buildpackage, and suppressing our clean target,
1052     etc., correctly).
1053
1054  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 27 Jul 2015 16:34:31 +0100
1055
1056 dgit (1.0) unstable; urgency=medium
1057
1058   Improvements:
1059   * Switch to new production git repositories for reading.
1060     (this can no longer divert to alioth).  Public readonly access
1061     now works.  Closes:#791447.
1062   * Memoise git config lookups (big speedup!)
1063   * Provide -wdd aka --clean=dpkg-source-d.  Closes:#792433.
1064   * Provide -wc aka --clean=check.
1065
1066   Manpage updates:
1067   * Remove some obsolete caveats from BUGS.
1068   * Reorganise and complete the configuration section.
1069   * Remove obselete comment about DMs not being able to push.
1070     We have, for now, a way to add keys manually.  Closes:#720173.
1071
1072   Access machinery:
1073   * Remove configuration relating to alioth.
1074   * Provide for different access mechanisms when pushing.
1075   * Provide for configurable git url suffix.
1076   * Allow git-url to be '' to force fallback to git-proto etc.
1077   * Provide for checking git presence via http[s].
1078   * Do some quoting on debug output (needed if the server might not
1079     be trustworthy and might send us bad stuff).
1080   * Talk to push.dgit.debian.org, rather than the .debian.net alias.
1081
1082   Infrastructure:
1083   * Provide for mirroring git updates to a different server.
1084   * Provide cgit-regen-config command for cgi-grnet-01.
1085   * Make dgit-ssh-dispatch not spew (harmless) warnings if caller
1086     tries for a shell session (ie SSH_ORIGINAL_COMMAND not set).
1087
1088   Cleanups:
1089   * Remove an obsolete comment from the code.
1090   * Improve an error message from dgit-repos-policy-debian.
1091   * Test suite: Break out t-make-hook-link.
1092   * Fix a manpage typo.
1093
1094  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 19 Jul 2015 22:15:53 +0100
1095
1096 dgit (0.30) unstable; urgency=high
1097
1098   INCOMPATIBLE CHANGES:
1099
1100   * Client uses new infrastructure:
1101     - Check for new dgit git service on dgit-git.debian.net (ie
1102       gideon.debian.org), with transition plan based on diversion feature.
1103       Closes:#720172.
1104     - Old versions of dgit will stop working when the server-side handle is
1105       pulled.
1106
1107   * dgit git trees no longer contain .pc for format `3.0 (quilt)' source
1108     packages.  Closes:#764606.
1109     - It is deleted whenever we find it.
1110     - Older versions of dgit will choke on trees without .pc.
1111     - (When doing quilt fixup, we recreate a suitable .pc in a temporary
1112       directory so that we can do dpkg-source --comit.)
1113
1114   * All users are urged to upgrade ASAP.
1115
1116   Other significant improvements:
1117
1118   * When generating quilt patches, try to linearise the git history into a
1119     series of individual new patches for debian/patches.  Closes:#770710.
1120
1121   * When receiving a push with dgit-repos-server, update the server's
1122     refs/heads/master if we are pushing to what the distro regards as a
1123     relevant branch, and the push would ff master.  Closes:#728209.
1124
1125   * For non-Debian distros, distro version release tags contain distro
1126     name a la DEP-14 (rather than hardcoding `debian/').
1127
1128   * Set up a merge driver for debian/changelog.  Closes:#769291.
1129
1130   * --clean=git and --clean=none cause dgit to pass -nc to
1131     dpkg-buildpackage, suppressing calls to the package's clean target.
1132     Also, expand the documentation in this area slightly.  Closes:#768590.
1133
1134   * Provide --clean=git-ff (aka -wgf), which is useful for dgit itself (!)
1135
1136   Minor improvements:
1137
1138   * Reduce some noise output and improve the clarity of some messages.
1139   * Be more careful about tag updates during fetch: only update tags
1140     referring to uploads to distro we are trying to fetch from.
1141   * Change realpath dependency to `coreutils (>= 8.23-1~) | realpath'
1142     (Closes:#786955.)
1143
1144   Bugfixes:
1145
1146   * Fix handling of rmadison-based and gitless distros (e.g., Ubuntu).
1147   * Add missing `gpgv' to test dependencies in debian/tests/control.
1148   * Strip `-b <branch>' from contents of Vcs-Git header, when setting up
1149     the vcs-git remote.  Closes:#759374.
1150   * Do not offer wget as an alternative dependency to curl.  We always
1151     unconditionally invoke curl and have no code to use wget.
1152     Closes:#760805.
1153   * Complain about lack of cuddled values for value-taking single-letter
1154     options, rather than thinking the user meat an empty value.
1155     Closes:#763332.
1156   * Reject (rather than ignoring) further options merged witth -wn, -wg,
1157     -wd.
1158   * Fix inaccurate error message when archive's git hash is not an
1159     ancestor of git repo's git hash.
1160   * Detect and bomb out on vendor-specific `3.0 (quilt)' patch series.
1161   * Fix the rules clean target to remove test results and output.
1162
1163   Documentation improvements:
1164
1165   * Break out dgit(7) from dgit(1).
1166   * Provide example workflow for dgit rpush.  Closes:#763334.
1167     (Also part of the fix for #768470.)
1168   * Document that dgit repos are cloneable with git, in dgit(1)
1169     section MODEL.  [Andreas Barth.]  Closes:#768470.
1170   * Better documentation for quilt series handling.
1171   * Document under `dgit push' that it is best to build with dgit too.
1172     Closes:#763333.
1173   * Other minor clarifications and improvements.
1174
1175   Behind-the-scenes work:
1176
1177   * Use ftpmasterapi archive query method.
1178     (Closes:#727702.  Also partly obsoletes #768470.)
1179   * New dgit-infrastructure binary package containing dgit-repos-server et
1180     al.  Client users probably don't want this stuff.  Also, it provides a
1181     convenient way to publish the dependencies.
1182   * Many many bugfixes to the server side (dpkg-repos-server et al.).
1183   * Add :..; prefix to ssh remote commands, for the benefit of future
1184     forced command wrappers.  Implicitly, this defines a new ssh-based
1185     command protocol.  Closes:#720174, #720175.
1186   * Distro access configuration handling changes (should not be noticeable
1187     to most users).
1188   * In places, significant restructuring or tidying up.
1189   * Turn all perl warnings into errors using $SIG{__WARN__}.
1190
1191  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 05 Jul 2015 01:34:55 +0100
1192
1193 dgit (0.22.1) unstable; urgency=high
1194
1195   * Use Dpkg::Version::version_compare everywhere, not
1196     Dpkg::Version::version_compare_string.  The latter is entirely wrong,
1197     meaning that dgit would get many version comparisons wrong.
1198     Closes:#768038.
1199
1200  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 04 Nov 2014 12:46:40 +0000
1201
1202 dgit (0.22) unstable; urgency=medium
1203
1204   Bugfixes:
1205   * Clone removes destination directory on error.  Closes:#736153.
1206   * Work with wheezy-backports (and keep squeeze-backports working too).
1207     Closes:#736524.
1208   * Work in read-only no-git-history mode with Ubuntu.  You still have
1209     to pass -dubuntu.  Closes:#751781.
1210   * Use mirror.ftp-master.debian.org DNS alias rather than coccia.
1211     Closes:#752602.
1212   * Check hashes of files ourselves rather than running dget to
1213     re-retreive the .dsc.
1214   * Check SHA-256 of .dsc against hash from archive_query (ie projectb)
1215     rather than letting dpkg-source do a signature verification.
1216     Closes:#737619.  Closes:#737625.
1217   * Treat .dsc as bytes, just like everything else, rather than letting
1218     HTTP::Message convert it to a Perl unicode string which the rest of
1219     the program mishandles.  Closes:#738536.
1220
1221   Minor improvements:
1222   * Include canonicalised suite name in signed tag message.
1223   * Mention cross-version dgit rpush incompatibility in manpage.
1224   * Check for rpush protocol version incompatibility and crash early
1225     if incompatible.
1226   * New script tests/using-intree for running tests on the source tree.
1227   * Do not spew diff output to terminal (by default).  Print sensible
1228     message instead.  Closes:#736526.
1229   * Print better message for lack of configuration settings.
1230   * Document that dgit rpush needs gnupg and your public key on the build
1231     host.  Closes:#736529.
1232   * Fix a manpage reference to `--dget=' where `--dgit=' was intended.
1233   * Provide t-archive-process-incoming and t-archive-query subroutines for
1234     regression test scripts to use.
1235   * Print better message for unknown operations.
1236   * Provide `dgit clean'.  Closes:#736527.
1237   * When cloning, set up a remote `vcs-git' from the package's Vcs-Git
1238     (and put an appropriate caveat in the manpage).  Closes:#740687.
1239     Closes:#740721.
1240   * Improve error message for .dsc having already been signed (iff
1241     using libdpkg-perl 1.17.x).  Closes:#731635.
1242   * Improve error message for .dsc parsing failures more generally.
1243   * Better reporting of child exit statuses (esp. deaths due to signals).
1244   * In rpush, on protocol error talking to build host, check if the
1245     subprocess died and report differently if so.  Closes:#736528.
1246   * Fixed a manpage typo.
1247   * When tests invoke dgit, use --dgit= so that subprocesses use our
1248     dgit rather than system one.
1249   * Add a test for dgit rpush.
1250
1251   Major new feature, currently stalled awaiting server infrastructure:
1252   * dgit-repos-server: New program for receiving signed-tag-based
1253     pushes.  Corresponding support in dgit itself, but not currently
1254     used by default for any distro.
1255   * Bring forward push of the version tag ref so it happens alongside
1256     the push of the suite branch ref.
1257   * New git-check and git-create methods "true" which are no-ops.
1258   * test-dummy-drs `distro': for testing dgit and dgit-repos-server.
1259
1260  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 19 Aug 2014 11:24:02 +0100
1261
1262 dgit (0.21) unstable; urgency=medium
1263
1264   Bugfixes relating to unclean trees:
1265   * Run a clean (of the specified type) before any build operation; do
1266     this with `dpkg-buildpackage -T' clean if necessary, so -wd now works
1267     with all the building methods.
1268   * Refuse to do quilt fixup (explicitly requested, or as a result of
1269     build) if the tree contains ignored files.  Closes:#731632.
1270
1271   Error message improvements:
1272   * Use failedcmd to report errors when ssh psql fails.  Closes:#734281.
1273   * failedcmd prints $us, not $_[0] - ie, dgit doesn't pretend,
1274     in the error message, to be its child.
1275   * Do not report the (irrelevant) $? when madison parsing fails.
1276
1277   Better workflow flexibility:
1278   * Provide --build-products-dir option (and corresponding semantics
1279     for -C) to specify where to find the files to upload.  Closes:#731633.
1280
1281   Support for Debian backports suites:
1282   * New quirks infrastructure in configuration and internals,
1283     for suites (or perhaps distros) which are a bit like others.
1284   * Use correct default archive location.
1285   * Compute "-v" option default value correctly.
1286   * Closes:#733954.
1287
1288   Packaging improvement:
1289   * Add `Testsuite: autopkgtest' to debian/control.  (This will only have
1290     the right effect with recent enought dpkg; it will generate a harmless
1291     warning with earlier versions of dpkg.)
1292
1293  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 19 Jan 2014 02:14:25 +0000
1294
1295 dgit (0.20) unstable; urgency=high
1296
1297   * Use newest (not oldest) version currently in suite when calculating
1298     what value to use for -v<version> by default.  Closes:#732781.
1299
1300  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 21 Dec 2013 19:13:56 +0000
1301
1302 dgit (0.19) unstable; urgency=low
1303
1304   Testing facilities:
1305   * Provide "test-dummy" distro with "dummycat" access method.
1306   * Provide a selection of autopkgtest (DEP-8) tests.
1307
1308  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Wed, 27 Nov 2013 18:27:17 +0000
1309
1310 dgit (0.18.2) unstable; urgency=high
1311
1312   Bump archive upload urgency to high.
1313
1314  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 24 Nov 2013 17:42:57 +0000
1315 dgit (0.18.1) unstable; urgency=low
1316
1317   Bugfixes:
1318   * sshpsql archive query method passes LANG=C.  Closes:#729788.
1319   * Subcommand program or argument options containing hyphens work.
1320     (Eg, --dpkg-buildpackage:blah was previously incorrectly rejected.)
1321
1322   Packaging fixes:
1323   * Depend on dput.
1324   * Depend on curl | wget, as dget needs one of those.  (The dput package,
1325     which contains dget, doesn't require them because dput itself works
1326     without.)
1327
1328  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 24 Nov 2013 17:36:03 +0000
1329
1330 dgit (0.18) unstable; urgency=low
1331
1332   Major new feature:
1333   * Remote push (dgit rpush), a la debsign -r.  Closes:#721185.
1334
1335   Improved behaviours:
1336   * dgit build, by default, uses the archive to find out what the correct
1337     -v<version> option is to pass to dpkg-genchanges.  Closes:#727200.
1338   * Abolish the sshdakls method and replace it with sshpsql: that is, ssh
1339     (to coccia, by default) and run sql commands on the ftpmaster
1340     database.  This is faster and has fewer bugs but is vulnerable to db
1341     schema changes.  Closes:#726955.  Closes:#720170.  Closes:#720176.
1342   * When generating git tags, quote the (uncanonicalised) changelog's
1343     Distribution field as the suite.
1344   * Command execution reports from --dry-run go to stderr.
1345
1346   Other new features:
1347   * Support --gpg=... to provide a replacement command for gpg.
1348   * Support --ssh=... and --ssh:... to affect how we run ssh.
1349
1350   Bugfixes:
1351   * When using sbuild, pass the arguments to mergechanges in the right
1352     order so that we use the correct Description (the _source one,
1353     not the one from sbuild which didn't get e.g. -v<version>).
1354   * push actually takes an optional suite, like it says in the synopsis.
1355     Closes:#727125.
1356   * Fix dgit --damp-run sbuild to actually work.
1357   * Fix the "shellquote" internal subroutine.  The bugs in it ought not to
1358     have caused any real trouble in previous versions of dgit.
1359
1360   Documentation and message fixes:
1361   * manpage: Clarify comments about orig tarballs.  Closes: #723605.
1362   * manpage: Remove comment in BUGS about lack of policy docs
1363     for Dgit field, which is specified now.  Closes:#720201.
1364   * manpage: Make discussion of --existing-package less scary.  The
1365     default archive access method no longer needs it.  Closes:#720171.
1366   * Mention "git merge", not "git-merge", in helpful message.
1367     Closes:#725632.
1368
1369   Internal and debugging improvements:
1370   * Report chdir actions in debugging output.
1371   * Improvements to implementation of --dry-run and --damp-run.
1372   * Some code motion and cleanups.
1373
1374   Note: changelog entries for the following versions, which were uploaded
1375   to Debian experimental, have been collapsed into this single entry:
1376     0.18~experimental2 0.18~experimental1
1377     0.17~experimental7 0.17~experimental6 0.17~experimental5
1378     0.17~experimental4 0.17~experimental3 0.17~experimental2
1379     0.17~experimental1
1380     0.16~experimental3 0.16~experimental2 0.16~experimental1
1381   We do describe here all the changes since 0.17.
1382
1383  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 09 Nov 2013 10:12:13 +0000
1384
1385 dgit (0.17) unstable; urgency=high
1386
1387   * Do not grobble around in .git/refs/; instead, use git-show-ref.
1388     This avoids breaking when git makes packed refs.  Closes:728893.
1389   * Clarify error message for missing refs/remotes/dgit/dgit/<suite>.
1390
1391  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 07 Nov 2013 00:02:47 +0000
1392
1393 dgit (0.16) unstable; urgency=high
1394
1395   * Format `(3.0) quilt' fixup does not mind extraneous other files
1396     in the build tree (e.g., build products and logs).  Closes: #727053.
1397   * Set autoflush on stdout, to get better ordering of debugging
1398     etc. output when stdout is redirected.
1399   * New --damp-run mode, for more convenient and fuller testing etc.
1400
1401  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Tue, 22 Oct 2013 13:06:54 +0100
1402
1403 dgit (0.15) unstable; urgency=low
1404
1405   * Better handling of packages pushed using dgit and stuck in NEW.
1406     (And, use of `--new' is not needed with fetch.)  Closes: #722199.
1407   * More comprehensive warnings in many cases of archive skew.
1408   * Implement `dgit help' as well as `--help'.  Closes: #721661.
1409   * Provide `dgit version' and `--version'.  Closes: #721654.
1410
1411  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 12 Sep 2013 00:14:05 +0100
1412
1413 dgit (0.14) unstable; urgency=low
1414
1415   * Include package name in tag message.
1416   * Create directory .git/dgit when needed during build.  Closes: #721428.
1417   * Add Vcs-Git and Vcs-Browser [Richard Hartmann].  Closes: #721404.
1418     These fields refer to the development branch, "master", on alioth,
1419     not to the dgit suite refs (which are not accessible to git clone).
1420
1421  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 01 Sep 2013 18:30:44 +0100
1422
1423 dgit (0.13) unstable; urgency=low
1424
1425   * Reuse already-downloaded .orig files after checking their hashes.
1426     Closes: #720526.  (This introduces a dependency on Digest::SHA.)
1427   * Do not always pointlessly fetch the .dsc twice.  (That code was
1428     erroneously duplicated during editing, apparently.)
1429   * Remove DGET_UNPACK from the environment in case the user has set it.
1430   * Remove scary warning from Description.
1431   * When uploading to Debian, tell dput to upload to "ftp-master".  This
1432     avoids problems with derivatives whose dput has a different default.
1433     Closes: #720958.
1434   * Fix some bugs in dgit fetch --dry-run which made dgit push
1435     --dry-run often not work at all.
1436   * Update the local tracking branch for the dgit remote, when pushing.
1437     Closes: #720956.
1438   * Fix references in manpage to old Vcs-Dgit-Master field name.
1439   * Reorganise manpage sections to be in a more conventional order.
1440   * New manpage section on FILES IN THE SOURCE PACKAGE BUT NOT IN GIT.
1441     Closes: #721186.
1442
1443  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 29 Aug 2013 00:27:23 +0100
1444
1445 dgit (0.12) unstable; urgency=low
1446
1447   * Cope with packages with epoch.  Closes: #720897.
1448   * Improve error message for non-fast-forward push.  Closes: #720896.
1449   * New --ignore-dirty option to skip noncritical check.  Closes: #720895.
1450   * New --no-quilt-fixup option to suppress quilt fixup.  RTFM.
1451   * Add Closes line for #720595 to changelog entry for 0.11.
1452
1453  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 26 Aug 2013 16:50:39 +0100
1454
1455 dgit (0.11) unstable; urgency=low
1456
1457   * Location of dgit-repos is now git.debian.org:/git/dgit-repos/repos.
1458     Closes: #720525.  The rename on the server side will break older
1459     versions of dgit.
1460   * Fix bug which would make quilt patch fixup fail if git status
1461     produced "M" lines.
1462   * Autogenerated quilt patch fixup patch Description contains several
1463     recent git commits, rather than implying that the patch corresponds
1464     exactly to the top git commit.
1465   * Use "ftp.debian.org" not "http.debian.net" as the default Debian
1466     archive.  (http.debian.net tends to defeat certain kinds of cacheing,
1467     and can also have more skew.)
1468   * dgit build uses dpkg-buildpackage; there is a dgit git-build
1469     for using git-buildpackage.  Closes: #720595.
1470   * Better error message for use of UNRELEASED suite.  Closes: #720523.
1471   * Do not canonicalise suite more than once.  Related to: #720526.
1472   * Fix a badly open-coded copy of check_not_dirty.  Closes: #720524.
1473   * Fix some bugs in building (eg build-source would fail to do the quilt
1474     fixup; the --clean check in build was wrong).
1475   * Add missing dependency on realpath.
1476   * git-build (git-buildpackage wrapper) does not bother canonicalising
1477     the suite if --git-ignore-branch is used.
1478
1479  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 25 Aug 2013 17:00:43 +0100
1480
1481 dgit (0.10) unstable; urgency=low
1482
1483   * Create .pc/applied-patches - do not empty it (!)
1484
1485  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sun, 25 Aug 2013 00:51:50 +0100
1486
1487 dgit (0.9) unstable; urgency=low
1488
1489   * New cleaning arrangements.
1490   * More comprehensive workaround for `3.0 (quilt)'.
1491   * In push, double-check the .changes against the changelog.
1492   * Better error when source package contains .git.  Closes: #720555.
1493   * Change our .dsc field name to `Dgit'.  Relevant to #720201.
1494   * Fix bug handling our synthetic merges when we see them in
1495     the remote suite branch.
1496   * `3.0 (quilt)' fixup creates .pc/applied-patches since modern
1497     dpkg-source creates it even though old ones didn't always.
1498
1499  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 24 Aug 2013 18:49:02 +0100
1500
1501 dgit (0.8) unstable; urgency=low
1502
1503   * Fix comparison of archive's .dsc's hash and git branch head
1504     to DTRT.
1505   * When creating repos in dgit-repos (using the ssh-cmd method),
1506     copy _template rather than using mkdir and git init.
1507     Closes: #720522.
1508   * In push, do git fetch as well as archive fetch, or archive
1509     fetch can fail.
1510
1511  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 23 Aug 2013 12:24:09 +0100
1512
1513 dgit (0.7) unstable; urgency=low
1514
1515   * If dak ls, or rmadison, reports multiple versions, look for them
1516     all, and pick the newest .dsc that doesn't give 404.
1517   * Manpage formatting fix.
1518   * Name the local remote tracking branch remotes/dgit/dgit/<suite>
1519     so that we avoid a warning from git about ambiguous branch names.
1520
1521  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 18:29:10 +0100
1522
1523 dgit (0.6) unstable; urgency=low
1524
1525   * Allow fetching when archive has out-of-date git hash in .dsc.
1526     Closes: #720490.
1527
1528  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 16:02:10 +0100
1529
1530 dgit (0.5) unstable; urgency=low
1531
1532   * Upload to unstable, as this version mostly works.  (All the RC
1533     bugs of which I'm aware are now properly represented in the BTS.)
1534
1535  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 15:38:00 +0100
1536
1537 dgit (0.4~pre2) experimental; urgency=low
1538
1539   * Mangle debian/<version> tags the way git-buildpackage does
1540     (as of git-buildpackage 0.5.5, 3c6bbd0f4992f8da).
1541   * Support dgit-distro.<distro>.keyid config option.
1542   * Revert change to ssh to alioth CNAME, as the recommended CNAME
1543     is to something with no write access to the fs and the new CNAME
1544     has not yet been set up.  This reintroduces #720172 :-/.
1545
1546  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 15:31:17 +0100
1547
1548 dgit (0.4~pre1) experimental; urgency=low
1549
1550   * Use dgit.debian.net vhost on alioth.  Closes:#720172.
1551   * Usage message.  Closes:#720085.
1552   * Provide "dgit sbuild".
1553   * Assorted manpage fixes and improvements.
1554   * Fail if a required config item is missing.
1555   * Much better error messages.
1556   * Better error checking when parsing RFC822-style control data.
1557   * Better checking that the supplied .dsc and debian/changes correspond.
1558   * Ordering improvement in push: don't add dsc field until git push done.
1559   * New --distro option (helps with unknown suites).
1560   * Bugfixes.
1561
1562  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 22 Aug 2013 13:36:44 +0100
1563
1564 dgit (0.3) experimental; urgency=low
1565
1566   * New version which appears to be able to sort of work at least
1567     some of the time.
1568
1569  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Sat, 17 Aug 2013 09:18:04 +0100
1570
1571 dgit (0.2) experimental; urgency=low
1572
1573   * New version which might actually work but probably won't.
1574
1575  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 16 Aug 2013 16:52:17 +0100
1576
1577 dgit (0.1) experimental; urgency=low
1578
1579   * Initial experimental (partial) version.
1580
1581  -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Thu, 15 Aug 2013 12:09:01 +0100
1582