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