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