1 dgit (5.8~) unstable; urgency=medium
4 * dgit, git-debrebase: Properly make patches even if an awkward
5 .gitignore ignores the things in debian/patches. Closes:#903130.
6 * git-debrebase status: Fix commit reporting. Closes:903131.
7 * git-debrebase new-upstream: Add a -1 revision if the user
8 didn't supply one. Closes:#903127.
9 * dgit(1): Unscramble push[-source] descriptions. Closes:#903116.
13 dgit (5.7) unstable; urgency=medium
16 * dgit checkout: new subcommand. Closes:#878443.
17 * dgit: Check that entirely-new uploads to Debian are not
18 source-only-uploads, as those are REJECTed. Closes:#801435.
21 * dgit(7): Mention git-debrebase and gbp pq alongside git-dpm,
22 in the comment about handling patch stacks.
23 * dgit update-vcs-git: Honour --package properly.
24 * test suite: Always pass LC_COLLATE=C to sort(1). Closes:#903006.
25 * test suite: Fix trustingpolicy-replay & dput-ng. Closes:#903007.
26 * test suite: Test dput-ng compatibility.
28 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 05 Jul 2018 15:02:21 +0100
30 dgit (5.6) unstable; urgency=medium
32 * Merge the experimental branch containing the fianl
33 version of the test suite gnupg workarounds. Empirically,
34 - The tests now pass (most of the time, at least) in
35 current Debian unstable, whereas 5.5's fail utterly.
36 - There is still occasional lossage. So when running tests
37 in a loop (eg to test ever commit), it is still good to set
38 DGIT_TEST_RETRY_COUNT=3 (say).
40 * test suite: Test that manpages format with only expected warnings.
42 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 01 Jul 2018 00:41:20 +0100
44 dgit (5.5+exp9) experimental; urgency=medium
46 * test suite: Explicitly start/stop the gnupg agent, around
47 each call to gnupg. Apropos of #902316 (and #868550).
49 * Separate changelog entries for the following test attempts
50 in experimental have been elided:
51 dgit (5.5+exp8) experimental; urgency=medium
52 dgit (5.5+exp7) experimental; urgency=medium
53 dgit (5.5+exp6) experimental; urgency=medium
54 dgit (5.5+exp5) experimental; urgency=medium
55 dgit (5.5+exp4) experimental; urgency=medium
56 dgit (5.5+exp3) experimental; urgency=medium
57 dgit (5.5+exp2) experimental; urgency=medium
58 dgit (5.4+exp1) experimental; urgency=medium
60 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 30 Jun 2018 19:03:00 +0100
62 dgit (5.5) unstable; urgency=medium
64 * Add missing comma in debian/control. Closes:#902578.
65 * dgit(1): Fix a wrong reference to \fp, which should be \fP.
67 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 28 Jun 2018 13:25:21 +0100
69 dgit (5.4) unstable; urgency=medium
72 * dgit(1): Better description of --overwrite. Somewhat
73 apropos of discussion in #902534.
76 * test suite: gdr-viagit, gdr-newupstream: Do not spuriously
77 fail if gnupg not serendipitously installed. Closes:#902559.
78 * Fix bug ref to #865444 in previous changelog entry.
80 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 27 Jun 2018 23:13:42 +0100
82 dgit (5.3) unstable; urgency=medium
85 * dgit: Do not introduce duplicate origs in .changes files,
86 eg if the .changes already has that orig. Closes:#869146.
87 * Honour GIT_REFLOG_ACTION everywhere. Closes:#901935.
88 * git-debrebase new-upstream: Provide better reflog entries
89 by setting GIT_REFLOG_ACTION. Closes:#901925.
92 * Better message formatting when --overwrite may be needed,
93 and a note about first dgit push in dgit(1). Closes:891031.
94 * dgit(7): Add discussion of quilt fixup error messages,
95 and add cross-references to dgit(1) and the actual error.
96 Somewhat apropos of #865444.
98 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 27 Jun 2018 14:00:31 +0100
100 dgit (5.2) unstable; urgency=medium
103 * When all Debian changes vanish with single-debian-patch,
104 do not fail to commit the patch queue removal. Closes:#877036.
105 * When build fails because the network is offline, mention
106 that this is because --since-version was not specified.
108 * When quilt fixup fails because of discrepancies, print a
109 git diff rune which will show them. Closes:#865446.
110 * When fetch or push wants git fetch (other than in a situation where it
111 happes to be a noop) but --dry-run was specified, fail with an
112 explanation, rather than looping with a false coplaint about git
113 fetch. Closes:#871317.
114 * --overwrite now no longer crashes if there is nothing to overwrite
115 (eg, when used with --new). Instead, it is simply ignored, as it is
116 ignored in situations where the push is fast forward. Closes:#863576.
118 dgit/git-debrebase interop bugfixes:
119 * git-debrebase interop: Add a missing debugcmd debugging print.
120 * git-debrebase interop: Actually tolerate git-debrebase make-patches
121 exiting with status 7.
123 dgit vcs-git handling improvements:
124 * Provide `update-vcs-git' subcommand, for creating and adjusting the
125 vcs-git remote url. Useful for transition from alioth to salsa.
127 * Print a warning to stderr on `dgit fetch sid', if your vcs-git
128 remote url disagrees with what's in sid's .dsc.
131 * dgit(1): Mention under `dgit build' that it uses the network.
132 * dgit(1): Clarify that --overwrite does nothing if not needed.
134 * dgit-user(7): Recommend sbuild-debian-developer-setup.
135 [ Sean Whitton. ] Closes:895779.
138 * Use nproc(1) rather than Sys::CPU. This is more portable and does not
139 depend on libsys-cpu-perl being installed. Closes:888496.
141 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 24 Jun 2018 23:33:28 +0100
143 dgit (5.1) unstable; urgency=medium
145 dgit gitattributes handling:
146 * Squash the working-tree-encoding attribute too.
147 * Update an existing `dgit-defuse-attrs' macro in .git/info/attributes.
148 * Test the working-tree-encoding attribute squashing properly.
152 * new-upstream: fix (this time for sure) ff check handling
153 of multi-piece upstreams.
154 * Suppress gbp pq export output, except in case of error.
156 * Manpages: Fix typos and etc.
157 * Fix a typo in the package description.
160 * Triger ci.debian.net autopkgtests on: gnupg diffutils patch.
161 (A dummy test is used to add to Testsuite-Triggers.)
163 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 20 Jun 2018 23:20:57 +0100
165 dgit (5.0) unstable; urgency=low
168 * git-debrebase, a new git workflow tool, in its own package.
169 * dgit will now, when appropriate, check if it should call
172 [ Thanks to Sean Whitton for much useful input, and for
173 dgit-maint-debrebase(7). ]
176 * Fix the exit status of programs in dgit.deb, to avoid the Perl
177 misfeature which sometimes copies $! to the exit status.
178 * When checking that the tree is clean, check the git index too.
179 * In quilt_fixup_multipatch, work around git checkout paths
180 not deleting files. (Hypothetical bug AFAIAA.)
181 * Respect --quilt=nofix even if single-debian-patch.
184 * "confess" when we die due to a warning, rather than symply dieing.
187 * Move $playground global to dgit.
188 * Break git_get_symref and $extra_orig_namepart_re out into Dgit.pm.
189 * Changes to support git-debrebase.
191 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 18 Jun 2018 00:29:44 +0100
193 dgit (4.4) unstable; urgency=high
196 * Use full key hash rather than short keyid. Closes:#896653.
197 [ report: Paul Gevers; fix: Chris Lamb ]
199 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 23 Apr 2018 13:18:51 +0100
201 dgit (4.3) unstable; urgency=high
203 Documentation improvements:
204 * dgit(7): Discuss file executability. Closes:#886444.
205 * dgit(7): Discuss git-unrepresentable properties of source trees.
206 * dgit-maint-merge(7): Don't suggest using debian/source/patch-header
207 for 1.0 source format. Closes:#887850. [Sean Whitton]
210 * dgit archive-api-query: Avoid crashing due to lack of $isuite.
211 This breaks the infrastructure. Closes:#886592.
213 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 25 Jan 2018 00:33:56 +0000
215 dgit (4.2) unstable; urgency=low
217 * Upload dgit 4.x series to unstable.
219 New features [Sean Whitton]:
220 * New 'push-source' subcommand for source-only uploads. Closes:#848931
221 * When dgit builds a source package, such as in the 'build-source'
222 subcommand, it now bypasses dpkg-buildpackage and invokes dpkg-source
223 directly. This avoids a _source.buildinfo file in the .changes, which
224 doesn't make sense when using dgit. See
225 <https://lists.debian.org/debian-dpkg/2017/06/msg00005.html>.
227 Documentation improvements:
228 * dgit(1): Add a bit more rationale (polemic, even). Closes:#874221.
229 * Recommend mk-build-deps rather than apt-get build-dep.
230 Suggestion from Nikolaus Rath. Closes:#863361.
231 * dgit-maint-merge(7): many updates. [Sean Whitton]
232 Closes:#864873,#878433.
233 * dgit-*(7): Mention first upload trick. [Andrew Shadura,
234 Sean Whitton] Closes:#856402.
237 * When source discrepancy involves file mode changes, report them
238 specially. Closes:#886442.
239 * In split brain mode, with unexpected diffs, print dgit view
240 commitid in suggested diff rune. (HEAD is wrong.) Closes:#886443.
241 * Fix message about missing quilt cache entry to refer to
242 HEAD rather than tree, since dgit needs a commit. Closes:#884646.
243 * Fix grammar error in 4.1 changelog entry. [Sean Whitton]
244 * Remove some whitespace "errors". [Sean Whitton]
247 * Remove dependency alternative on realpath (package last existed in
248 Debian wheezy). Closes:#877552.
251 * dpkgsourceignores-docs: Correct restriction (so autopkgtest
252 won't try to run it).
253 * Additional workarounds for gnupg races (#868550) including
254 retrying each individual test once, and more sophisticated
255 wrapper for gpg (with locking and, sometimes saves stdin).
256 * oldnewtagalt: Fix regression when running outside git tree,
259 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 07 Jan 2018 21:45:29 +0000
261 dgit (3.13) unstable; urgency=high
263 Important bugfixes to dgit:
264 * Add missing `use' for Dpkg::Compression et al.
265 Thanks to report from Didier 'OdyX' Raboud. (Closes:#879526.)
268 * Add missing `chiark-utils-bin' to Test-Depends.
270 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 22 Oct 2017 17:51:12 +0100
272 dgit (4.1) experimental; urgency=medium
274 Important improvements to dgit:
275 * Support for `git worktree' worktrees. There may still be
276 bugs; the tests for this are not very comprehensive. And
277 worktrees on different filesystems may not work; that's a
278 matter for the future. Closes:#868515.
279 * Change the dpkg-source -i argument to exclude exactly the right
280 set of things. (Sadly this is not a simple rune.)
282 Other improvements to dgit:
283 * New print-dpkg-source-ignores option to print the big rune
284 you need to pass to dpkg-source to make it work exactly right.
285 * Properly shell-quote the --git-builder argument to gbp.
288 * dgit-user(7): Provide information about how to use sbuild.
289 Quite ugly due to #868527. Closes:#868526.
290 * dgit-user(7): Fixed example rune to use curl (which prints
291 to stdout, as the rune expects). [reported by Simon Tatham]
294 * Do not leave many clog-* files in .git/dgit.
297 * using-these: New script to help with ad-hoc-testing.
298 * Refactoring in preparation for push-source [Sean Whitton].
301 * sbuild-gitish: New test case to check running sbuild from git
302 * Work around gnupg agent connection races by having our stunt
303 gpg wrapper simply try running gpg again, once, if it exits 2.
304 This does not fully suppress the bug but it does significantly reduce
306 * Other tests for new features.
307 * Various refactoring.
309 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 14 Aug 2017 09:31:03 +0100
311 dgit (4.0) experimental; urgency=low
313 * dgit: --deliberately-not-fast-forward works properly in
314 split view quilt modes (suppressing the pseudomerge).
316 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 12 Feb 2017 22:22:31 +0000
318 dgit (3.12) unstable; urgency=high
320 Important bugfixes to dgit:
321 * Pass --no-renames to git diff-tree -z, avoiding potential trouble.
322 * Defend against commit subject lines which would generate patches which
323 look like series files, etc. Involves adding .patch to all generated
325 * dgit import: Defend against broken symlinks in ..
326 * dgit import: Right error message for missing files in ..
327 * dgit import: Avoid making broken symlinks in ..
328 * quilt fixup: Tolerate deletion of executable files.
329 * quilt fixup: Tolerate symlink creation (make patches). Closes:#857382.
331 Important bugfixes to other components:
332 * dgit-repos-server: Do not reject commits with no author/committer
333 email address (but still insist on date, and hence on the actual
334 committer and author commit header fields). Peter Green reports that
335 eg 66c65d90db100435 in upstream linux.git is such a commit (and is
336 accepted by github). Closes:#863353.
339 * t-report-fail: print $PWD as part of failure message.
340 * import-dsc: Test missing files, particularly in ..
341 * run git gc on tests/worktrees/example_1.0.tar.
342 * quilt fixup: Check we can delete files with funny modes
343 * quilt fixup: Check that funny changes are represented properly
345 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 16 Jul 2017 21:36:24 +0100
347 dgit (3.11~deb9u1) stretch; urgency=high
349 * Rebuild and upload to stretch.
351 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 11 Jul 2017 09:28:15 +0100
353 dgit (3.11) unstable; urgency=high
355 Important bugfixes to dgit:
356 * Fix rpush+buildinfo: Transfer buildinfos for signing. Closes:#867693.
357 * Cope if the archive server sends an HTTP redirect,
358 by passing -L to curl. Closes:#867185,#867309.
359 * Cope with newer git which hates --local outside a tree. Closes:#865863.
360 * rpush: Honour local git config from build host working tree.
361 * Tolerate compressor terminating with SIGPIPE. Closes:#857694.
362 * Honour more pre-tree git config options in our private trees sharing
363 the user's object store. In particular, core.sharedRepository.
365 * Clone multisuite works even without --no-rm-on-error. Closes:#867434.
366 * Work if "git init" does not create $GIT/info. Closes:#858054.
367 * Actually understand foo,-security (!) Closes:#867189.
369 Important bugfixes to other components:
370 * dgit-badcommit-fixup: Honour core.sharedRepository. Closes:#867603.
371 * infrastructure: Cope with new git-receive-pack which has
372 quarantine feature: ie, work around #867702.
375 * Cope with git restricting ext:: protocols.
376 * multisuite: Test clone without --rm-on-error.
378 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 08 Jul 2017 22:40:15 +0100
380 dgit (3.10) unstable; urgency=medium
383 * dgit: Copy several user.* settings from main tree git local config
384 to dgit private workarea. Closes:#853085.
385 * dgit: Strip initial newline from Changes line from dpkg-parsechangelog
386 so as to avoid blank line in commit messages. Closes:#853093.
387 * dgit: Do not fail when run with detached HEAD. Closes:#853022.
388 * dgit: Be much better about commas in maintainer changelog names.
392 * quilt-useremail: New test for user config copying (#853085).
393 * lib-import-chk: Test that commits have smae authorship as appears in
394 the changelog. (Or, at least, the same authorship set.)
395 * import-maintmangle: New test for changelog Maintainer mangling.
398 * Fix typos. Closes:#853125. [Nicholas D Steeves]
400 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 06 Feb 2017 17:49:39 +0000
402 dgit (3.9) unstable; urgency=medium
405 * dgit --overwrite: Check that the overwritten version's changelog entry
406 is not UNRELEASED. This could easily happen if this release was being
407 made from a git branch which predates the previous package upload.
410 * dgit-maint-merge(7): Get git clone url right. Closes:#852609.
411 * dgit-maint-merge(7): Quote sample clone commands. Closes:#852615.
414 * overwrite-chkclog: test UNRELEASED handling.
416 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 25 Jan 2017 16:21:53 +0000
418 dgit (3.8) unstable; urgency=medium
421 * Make dgit-setup-* work in default distro.
424 * defdistro-setup: Test that setup-* functions distro selection works.
426 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 23 Jan 2017 16:21:30 +0000
428 dgit (3.7) unstable; urgency=medium
431 * Fix clone-dgit-repos-server and print-dgit-repos-server-print-url.
435 * dgit-maint-merge(7): Explain when workflow is unsuitable
436 (Closes:#852090) and improve the patch-header (Closes:#851897.)
439 * New %.view target: `make dgit-maint-merge.7.view' runs `man -l ...'
442 * defdistro-dsd-clone-drs: New test which would have detected
443 #851906 (and hopefully #850521).
445 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 22 Jan 2017 17:30:24 +0000
447 dgit (3.6) unstable; urgency=medium
450 * Actually use the url from a Dgit .dsc field naming an unknown distro.
452 * Add dummy implementation of file_in_archive_aptget copied from
453 file_in_archive_dummycat. Re:#851697. [ Peter Green ]
456 * Use `confess' to print a stack trace in a couple of internal error
460 * Properly honour NOCOMMITCHECK policy hook exit status.
462 * Do not reject commits with no author/committer name (but still insist
463 on email address and date). Peter Green reports that eg
464 71e128629ec786f3 in upstream xen.git is such a commit (and is accepted
465 by github). Closes:#851716.
468 * downstream-gitless: Test import of .dsc from unknown distro.
469 * downstream-gitless: Test import of .dsc with unsafe url.
471 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 19 Jan 2017 01:15:03 +0000
473 dgit (3.5) unstable; urgency=medium
476 * gitattributes: Defuse gitattributes in private working area even if we
477 don't do it in the user's tree (because of user configuration).
478 * gitattributes: When cloning, do not print spurious warning about
479 actually-defused gitattributes. Closes:#851624.
480 * gitattributes: Improve comment left in .git/info/attributes.
483 * gitattributes: Many improvements to test case.
485 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 17 Jan 2017 22:36:01 +0000
487 dgit (3.4) unstable; urgency=low
490 * drs-push-rejects: Set origin's url to an ad-hoc expression
491 which produces the right ext:: rune, as dgit would.
493 * Replace references to /home/ian in various worktrees with
494 references to /nonexistent, to catch inadvertant accesses.
496 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 16 Jan 2017 17:27:35 +0000
498 dgit (3.3) unstable; urgency=medium
500 Behavioural changes to work around gitattributes file transformations:
501 * Suppress file-transforming gitattributes in private work areas.
502 * Configure suppression in user's trees in dgit clone and setup-new-tree.
503 * Provide dgit setup-gitattributes to do this explicitly.
507 * dgit: Remove a leftover debugging print.
508 * dgit: Set default dsc import distro when there is no Dgit field.
509 * dgit: Set default dsc import distro when suppressing Dgit field.
510 * dgit: Option parsing: Fix undefined $suite in some import-dsc.
514 * Remove redundant use of List::Util qw(any). Closes:#851280.
515 * Remove redundant Recommends on libtext-iconv-perl.
518 * Move default dsc distro config setting to lib. We need this
519 for the .dscs we have in tests/pkg-srcs/.
520 * defdistro-import-dsc: Drop this test.
521 * protocol-compat: check that we use the right distro
522 information when importing.
523 * Internal change: fix handling of nonempty distro=
524 * gitattributes: New test for .gitattributes handling.
526 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 16 Jan 2017 10:03:08 +0000
528 dgit (3.2) unstable; urgency=medium
531 * dgit: Do not execute END blocks in children. So far symptoms of this
532 bug seem to be limited to duplicated error messages but I have not
533 done a thorough analysis. Closes:#850052.
534 * dgit-infrastructure: dgit-repos-policy-debian: Remirror a package when
535 it becomes public (ie, make the repo available much more promptly when
536 the package passes NEW). Closes:#849789.
537 * dgit: Fix a warning message about ref (mainly, tag) updates.
540 * dgit-maint-merge(7): Use git-deborig(1).
541 [Sean Whitton] Closes:#850953.
542 * dgit-user(7): Fix some typos.
545 * Fix a typo in a comment.
548 * infra: mirroring and policy hooks: Improve some debugging output.
549 * infra: mirror-private: test that package becomes public. (#849789)
551 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 12 Jan 2017 02:11:34 +0000
553 dgit (3.1) unstable; urgency=medium
556 * dgit import-dsc: Do not crash with undefined $isuite. Closes:#850781.
557 * dgit build: Do not sometimes crash with undefined $isuite.
558 * dgit: Do not nedlessly re-fetch the rewrite map.
559 * dgit: After downloading .debian.* files, save them in `..', too
560 (ie do this not just for .origs).
561 * dgit: When fetching, refetch files with hash mismatches (and save them
562 as `...,fetch'), so we can distinguish them from any built locally.
566 * Add test for import-dsc with default distro. (Detects #850781.)
569 * Fix a dgit 3.0 changelog bullet referring to refs/dgit-fetch/DISTRO.
571 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 10 Jan 2017 17:50:27 +0000
573 dgit (3.0) unstable; urgency=medium
576 * Dgit: field now records the nominal distro name, and a hint
577 for a tag and url where the git objects (including any rewrite
579 * Use this information, where provided. Closes:#850431.
582 * dgit config handling: Honour command-line and context-provided
583 suite and distro more reliably and consistently.
584 * Parsing of extended Dgit fields by import-dsc was broken;
585 and is now fixed even for more-extended ones.
586 * dgit clone-dgit-repos-server uses readonly access.
588 * fetch and pull ignore the changelog suite when it is UNRELEASED.
590 * dgit-badcommit-fixup: Do not investigate symrefs. Closes:#850547.
593 * distro alias facility in config space. (Primarily for testing.)
594 * Undocumented --config-lookup-explode= feature. (For testing.)
595 * Provide `dgit print-dgit-repos-server-source-url'. Re:#850521.
596 * Honour dgit-distro.*.default-suite and dgit.default.default-suite.
599 * Improve debugging output a bit.
600 * Use refs/dgit-fetch/DISTRO rather than refs/dgit-fetch/SUITE,
601 which leads to less duplication and so less clutter.
602 * Enforce a reasonable syntax for nominal distro names.
603 * When generating orig+debian/patches view, copy debian/ from
604 HEAD. This makes less noise in diffs. Closes:#850095.
606 Docuentation [Sean Whitton and Ian Jackson]:
607 * dgit-sponsorship(7): Use --no-dep14tag. Closes:#849105.
608 * dgit-maint-merge(7): Use debian/source/patch-header. Closes:849120.
609 * dgit(7): Updated `trouble' section to suggest having dpkg-source
610 delete the autotools output (with a patch if necessary).
611 * dgit(1): Several minor updates and fixes. Closes:#850519.
614 * Internal improvements.
615 * badcommit-rewrite: Fix operation using installed version of fixup.
616 * Arrange to pass --debug-quick-random to gpg-agent.
617 * Strip block count out of find -ls output - it is unstable!
618 * gbp-orig: Add a missing -m, without which git would run an
619 editor if stdout was a tty (!)
620 * Add t-stunt-parsechangelog to a few tests which were missing it.
621 * Tests for the new protocol feature.
622 * Fail tests if we look up any configuration relating to Debian.
624 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 09 Jan 2017 16:43:10 +0000
626 dgit (2.16.2) unstable; urgency=low
628 dgit-badcommit-fixup:
629 * Fix crash when running for 2nd time in bare repo.
630 * In --check mode, exit with status 2 if things are not fine.
632 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 07 Jan 2017 13:31:50 +0000
634 dgit (2.16.1) UNRELEASED; urgency=low
636 * dgit-badcommit-fixup: New mode --check which is readonly.
638 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 07 Jan 2017 13:04:49 +0000
640 dgit (2.16) unstable; urgency=low
642 Dealing with fallout from #849041:
643 * Provide dgit-badcommit-fixup history-rewriting script.
644 * New rewrite map feature, which allows dgit git server to adjust
645 clients' interpretation of Dgit fields, so that history-rewriting is
646 effective. (Feature is only partially implemented right now -
647 enough to dig current Debian users out of the hole.) Re:#850431.
650 * New test case for history-rewriting.
651 * Change `local foo=$(bar)' idiom to `local foo; foo=$(bar)' since
652 the former does not trip set -e even if bar fails :-(.
654 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 06 Jan 2017 20:46:30 +0000
656 dgit (2.15) UNRELEASED; urgency=high
659 * Prevent introduction of new commits which lack `committer'
660 information. Ie, prevent the reception of new commits afflicted by
661 #849041. Existing commits are tolerated.
664 * Be much stricter about messages from git-fsck.
666 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 05 Jan 2017 18:20:23 +0000
668 dgit (2.14) unstable; urgency=critical
671 * Do not generate bogus commits with --overwrite or import-dsc.
675 * Run a lot of git-fsck.
677 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 04 Jan 2017 22:52:55 +0000
679 dgit (2.13) unstable; urgency=high
682 * quilt fixup: Permit creation of patches which delete files, by psssing
683 --include-removal to dpkg-source, and tolerating it when we do our
684 quilt fixup analysis. dpkg-source has supported this since at least
685 stretch. Closes:#848901.
688 * Improve "cannot represent change" message: print the git old and new
692 * Import: Switch back to unpa branch on patch import iterations.
693 In particular, do not fail utterly if dpkg-source and gbp disagree.
696 Documentation [Sean Whitton]:
697 * dgit-maint-gbp(7): Remove reference to closed bug. Closes:#848725.
698 * dgit-sponsorship(7): Update in light of fixed #844129. Closes:#848789.
700 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 21 Dec 2016 01:32:41 +0000
702 dgit (2.12) unstable; urgency=high
705 * By default, generate a DEP-14 tag as well as a dgit archive/*
706 tag, even in non-split-view quilt modes. Closes:#844129.
707 * Version tags mangling: Protect dots, as per proposed update to DEP-14.
710 * dgit-maint-merge(7): Explain how to change to this workflow
711 from an existing git workflow. [Sean Whitton] Closes:#847807.
712 * dgit-maint-native(7): Clarify that we mean native source format.
713 [Phil Hands] Closes:#847987.
716 * Slightly better message when .dsc not found. Apropos of #844128.
717 * Give better advice if .dsc/.changes signing fails: if no changes
718 are needed to the package, user may indeed just debsign and dput.
720 * Produce better error reporting when absurd git wrapper fails
721 on a patch during .dsc import. Apropos of #848391.
724 * If we cannot hardlink origs into our extraction area, use symlinks
725 instead. Closes:#844570.
726 * Suppress some leftover debugging output from import-dsc.
728 * Do not fail when cloning a package containing dangling symlinks.
730 * Do not fail to import a .dsc containing patches which patch files
731 multiple times, due to #848611. Closes:#848391.
732 * Do not fail to import a .dsc containing patches to .git/ (!)
733 * infra: dgit-repos-policy-debian which broke due to recent git setting
734 GIT_ALTERNATE_OBJECT_DIRECTORIES in the pre-receive-hook.
735 (fixes test suite regression in stretch).
738 * Provide and use stunt lintian and debuild, to avoid lintian
739 complaining about our stupid test packages.
740 (fixes test suite regression in stretch).
742 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 19 Dec 2016 17:35:18 +0000
744 dgit (2.11) unstable; urgency=medium
747 * dgit-user(7): Better explanation of combined suites (comma syntax).
748 Thanks to Sean Whitton for review and suggestions.
749 * dgit(1), dgit(7): Better reference docs for combined suites.
750 * dgit(1): Improve formatting of rpush section.
753 * Replace make in Test-Depends with build-essential. Most of the tests
754 do in fact run dpkg-buildpackage which bombs out if build-essential is
757 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 08 Nov 2016 22:41:29 +0000
759 dgit (2.10) unstable; urgency=medium
762 * Support the Debian *-security suites.
763 * New comma-separated multiple-suite merging facility (readonly),
764 so that users can easily track "jessie, or jessie-security".
765 * dgit-user(7): Suggest `dgit clone P jessie,-security'.
768 * Cope when an orig tarball is a tarbomb. Ie, if it contains
769 other than one single directory toplevel. Closes:#843422.
770 * Actually honour the branch name, if we are on dgit branch, to specify
771 the suite, as documented in the manpage.
772 * When cloning a distro which has no git server, correctly leave
773 the user on the local dgit branch, not on `master'.
774 * Fix an unconditional print that was supposed to be a printdebug:
775 origs <blah>.orig.tar.gz f.same=1 #f._differ=-1
776 * Print a slightly better message if .git found in orig tarball(s).
779 * Test suite: Add fakeroot and make to Test-Depends. These aren't
780 necessarily pulled in by anything else. (dpkg-dev Recommends
781 build-essential. But we don't actually need build-essential.)
783 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 08 Nov 2016 01:08:51 +0000
785 dgit (2.9) unstable; urgency=medium
788 * During push, automatically calculate which .origs are required,
789 so user never needs [--ch:]-sa or [--ch:]-sd. Closes:#829116.
790 * New import-dsc feature.
791 * New option --dgit-view-save= for split view quilt modes.
792 In particular, means that the output of a split view quilt-fixup
793 is left somewhere useful.
794 * dgit clone: Set timestamps in cloned tree to a single unified time.
795 This makes it less likely that the user will trip over any
796 timestamp-dependent FTBFS bugs (eg #842452).
797 * Support dgit --delayed= push (with a warning in the manpage
798 about possible skew).
799 * dgit gbp-build will arrange to let gbp buildpackage generate
800 .orig tarballs if it seems applicable. Closes:#841094.
802 Documentation improvements:
803 * dgit-*(7). Many new tutorial manpages, several written and many
804 improved by Sean Whitton.
805 * dgit(7): Substantial updates, including documenting split view.
806 * dgit(1): Better cross-references.
807 * dgit(1): Remove obsolete workflow information.
808 * dgit(1): Improved BUGS section.
809 * Fix changelog entry for SIGPIPE to correctly mention
813 * Split brain mode: Fix --new. Closes:#842577.
814 * Properly look for .origs etc. in .., fetching them less often.
816 * Reject `dgit pull' in split view quilt modes, to avoid
817 creating unfortunate wreckage on non-dgit-view branches.
819 * Cope when cloning suite which doesn't receive uploads,
820 like testing. Closes:#842621.
821 * Properly fetch all archive dgit view tags, as we intended.
822 * Actually provide a -p (--package=) option (!)
825 * Test suite: Explicitly configure user.name and user.email, so
826 that tests work when environment doesn't have defaults.
827 Closes:#842279 (I hope).
829 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 31 Oct 2016 12:47:18 +0000
831 dgit (2.8) unstable; urgency=medium
833 * When in split build mode for `gbp-build' or `build', run
834 mergechanges as is required. Closes:#841990.
835 * Test suite: build-mode-*: Check that right .changes comes out
837 * Defend against debian/patches/series being an unusual object, in case
838 dpkg-source doesn't, in absurd git-apply fallback.
840 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 25 Oct 2016 17:29:23 +0100
842 dgit (2.7) unstable; urgency=medium
844 Absurd bugfix for serious bug:
845 * Work around `git-apply' problems (eg #841865, #829067) exposed by
846 `gbp pq import' (#841866) by sometimes falling back to an emulation of
847 git-apply in terms of dpkg-source --before-build. Closes:#841867.
850 * dgit(1): Reorder the options, moving more important ones earlier.
851 * dgit(1): Some more info about --deliberately.
852 * Provide various --force-something options. Please don't use them.
854 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 24 Oct 2016 02:37:28 +0100
856 dgit (2.6) unstable; urgency=medium
858 Fixes to HTTP handling:
859 * Check for non-2xx HTTP status codes from ftpmaster api server.
860 * Always honour --curl= and --curl:.
862 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 23 Oct 2016 14:57:22 +0100
864 dgit (2.5) unstable; urgency=low
867 * Do not crash in split brain quilt modes when the two brains are
868 actually identical. (Eg --quilt=gbp with no patches.) Closes:#841770.
869 * Switch to new archive/ tag format by default, even in
870 non-split-brain mode.
871 * Provide --gbp and --dpm as aliases for --quilt=gbp and --quilt=dpm.
874 * dgit-maint-merge(7): New tutorial manpage from Sean Whitton.
877 * Introduce setup/gnupg, to help work around gnupg2 bug #841143
878 and improve performance by amortising gnupg migration cost.
881 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 23 Oct 2016 13:20:23 +0100
883 dgit (2.4) unstable; urgency=low
886 * split brain cache: Fix a wrong implicit reference to $_.
888 * split brain cache: Make sure to write reflog entries for cache updates
889 even if the eventual tree (and therefore commit) is the same.
890 Otherwise, after updating dgit, the cache might have the right answer
891 but not be refreshed even by a build.
892 * dgit gbp-build: No longer invent a --git-debian-branch option.
893 Usually the user is a maintainer using split brain, and we should rely
894 on their own gbp configuration to specify the right check.
898 * dgit(1): Document which --ch: options are a good idea.
900 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 20 Oct 2016 16:31:54 +0100
902 dgit (2.3) unstable; urgency=low
904 * With --overwrite, do not check all sorts of tags (which may
905 not exist, or might contain wrong things). Closes:#841101.
906 * When generating pseudomerge in quilt split brain mode due to
907 --overwrite, actually include the version number in the commit
910 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 18 Oct 2016 01:58:05 +0100
912 dgit (2.2) unstable; urgency=low
914 * Fix config relating to Debian to actually make split brain mode
915 work. Closes:#841085.
916 * Detect SIGPIPE (and SIGCHLD) being blocked or ignored.
919 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 17 Oct 2016 17:31:18 +0100
921 dgit (2.1) unstable; urgency=low
923 * Do not crash due in clone to failure to handle dpkg-parsechangelog
924 SIGPIPE. Closes:#840989. Avoids:
925 dgit: failed command: dpkg-parsechangelog --format rfc822 --all
926 dgit: subprocess died due to fatal signal PIPE
927 * git- prefixes: Fix some occurrences of `git-foo' in infrastructure,
928 messages, and test suite. Filter out .../git-core from PATH in
929 test suite so that we catch future occurrences.
931 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 16 Oct 2016 19:05:14 +0100
933 dgit (2.0) unstable; urgency=low
936 * dgit sbuild: does not pass -A to sbuild. Consequently the default
937 build is now simply sbuild's default. With older sbuilds it was
938 possible to override dgit's -A by passing another option. But this
939 has been changed recently and now this default setting is very awkward
940 to change for the dgit user.
941 * dgit gbp-build: Make --quilt=gbp the default. (See below.)
942 * New tag format (for dgit view) archive/debian/VERSION.
945 * --quilt=gbp, --quilt=dpm, --quilt=unpacked: Introduce facility for
946 split view (dgit/mainiainer view), to improve compatibility with some
949 New checks and improved behaviours in dgit:
950 * When running dpkg-buildpackage, cope if user specified -g or -G.
951 * dgit sbuild: check that the set of .changes files found is as we
952 expect, before calling mergechanges. Re:#800060.
953 * dgit sbuild: Rename the used-up .changes files to `.inmulti' to
954 avoid accidental use of the wrong one (by software, or by users).
955 * dgit sbuild: Check that the binary .changes file doesn't contain a
957 * Introduce --rm-old-changes to delete previous builds' changes files.
958 * Remove any pre-existing _source.changes file before building source,
960 * No longer tolerate a multitude of .changes files when doing push.
961 Instead, insist on a single one. Closes:#800110.
962 * dgit sbuild no longer deletes extranious .changes files; instead
963 we rely on --rm-old-changes, or failing that, fail early.
964 * When doing quilt linearisation, treat upstream .gitignores not
965 in the toplevel the same way we treat ones in the toplevel.
966 * When automatically generating quilt patch, honour GIT_COMMITTER_DATE
967 for filename creation (makes filename deterministic in test suite).
968 * New --overwrite option, replaces need to for user to use
969 git merge -s ours. Closes:#838718.
970 * When generating quilt patches from git commits, make patches that
971 look quite like git-format-patch output (rather than strange things
972 based on an obselete interpretation of DEP-3).
973 * When generating quilt patches from git commits, honour (and strip)
974 any Gbp-Pq headers (that we understand).
975 * Several dgit-generated commits now have slightly better annotations
976 from dgit about what it was doing.
977 * Before committing to push, check that .dsc and .changes correspond.
979 * Better error message if non-split-brain patch stack no longer
980 applies (due to new upstream version, or user messing with it).
982 * Better error message if HEAD contains changes unrepresentable
983 by `3.0 (quilt)'. Closes:#834618.
984 * Much better error message when HEAD and .dsc do not match.
988 * dgit-repos-policy-debian: Better error handling.
989 * dgit-repos-policy-debian.: fix git-cat-file-handling with multiple
991 * dgit-infrastructure has, and uses, its own copies of the perl modules.
992 This avoids introducing a versioned dependency between dgit and
993 dgit-infrastructure (and also makes it easier to test cross-version
997 * Document the dgit-distro.DISTRO.quilt-mode config setting.
998 * Clarify the --clean= options' documentation. Closes:#800054.
999 * Discourage use of the --PROGRAM:OPTION escape hatch. (Apropos
1000 of various bug reports including #800060 and #833025.)
1001 * Document the expected form of HEAD for each --quilt= mode.
1004 * When cleaning up after failed clone, stat the to-be-cleaned-up
1005 directory before running rmtree on it. Closes:#796773.
1006 * Do not call "warn" on failure of cleanup handler in END block
1007 (since warn has been made fatal and aborts the cleanup chain).
1008 * Print better error message (with `fail' rather than `die') if
1009 `dgit clone' cannot create the destination directory.
1010 * Properly substitute $changesfile in one of the `You can retry'
1011 messages. Closes:#800078.
1012 * Pass --ch:* and -v options to dpkg-buildpackage when building
1013 source. Fixes bad Perl poetry syntax. Closes:#829121.
1014 * When synthesing a commit from a .dsc from the archive, stop
1015 internal git reset from printing a confusing message about HEAD.
1016 * Turn off git gc in the private working areas.
1017 * Do not fail to do some important quilt processing in some
1019 * Fix two calls to chdir without proper error checking.
1020 * Fix a couple of bugs in error reporting.
1021 * Fix several bugs in .orig detection/recognition.
1022 * Tidy up refs/dgit-fetch/ after dgit fetch (if successful).
1023 * Fix handling of in-archive copies.
1024 * Don't break if user has push.followTags=true. Closes:#827878.
1025 * Arrange for the special dgit remote to be skipped by git fetch --all
1026 etc. And no longer configure a fetch spec, since it won't work
1027 anyway. Closes:#827892.
1028 * Allow local git config options to override user-global ones,
1029 as is proper. Closes:#835858.
1030 * When generating patch filenames from titles, first transliterate
1031 them (lossily) to ascii. Closes:#834807.
1034 * When sbuild fails, do not crash due to sed not finding the log
1035 file. Instead, simply tolerate the absence of the log file.
1036 * Put --no-arch-all in build-modes-sbuild act, not only its real_act.
1037 Cosmetic change only.
1038 * Set GIT_COMMITTER_DATE and GIT_AUTHOR_DATE and increment them
1039 explicitly in drs-push-rejects test. This avoids date dependencies
1040 which can cause that test to fail on fast computers.
1041 * Remove some spurios .debs from the example_1.0.tar.
1042 * Increase sqlite_busy_timeout in debpolicy-dbretry, because old
1043 zealot is very slow and we need to give the other processes time
1044 to rollback and release the lock.
1045 * Test quilt single-debian-patch.
1046 * Provide `tartree-edit gitfetchinfo' etc. to help with comparing
1047 different test case git working tree tarballs.
1048 * Test dgit-repos-policy-debian with multiple (identical, as it happens)
1050 * Provide better log output for certain failures.
1051 * Many new tests (especially for new functionality).
1052 * Add missing debhelper (>=8) to test suite's global Depends.
1053 * tstunt arrangements: Fix mishandling of PERLLIB, etc.
1054 * tstunt-parsechangelog: Produce Timestamp field (like official one
1056 * Do not fail when git requires --allow-unrelated-histories.
1058 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 16 Oct 2016 12:12:50 +0100
1060 dgit (1.4) unstable; urgency=high
1063 * Unbreak --dry-run (`exiting subroutine via next', broken in
1064 ac221d67, bug released in 0.22).
1065 * When running git-add in commit-quilty-patch, properly escape
1066 filenames (which git-add treats as glob patterns).
1067 * When running git-add in commit-quilty-patch, use -f and sometimes -A,
1068 so as to avoid being broken by any .gitignore, etc.
1069 * When quilt linearisation fails, print the right information in
1070 the error message. (This has been broken forever.)
1071 * Cope properly with `3.0 (quilt)' with single-debian-patch.
1072 Closes:#796016. (Still does not work with wheezy's dpkg-source, so
1074 * With dgit sbuild, pass our -d before the user's arguments, so that
1075 the user can override it. Closes:#796019.
1077 New checks and improved behaviours:
1078 * Detect and reject git trees containing debian/source/local-options
1079 or debian/source/local-patch-header.
1080 * In --dry-run mode, _do_ actually run dpkg-source --commit so that we
1081 actually do construct the quilt fixup commit; instead, honour
1082 --dry-run by avoiding pulling it back to your HEAD.
1083 * quilt-fixup checks that the git tree is clean, as for build-prep.
1086 * In dgit(7), discuss binaries and documentation present in upstream but
1087 removed by rules clean.
1090 * Run quilt-fixup with -wgf in distropatches-reject,
1091 so that we don't need build-depends.
1093 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 22 Aug 2015 15:31:02 +0100
1095 dgit (1.3) unstable; urgency=high
1098 * In option parser test `@ARGV' not `length @ARGV'. Closes:#795710.
1099 * Properly quote package name when constructing regexp in
1100 complete_file_from_dsc. Closes:#795736. Also, grep the code for
1101 likely similar problems elsewhere and improve a (harmless) instance in
1105 * If a .orig in .. is a symlink, hardlink the link target into our
1106 private unpack directory, rather than the link itself (since latter
1107 won't work if the symlink is relative). Closes:#795665.
1108 * Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.
1109 * Infrastructure: Improve an error message in dgit-repos-policy-debian.
1111 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 16 Aug 2015 17:51:02 +0100
1113 dgit (1.2) unstable; urgency=high
1116 * Honour *.clean-mode configuration setting for --clean= mode.
1117 * No longer require option values to be cuddled: support `--opt val' and
1118 `-o val'. Closes:#763332.
1122 * Document that tags are in DEP-14 format, and that they
1123 are used for authenticating pushes.
1124 * Correct cross-reference to point to browse.d.d.o.
1125 * Move dgit.default.* to main CONFIGURATION section.
1128 * Add missing close of #793060 to changelog for version 1.1.
1130 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 14 Aug 2015 18:27:20 +0100
1132 dgit (1.1) unstable; urgency=medium
1135 * When source package contains things called .git (even files, and even
1136 in subdirectories), remove them. Closes:#793671.
1137 * Work around curl -sS -I printing `HTTP/1.0 200 Connection established'
1138 before the actual header, so dgit works with https_proxy set (!)
1139 * --new is needed for read access to packages in NEW, too. Document
1140 this, and make it work properly.
1141 * Work around #793471 (madness with $SIG{__WARN__} and Perl's system
1142 builtin): move $SIG{} setting into setup_sigwarn in Dgit.pm, and
1144 * When invoking git-buildpackage via dgit gbp-build, consider our
1145 command line arguments when massaging the dpkg-buildpackage arguments,
1146 so that we don't end up giving dpkg-buildpackage contradictory
1148 * Cope with new git-buildpackage which provides gbp, rather than the
1149 eponymous command, on PATH.
1152 * Honour dgit-distros.DISTRO.cmd-CMD and .opts-CMD. Closes:#793427.
1153 * Make configuration able to prevent dpkg-mergechangelogs setup.
1154 * Provide dgit setup-new-tree (like dpkg-setup-mergechangelogs
1155 but only does it if not disabled in config).
1156 * Set up git user.email and user.name from distro access config
1157 or DEBEMAIL/DEBFULLNAME. Closes:#793410.
1158 * When key to use not specified any other way, use the debian/changelog
1159 trailer line. Closes:#793423.
1160 * Honour --git= (mostly).
1163 * Fix some manpage typos. [ Richard Hartmann ]
1164 * Manpage said that --clean=check was -wn but that is --clean=none;
1165 correctly document that --clean=check is actually -wc.
1166 * Document that up to -DDDD (not just -DD) is meaningfully different.
1167 * Document that -cname=value applies only for this run.
1168 * Improve manpage comment about defining a new distro.
1169 * Document that --quilt=linear is the default for Debian.
1170 * Fix a formatting problem in --build-products-dir= doc.
1171 * In manpage, do not seem to imply that NMU should be of only one
1173 * Qualify to Debian the manpage comment about how to do NMU.
1174 * In discussion on how to start using dgit when already using git, do
1175 not imply/assume that existing git history will have identical trees
1177 * Remove stray sentence in config section of manpage.
1178 * Manpage: Clarify wording of readonly config.
1179 * Manpage: Better cross-references for -k and keyid.
1180 * dgit(7): No longer say that dgit-repos lives on Alioth.
1183 * Introduce more sophisticated protocol negotiation for rpush.
1184 * Do not quote `:' in shellquote.
1185 * Print a supplementary message when push fails, giving advice to
1186 the user about how to retry. Closes:#793144.
1187 * Slurp in entire git config, for better performance.
1188 * Rename `git-build' operation to `gbp-build' to make it clearer what
1189 it's for. Keep the old name as an alias.
1190 * Show `dgit sbuild' in usage message.
1191 * When we are using dpkg-buildpackage to clean before using it to also
1192 do the build, let it do its cleaning thing as part of its run, rather
1193 than running it twice. When we are _not_ supposed to be using
1194 dpkg-buildpackage to clean, but we are running it to do the build,
1195 pass -nc. Closes:#793060.
1196 * Also suppress spurious runs of the clean target when building using
1198 * When exec fails, always print the program name in the error message.
1201 * Infrastructure: Get mirroring right for fresh repos of existing
1204 Packaging, cleanups, debugging and test suite:
1205 * Fix Vcs-Git and Vcs-Browse to refer to chiark. (The dgit-repos on
1206 alioth aren't suitable right now because the master there can
1207 currently only be updated with an actual upload, ie dgit push.)
1208 * Make warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch
1209 (using setup_sigwarn).
1210 * tstunt/dpkg-parsechangelog: Make warnings fatal (directly).
1211 * tstunt/dpkg-parsechangelog: Do not complain if PERLLIB is empty.
1212 * Test suite: Honour DGIT_TEST_DEBUG=''.
1213 * With -DDDD, print out all gitcfg references (copious!)
1214 * Fix a debug message in the obsolete sshpsql archive access driver.
1215 * Test suite: More automatic enumeration of tests.
1216 * Test suite: Provide tests which check that all our various build
1217 operations run the right targets as expected (ie, that we are massaging
1218 the arguments to dpkg-buildpackage, and suppressing our clean target,
1221 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 27 Jul 2015 16:34:31 +0100
1223 dgit (1.0) unstable; urgency=medium
1226 * Switch to new production git repositories for reading.
1227 (this can no longer divert to alioth). Public readonly access
1228 now works. Closes:#791447.
1229 * Memoise git config lookups (big speedup!)
1230 * Provide -wdd aka --clean=dpkg-source-d. Closes:#792433.
1231 * Provide -wc aka --clean=check.
1234 * Remove some obsolete caveats from BUGS.
1235 * Reorganise and complete the configuration section.
1236 * Remove obselete comment about DMs not being able to push.
1237 We have, for now, a way to add keys manually. Closes:#720173.
1240 * Remove configuration relating to alioth.
1241 * Provide for different access mechanisms when pushing.
1242 * Provide for configurable git url suffix.
1243 * Allow git-url to be '' to force fallback to git-proto etc.
1244 * Provide for checking git presence via http[s].
1245 * Do some quoting on debug output (needed if the server might not
1246 be trustworthy and might send us bad stuff).
1247 * Talk to push.dgit.debian.org, rather than the .debian.net alias.
1250 * Provide for mirroring git updates to a different server.
1251 * Provide cgit-regen-config command for cgi-grnet-01.
1252 * Make dgit-ssh-dispatch not spew (harmless) warnings if caller
1253 tries for a shell session (ie SSH_ORIGINAL_COMMAND not set).
1256 * Remove an obsolete comment from the code.
1257 * Improve an error message from dgit-repos-policy-debian.
1258 * Test suite: Break out t-make-hook-link.
1259 * Fix a manpage typo.
1261 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 19 Jul 2015 22:15:53 +0100
1263 dgit (0.30) unstable; urgency=high
1265 INCOMPATIBLE CHANGES:
1267 * Client uses new infrastructure:
1268 - Check for new dgit git service on dgit-git.debian.net (ie
1269 gideon.debian.org), with transition plan based on diversion feature.
1271 - Old versions of dgit will stop working when the server-side handle is
1274 * dgit git trees no longer contain .pc for format `3.0 (quilt)' source
1275 packages. Closes:#764606.
1276 - It is deleted whenever we find it.
1277 - Older versions of dgit will choke on trees without .pc.
1278 - (When doing quilt fixup, we recreate a suitable .pc in a temporary
1279 directory so that we can do dpkg-source --comit.)
1281 * All users are urged to upgrade ASAP.
1283 Other significant improvements:
1285 * When generating quilt patches, try to linearise the git history into a
1286 series of individual new patches for debian/patches. Closes:#770710.
1288 * When receiving a push with dgit-repos-server, update the server's
1289 refs/heads/master if we are pushing to what the distro regards as a
1290 relevant branch, and the push would ff master. Closes:#728209.
1292 * For non-Debian distros, distro version release tags contain distro
1293 name a la DEP-14 (rather than hardcoding `debian/').
1295 * Set up a merge driver for debian/changelog. Closes:#769291.
1297 * --clean=git and --clean=none cause dgit to pass -nc to
1298 dpkg-buildpackage, suppressing calls to the package's clean target.
1299 Also, expand the documentation in this area slightly. Closes:#768590.
1301 * Provide --clean=git-ff (aka -wgf), which is useful for dgit itself (!)
1305 * Reduce some noise output and improve the clarity of some messages.
1306 * Be more careful about tag updates during fetch: only update tags
1307 referring to uploads to distro we are trying to fetch from.
1308 * Change realpath dependency to `coreutils (>= 8.23-1~) | realpath'
1313 * Fix handling of rmadison-based and gitless distros (e.g., Ubuntu).
1314 * Add missing `gpgv' to test dependencies in debian/tests/control.
1315 * Strip `-b <branch>' from contents of Vcs-Git header, when setting up
1316 the vcs-git remote. Closes:#759374.
1317 * Do not offer wget as an alternative dependency to curl. We always
1318 unconditionally invoke curl and have no code to use wget.
1320 * Complain about lack of cuddled values for value-taking single-letter
1321 options, rather than thinking the user meat an empty value.
1323 * Reject (rather than ignoring) further options merged witth -wn, -wg,
1325 * Fix inaccurate error message when archive's git hash is not an
1326 ancestor of git repo's git hash.
1327 * Detect and bomb out on vendor-specific `3.0 (quilt)' patch series.
1328 * Fix the rules clean target to remove test results and output.
1330 Documentation improvements:
1332 * Break out dgit(7) from dgit(1).
1333 * Provide example workflow for dgit rpush. Closes:#763334.
1334 (Also part of the fix for #768470.)
1335 * Document that dgit repos are cloneable with git, in dgit(1)
1336 section MODEL. [Andreas Barth.] Closes:#768470.
1337 * Better documentation for quilt series handling.
1338 * Document under `dgit push' that it is best to build with dgit too.
1340 * Other minor clarifications and improvements.
1342 Behind-the-scenes work:
1344 * Use ftpmasterapi archive query method.
1345 (Closes:#727702. Also partly obsoletes #768470.)
1346 * New dgit-infrastructure binary package containing dgit-repos-server et
1347 al. Client users probably don't want this stuff. Also, it provides a
1348 convenient way to publish the dependencies.
1349 * Many many bugfixes to the server side (dpkg-repos-server et al.).
1350 * Add :..; prefix to ssh remote commands, for the benefit of future
1351 forced command wrappers. Implicitly, this defines a new ssh-based
1352 command protocol. Closes:#720174, #720175.
1353 * Distro access configuration handling changes (should not be noticeable
1355 * In places, significant restructuring or tidying up.
1356 * Turn all perl warnings into errors using $SIG{__WARN__}.
1358 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 05 Jul 2015 01:34:55 +0100
1360 dgit (0.22.1) unstable; urgency=high
1362 * Use Dpkg::Version::version_compare everywhere, not
1363 Dpkg::Version::version_compare_string. The latter is entirely wrong,
1364 meaning that dgit would get many version comparisons wrong.
1367 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 04 Nov 2014 12:46:40 +0000
1369 dgit (0.22) unstable; urgency=medium
1372 * Clone removes destination directory on error. Closes:#736153.
1373 * Work with wheezy-backports (and keep squeeze-backports working too).
1375 * Work in read-only no-git-history mode with Ubuntu. You still have
1376 to pass -dubuntu. Closes:#751781.
1377 * Use mirror.ftp-master.debian.org DNS alias rather than coccia.
1379 * Check hashes of files ourselves rather than running dget to
1380 re-retreive the .dsc.
1381 * Check SHA-256 of .dsc against hash from archive_query (ie projectb)
1382 rather than letting dpkg-source do a signature verification.
1383 Closes:#737619. Closes:#737625.
1384 * Treat .dsc as bytes, just like everything else, rather than letting
1385 HTTP::Message convert it to a Perl unicode string which the rest of
1386 the program mishandles. Closes:#738536.
1389 * Include canonicalised suite name in signed tag message.
1390 * Mention cross-version dgit rpush incompatibility in manpage.
1391 * Check for rpush protocol version incompatibility and crash early
1393 * New script tests/using-intree for running tests on the source tree.
1394 * Do not spew diff output to terminal (by default). Print sensible
1395 message instead. Closes:#736526.
1396 * Print better message for lack of configuration settings.
1397 * Document that dgit rpush needs gnupg and your public key on the build
1398 host. Closes:#736529.
1399 * Fix a manpage reference to `--dget=' where `--dgit=' was intended.
1400 * Provide t-archive-process-incoming and t-archive-query subroutines for
1401 regression test scripts to use.
1402 * Print better message for unknown operations.
1403 * Provide `dgit clean'. Closes:#736527.
1404 * When cloning, set up a remote `vcs-git' from the package's Vcs-Git
1405 (and put an appropriate caveat in the manpage). Closes:#740687.
1407 * Improve error message for .dsc having already been signed (iff
1408 using libdpkg-perl 1.17.x). Closes:#731635.
1409 * Improve error message for .dsc parsing failures more generally.
1410 * Better reporting of child exit statuses (esp. deaths due to signals).
1411 * In rpush, on protocol error talking to build host, check if the
1412 subprocess died and report differently if so. Closes:#736528.
1413 * Fixed a manpage typo.
1414 * When tests invoke dgit, use --dgit= so that subprocesses use our
1415 dgit rather than system one.
1416 * Add a test for dgit rpush.
1418 Major new feature, currently stalled awaiting server infrastructure:
1419 * dgit-repos-server: New program for receiving signed-tag-based
1420 pushes. Corresponding support in dgit itself, but not currently
1421 used by default for any distro.
1422 * Bring forward push of the version tag ref so it happens alongside
1423 the push of the suite branch ref.
1424 * New git-check and git-create methods "true" which are no-ops.
1425 * test-dummy-drs `distro': for testing dgit and dgit-repos-server.
1427 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 19 Aug 2014 11:24:02 +0100
1429 dgit (0.21) unstable; urgency=medium
1431 Bugfixes relating to unclean trees:
1432 * Run a clean (of the specified type) before any build operation; do
1433 this with `dpkg-buildpackage -T' clean if necessary, so -wd now works
1434 with all the building methods.
1435 * Refuse to do quilt fixup (explicitly requested, or as a result of
1436 build) if the tree contains ignored files. Closes:#731632.
1438 Error message improvements:
1439 * Use failedcmd to report errors when ssh psql fails. Closes:#734281.
1440 * failedcmd prints $us, not $_[0] - ie, dgit doesn't pretend,
1441 in the error message, to be its child.
1442 * Do not report the (irrelevant) $? when madison parsing fails.
1444 Better workflow flexibility:
1445 * Provide --build-products-dir option (and corresponding semantics
1446 for -C) to specify where to find the files to upload. Closes:#731633.
1448 Support for Debian backports suites:
1449 * New quirks infrastructure in configuration and internals,
1450 for suites (or perhaps distros) which are a bit like others.
1451 * Use correct default archive location.
1452 * Compute "-v" option default value correctly.
1455 Packaging improvement:
1456 * Add `Testsuite: autopkgtest' to debian/control. (This will only have
1457 the right effect with recent enought dpkg; it will generate a harmless
1458 warning with earlier versions of dpkg.)
1460 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 19 Jan 2014 02:14:25 +0000
1462 dgit (0.20) unstable; urgency=high
1464 * Use newest (not oldest) version currently in suite when calculating
1465 what value to use for -v<version> by default. Closes:#732781.
1467 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 21 Dec 2013 19:13:56 +0000
1469 dgit (0.19) unstable; urgency=low
1472 * Provide "test-dummy" distro with "dummycat" access method.
1473 * Provide a selection of autopkgtest (DEP-8) tests.
1475 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 27 Nov 2013 18:27:17 +0000
1477 dgit (0.18.2) unstable; urgency=high
1479 Bump archive upload urgency to high.
1481 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 24 Nov 2013 17:42:57 +0000
1482 dgit (0.18.1) unstable; urgency=low
1485 * sshpsql archive query method passes LANG=C. Closes:#729788.
1486 * Subcommand program or argument options containing hyphens work.
1487 (Eg, --dpkg-buildpackage:blah was previously incorrectly rejected.)
1491 * Depend on curl | wget, as dget needs one of those. (The dput package,
1492 which contains dget, doesn't require them because dput itself works
1495 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 24 Nov 2013 17:36:03 +0000
1497 dgit (0.18) unstable; urgency=low
1500 * Remote push (dgit rpush), a la debsign -r. Closes:#721185.
1502 Improved behaviours:
1503 * dgit build, by default, uses the archive to find out what the correct
1504 -v<version> option is to pass to dpkg-genchanges. Closes:#727200.
1505 * Abolish the sshdakls method and replace it with sshpsql: that is, ssh
1506 (to coccia, by default) and run sql commands on the ftpmaster
1507 database. This is faster and has fewer bugs but is vulnerable to db
1508 schema changes. Closes:#726955. Closes:#720170. Closes:#720176.
1509 * When generating git tags, quote the (uncanonicalised) changelog's
1510 Distribution field as the suite.
1511 * Command execution reports from --dry-run go to stderr.
1514 * Support --gpg=... to provide a replacement command for gpg.
1515 * Support --ssh=... and --ssh:... to affect how we run ssh.
1518 * When using sbuild, pass the arguments to mergechanges in the right
1519 order so that we use the correct Description (the _source one,
1520 not the one from sbuild which didn't get e.g. -v<version>).
1521 * push actually takes an optional suite, like it says in the synopsis.
1523 * Fix dgit --damp-run sbuild to actually work.
1524 * Fix the "shellquote" internal subroutine. The bugs in it ought not to
1525 have caused any real trouble in previous versions of dgit.
1527 Documentation and message fixes:
1528 * manpage: Clarify comments about orig tarballs. Closes: #723605.
1529 * manpage: Remove comment in BUGS about lack of policy docs
1530 for Dgit field, which is specified now. Closes:#720201.
1531 * manpage: Make discussion of --existing-package less scary. The
1532 default archive access method no longer needs it. Closes:#720171.
1533 * Mention "git merge", not "git-merge", in helpful message.
1536 Internal and debugging improvements:
1537 * Report chdir actions in debugging output.
1538 * Improvements to implementation of --dry-run and --damp-run.
1539 * Some code motion and cleanups.
1541 Note: changelog entries for the following versions, which were uploaded
1542 to Debian experimental, have been collapsed into this single entry:
1543 0.18~experimental2 0.18~experimental1
1544 0.17~experimental7 0.17~experimental6 0.17~experimental5
1545 0.17~experimental4 0.17~experimental3 0.17~experimental2
1547 0.16~experimental3 0.16~experimental2 0.16~experimental1
1548 We do describe here all the changes since 0.17.
1550 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 09 Nov 2013 10:12:13 +0000
1552 dgit (0.17) unstable; urgency=high
1554 * Do not grobble around in .git/refs/; instead, use git-show-ref.
1555 This avoids breaking when git makes packed refs. Closes:728893.
1556 * Clarify error message for missing refs/remotes/dgit/dgit/<suite>.
1558 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 07 Nov 2013 00:02:47 +0000
1560 dgit (0.16) unstable; urgency=high
1562 * Format `(3.0) quilt' fixup does not mind extraneous other files
1563 in the build tree (e.g., build products and logs). Closes: #727053.
1564 * Set autoflush on stdout, to get better ordering of debugging
1565 etc. output when stdout is redirected.
1566 * New --damp-run mode, for more convenient and fuller testing etc.
1568 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 22 Oct 2013 13:06:54 +0100
1570 dgit (0.15) unstable; urgency=low
1572 * Better handling of packages pushed using dgit and stuck in NEW.
1573 (And, use of `--new' is not needed with fetch.) Closes: #722199.
1574 * More comprehensive warnings in many cases of archive skew.
1575 * Implement `dgit help' as well as `--help'. Closes: #721661.
1576 * Provide `dgit version' and `--version'. Closes: #721654.
1578 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 12 Sep 2013 00:14:05 +0100
1580 dgit (0.14) unstable; urgency=low
1582 * Include package name in tag message.
1583 * Create directory .git/dgit when needed during build. Closes: #721428.
1584 * Add Vcs-Git and Vcs-Browser [Richard Hartmann]. Closes: #721404.
1585 These fields refer to the development branch, "master", on alioth,
1586 not to the dgit suite refs (which are not accessible to git clone).
1588 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 01 Sep 2013 18:30:44 +0100
1590 dgit (0.13) unstable; urgency=low
1592 * Reuse already-downloaded .orig files after checking their hashes.
1593 Closes: #720526. (This introduces a dependency on Digest::SHA.)
1594 * Do not always pointlessly fetch the .dsc twice. (That code was
1595 erroneously duplicated during editing, apparently.)
1596 * Remove DGET_UNPACK from the environment in case the user has set it.
1597 * Remove scary warning from Description.
1598 * When uploading to Debian, tell dput to upload to "ftp-master". This
1599 avoids problems with derivatives whose dput has a different default.
1601 * Fix some bugs in dgit fetch --dry-run which made dgit push
1602 --dry-run often not work at all.
1603 * Update the local tracking branch for the dgit remote, when pushing.
1605 * Fix references in manpage to old Vcs-Dgit-Master field name.
1606 * Reorganise manpage sections to be in a more conventional order.
1607 * New manpage section on FILES IN THE SOURCE PACKAGE BUT NOT IN GIT.
1610 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 29 Aug 2013 00:27:23 +0100
1612 dgit (0.12) unstable; urgency=low
1614 * Cope with packages with epoch. Closes: #720897.
1615 * Improve error message for non-fast-forward push. Closes: #720896.
1616 * New --ignore-dirty option to skip noncritical check. Closes: #720895.
1617 * New --no-quilt-fixup option to suppress quilt fixup. RTFM.
1618 * Add Closes line for #720595 to changelog entry for 0.11.
1620 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 26 Aug 2013 16:50:39 +0100
1622 dgit (0.11) unstable; urgency=low
1624 * Location of dgit-repos is now git.debian.org:/git/dgit-repos/repos.
1625 Closes: #720525. The rename on the server side will break older
1627 * Fix bug which would make quilt patch fixup fail if git status
1629 * Autogenerated quilt patch fixup patch Description contains several
1630 recent git commits, rather than implying that the patch corresponds
1631 exactly to the top git commit.
1632 * Use "ftp.debian.org" not "http.debian.net" as the default Debian
1633 archive. (http.debian.net tends to defeat certain kinds of cacheing,
1634 and can also have more skew.)
1635 * dgit build uses dpkg-buildpackage; there is a dgit git-build
1636 for using git-buildpackage. Closes: #720595.
1637 * Better error message for use of UNRELEASED suite. Closes: #720523.
1638 * Do not canonicalise suite more than once. Related to: #720526.
1639 * Fix a badly open-coded copy of check_not_dirty. Closes: #720524.
1640 * Fix some bugs in building (eg build-source would fail to do the quilt
1641 fixup; the --clean check in build was wrong).
1642 * Add missing dependency on realpath.
1643 * git-build (git-buildpackage wrapper) does not bother canonicalising
1644 the suite if --git-ignore-branch is used.
1646 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 25 Aug 2013 17:00:43 +0100
1648 dgit (0.10) unstable; urgency=low
1650 * Create .pc/applied-patches - do not empty it (!)
1652 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 25 Aug 2013 00:51:50 +0100
1654 dgit (0.9) unstable; urgency=low
1656 * New cleaning arrangements.
1657 * More comprehensive workaround for `3.0 (quilt)'.
1658 * In push, double-check the .changes against the changelog.
1659 * Better error when source package contains .git. Closes: #720555.
1660 * Change our .dsc field name to `Dgit'. Relevant to #720201.
1661 * Fix bug handling our synthetic merges when we see them in
1662 the remote suite branch.
1663 * `3.0 (quilt)' fixup creates .pc/applied-patches since modern
1664 dpkg-source creates it even though old ones didn't always.
1666 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 24 Aug 2013 18:49:02 +0100
1668 dgit (0.8) unstable; urgency=low
1670 * Fix comparison of archive's .dsc's hash and git branch head
1672 * When creating repos in dgit-repos (using the ssh-cmd method),
1673 copy _template rather than using mkdir and git init.
1675 * In push, do git fetch as well as archive fetch, or archive
1678 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 23 Aug 2013 12:24:09 +0100
1680 dgit (0.7) unstable; urgency=low
1682 * If dak ls, or rmadison, reports multiple versions, look for them
1683 all, and pick the newest .dsc that doesn't give 404.
1684 * Manpage formatting fix.
1685 * Name the local remote tracking branch remotes/dgit/dgit/<suite>
1686 so that we avoid a warning from git about ambiguous branch names.
1688 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 18:29:10 +0100
1690 dgit (0.6) unstable; urgency=low
1692 * Allow fetching when archive has out-of-date git hash in .dsc.
1695 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 16:02:10 +0100
1697 dgit (0.5) unstable; urgency=low
1699 * Upload to unstable, as this version mostly works. (All the RC
1700 bugs of which I'm aware are now properly represented in the BTS.)
1702 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 15:38:00 +0100
1704 dgit (0.4~pre2) experimental; urgency=low
1706 * Mangle debian/<version> tags the way git-buildpackage does
1707 (as of git-buildpackage 0.5.5, 3c6bbd0f4992f8da).
1708 * Support dgit-distro.<distro>.keyid config option.
1709 * Revert change to ssh to alioth CNAME, as the recommended CNAME
1710 is to something with no write access to the fs and the new CNAME
1711 has not yet been set up. This reintroduces #720172 :-/.
1713 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 15:31:17 +0100
1715 dgit (0.4~pre1) experimental; urgency=low
1717 * Use dgit.debian.net vhost on alioth. Closes:#720172.
1718 * Usage message. Closes:#720085.
1719 * Provide "dgit sbuild".
1720 * Assorted manpage fixes and improvements.
1721 * Fail if a required config item is missing.
1722 * Much better error messages.
1723 * Better error checking when parsing RFC822-style control data.
1724 * Better checking that the supplied .dsc and debian/changes correspond.
1725 * Ordering improvement in push: don't add dsc field until git push done.
1726 * New --distro option (helps with unknown suites).
1729 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 13:36:44 +0100
1731 dgit (0.3) experimental; urgency=low
1733 * New version which appears to be able to sort of work at least
1736 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 17 Aug 2013 09:18:04 +0100
1738 dgit (0.2) experimental; urgency=low
1740 * New version which might actually work but probably won't.
1742 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 16 Aug 2013 16:52:17 +0100
1744 dgit (0.1) experimental; urgency=low
1746 * Initial experimental (partial) version.
1748 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 15 Aug 2013 12:09:01 +0100