1 dgit (3.0~) unstable; urgency=medium
4 * Dgit: field now records the nominal distro name, and a hint
5 for a tag and url where the git objects (including any rewrite
7 * Use this information, where provided. Closes:#850431.
10 * dgit config handling: Honour command-line and context-provided
11 suite and distro more reliably and consistently.
12 * Parsing of extended Dgit fields by import-dsc was broken;
13 and is now fixed even for more-extended ones.
16 * distro alias facility in config space. (Primarily for testing.)
17 * Undocumented --config-lookup-explode= feature. (For testing.)
20 * Do not investigate symrefs. Closes:#850547.
22 * Improve debugging output a bit.
23 * Use refs/dgit-fetch/DISTRO rather than refs/dgit-fetch/DISTRO,
24 which leads to less duplication and so less clutter.
25 * Enforce a reasonable syntax for nominal distro names.
28 * Internal improvements.
29 * badcommit-rewrite: Fix operation using installed version of fixup.
30 * Arrange to pass --debug-quick-random to gpg-agent.
31 * Strip block count out of find -ls output - it is unstable!
32 * gbp-orig: Add a missing -m, without which git would run an
33 editor if stdout was a tty (!)
34 * Add t-stunt-parsechangelog to a few tests which were missing it.
35 * Tests for the new protocol feature.
36 * Fail tests if we look up any configuration relating to Debian.
40 dgit (2.16.2) unstable; urgency=low
43 * Fix crash when running for 2nd time in bare repo.
44 * In --check mode, exit with status 2 if things are not fine.
46 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 07 Jan 2017 13:31:50 +0000
48 dgit (2.16.1) UNRELEASED; urgency=low
50 * dgit-badcommit-fixup: New mode --check which is readonly.
52 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 07 Jan 2017 13:04:49 +0000
54 dgit (2.16) unstable; urgency=low
56 Dealing with fallout from #849041:
57 * Provide dgit-badcommit-fixup history-rewriting script.
58 * New rewrite map feature, which allows dgit git server to adjust
59 clients' interpretation of Dgit fields, so that history-rewriting is
60 effective. (Feature is only partially implemented right now -
61 enough to dig current Debian users out of the hole.) Re:#850431.
64 * New test case for history-rewriting.
65 * Change `local foo=$(bar)' idiom to `local foo; foo=$(bar)' since
66 the former does not trip set -e even if bar fails :-(.
68 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 06 Jan 2017 20:46:30 +0000
70 dgit (2.15) UNRELEASED; urgency=high
73 * Prevent introduction of new commits which lack `committer'
74 information. Ie, prevent the reception of new commits afflicted by
75 #849041. Existing commits are tolerated.
78 * Be much stricter about messages from git-fsck.
80 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 05 Jan 2017 18:20:23 +0000
82 dgit (2.14) unstable; urgency=critical
85 * Do not generate bogus commits with --overwrite or import-dsc.
89 * Run a lot of git-fsck.
91 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 04 Jan 2017 22:52:55 +0000
93 dgit (2.13) unstable; urgency=high
96 * quilt fixup: Permit creation of patches which delete files, by psssing
97 --include-removal to dpkg-source, and tolerating it when we do our
98 quilt fixup analysis. dpkg-source has supported this since at least
99 stretch. Closes:#848901.
102 * Improve "cannot represent change" message: print the git old and new
106 * Import: Switch back to unpa branch on patch import iterations.
107 In particular, do not fail utterly if dpkg-source and gbp disagree.
110 Documentation [Sean Whitton]:
111 * dgit-maint-gbp(7): Remove reference to closed bug. Closes:#848725.
112 * dgit-sponsorship(7): Update in light of fixed #844129. Closes:#848789.
114 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 21 Dec 2016 01:32:41 +0000
116 dgit (2.12) unstable; urgency=high
119 * By default, generate a DEP-14 tag as well as a dgit archive/*
120 tag, even in non-split-view quilt modes. Closes:#844129.
121 * Version tags mangling: Protect dots, as per proposed update to DEP-14.
124 * dgit-maint-merge(7): Explain how to change to this workflow
125 from an existing git workflow. [Sean Whitton] Closes:#847807.
126 * dgit-maint-native(7): Clarify that we mean native source format.
127 [Phil Hands] Closes:#847987.
130 * Slightly better message when .dsc not found. Apropos of #844128.
131 * Give better advice if .dsc/.changes signing fails: if no changes
132 are needed to the package, user may indeed just debsign and dput.
134 * Produce better error reporting when absurd git wrapper fails
135 on a patch during .dsc import. Apropos of #848391.
138 * If we cannot hardlink origs into our extraction area, use symlinks
139 instead. Closes:#844570.
140 * Suppress some leftover debugging output from import-dsc.
142 * Do not fail when cloning a package containing dangling symlinks.
144 * Do not fail to import a .dsc containing patches which patch files
145 multiple times, due to #848611. Closes:#848391.
146 * Do not fail to import a .dsc containing patches to .git/ (!)
147 * infra: dgit-repos-policy-debian which broke due to recent git setting
148 GIT_ALTERNATE_OBJECT_DIRECTORIES in the pre-receive-hook.
149 (fixes test suite regression in stretch).
152 * Provide and use stunt lintian and debuild, to avoid lintian
153 complaining about our stupid test packages.
154 (fixes test suite regression in stretch).
156 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 19 Dec 2016 17:35:18 +0000
158 dgit (2.11) unstable; urgency=medium
161 * dgit-user(7): Better explanation of combined suites (comma syntax).
162 Thanks to Sean Whitton for review and suggestions.
163 * dgit(1), dgit(7): Better reference docs for combined suites.
164 * dgit(1): Improve formatting of rpush section.
167 * Replace make in Test-Depends with build-essential. Most of the tests
168 do in fact run dpkg-buildpackage which bombs out if build-essential is
171 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 08 Nov 2016 22:41:29 +0000
173 dgit (2.10) unstable; urgency=medium
176 * Support the Debian *-security suites.
177 * New comma-separated multiple-suite merging facility (readonly),
178 so that users can easily track "jessie, or jessie-security".
179 * dgit-user(7): Suggest `dgit clone P jessie,-security'.
182 * Cope when an orig tarball is a tarbomb. Ie, if it contains
183 other than one single directory toplevel. Closes:#843422.
184 * Actually honour the branch name, if we are on dgit branch, to specify
185 the suite, as documented in the manpage.
186 * When cloning a distro which has no git server, correctly leave
187 the user on the local dgit branch, not on `master'.
188 * Fix an unconditional print that was supposed to be a printdebug:
189 origs <blah>.orig.tar.gz f.same=1 #f._differ=-1
190 * Print a slightly better message if .git found in orig tarball(s).
193 * Test suite: Add fakeroot and make to Test-Depends. These aren't
194 necessarily pulled in by anything else. (dpkg-dev Recommends
195 build-essential. But we don't actually need build-essential.)
197 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 08 Nov 2016 01:08:51 +0000
199 dgit (2.9) unstable; urgency=medium
202 * During push, automatically calculate which .origs are required,
203 so user never needs [--ch:]-sa or [--ch:]-sd. Closes:#829116.
204 * New import-dsc feature.
205 * New option --dgit-view-save= for split view quilt modes.
206 In particular, means that the output of a split view quilt-fixup
207 is left somewhere useful.
208 * dgit clone: Set timestamps in cloned tree to a single unified time.
209 This makes it less likely that the user will trip over any
210 timestamp-dependent FTBFS bugs (eg #842452).
211 * Support dgit --delayed= push (with a warning in the manpage
212 about possible skew).
213 * dgit gbp-build will arrange to let gbp buildpackage generate
214 .orig tarballs if it seems applicable. Closes:#841094.
216 Documentation improvements:
217 * dgit-*(7). Many new tutorial manpages, several written and many
218 improved by Sean Whitton.
219 * dgit(7): Substantial updates, including documenting split view.
220 * dgit(1): Better cross-references.
221 * dgit(1): Remove obsolete workflow information.
222 * dgit(1): Improved BUGS section.
223 * Fix changelog entry for SIGPIPE to correctly mention
227 * Split brain mode: Fix --new. Closes:#842577.
228 * Properly look for .origs etc. in .., fetching them less often.
230 * Reject `dgit pull' in split view quilt modes, to avoid
231 creating unfortunate wreckage on non-dgit-view branches.
233 * Cope when cloning suite which doesn't receive uploads,
234 like testing. Closes:#842621.
235 * Properly fetch all archive dgit view tags, as we intended.
236 * Actually provide a -p (--package=) option (!)
239 * Test suite: Explicitly configure user.name and user.email, so
240 that tests work when environment doesn't have defaults.
241 Closes:#842279 (I hope).
243 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 31 Oct 2016 12:47:18 +0000
245 dgit (2.8) unstable; urgency=medium
247 * When in split build mode for `gbp-build' or `build', run
248 mergechanges as is required. Closes:#841990.
249 * Test suite: build-mode-*: Check that right .changes comes out
251 * Defend against debian/patches/series being an unusual object, in case
252 dpkg-source doesn't, in absurd git-apply fallback.
254 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 25 Oct 2016 17:29:23 +0100
256 dgit (2.7) unstable; urgency=medium
258 Absurd bugfix for serious bug:
259 * Work around `git-apply' problems (eg #841865, #829067) exposed by
260 `gbp pq import' (#841866) by sometimes falling back to an emulation of
261 git-apply in terms of dpkg-source --before-build. Closes:#841867.
264 * dgit(1): Reorder the options, moving more important ones earlier.
265 * dgit(1): Some more info about --deliberately.
266 * Provide various --force-something options. Please don't use them.
268 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 24 Oct 2016 02:37:28 +0100
270 dgit (2.6) unstable; urgency=medium
272 Fixes to HTTP handling:
273 * Check for non-2xx HTTP status codes from ftpmaster api server.
274 * Always honour --curl= and --curl:.
276 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 23 Oct 2016 14:57:22 +0100
278 dgit (2.5) unstable; urgency=low
281 * Do not crash in split brain quilt modes when the two brains are
282 actually identical. (Eg --quilt=gbp with no patches.) Closes:#841770.
283 * Switch to new archive/ tag format by default, even in
284 non-split-brain mode.
285 * Provide --gbp and --dpm as aliases for --quilt=gbp and --quilt=dpm.
288 * dgit-maint-merge(7): New tutorial manpage from Sean Whitton.
291 * Introduce setup/gnupg, to help work around gnupg2 bug #841143
292 and improve performance by amortising gnupg migration cost.
295 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 23 Oct 2016 13:20:23 +0100
297 dgit (2.4) unstable; urgency=low
300 * split brain cache: Fix a wrong implicit reference to $_.
302 * split brain cache: Make sure to write reflog entries for cache updates
303 even if the eventual tree (and therefore commit) is the same.
304 Otherwise, after updating dgit, the cache might have the right answer
305 but not be refreshed even by a build.
306 * dgit gbp-build: No longer invent a --git-debian-branch option.
307 Usually the user is a maintainer using split brain, and we should rely
308 on their own gbp configuration to specify the right check.
312 * dgit(1): Document which --ch: options are a good idea.
314 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 20 Oct 2016 16:31:54 +0100
316 dgit (2.3) unstable; urgency=low
318 * With --overwrite, do not check all sorts of tags (which may
319 not exist, or might contain wrong things). Closes:#841101.
320 * When generating pseudomerge in quilt split brain mode due to
321 --overwrite, actually include the version number in the commit
324 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 18 Oct 2016 01:58:05 +0100
326 dgit (2.2) unstable; urgency=low
328 * Fix config relating to Debian to actually make split brain mode
329 work. Closes:#841085.
330 * Detect SIGPIPE (and SIGCHLD) being blocked or ignored.
333 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 17 Oct 2016 17:31:18 +0100
335 dgit (2.1) unstable; urgency=low
337 * Do not crash due in clone to failure to handle dpkg-parsechangelog
338 SIGPIPE. Closes:#840989. Avoids:
339 dgit: failed command: dpkg-parsechangelog --format rfc822 --all
340 dgit: subprocess died due to fatal signal PIPE
341 * git- prefixes: Fix some occurrences of `git-foo' in infrastructure,
342 messages, and test suite. Filter out .../git-core from PATH in
343 test suite so that we catch future occurrences.
345 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 16 Oct 2016 19:05:14 +0100
347 dgit (2.0) unstable; urgency=low
350 * dgit sbuild: does not pass -A to sbuild. Consequently the default
351 build is now simply sbuild's default. With older sbuilds it was
352 possible to override dgit's -A by passing another option. But this
353 has been changed recently and now this default setting is very awkward
354 to change for the dgit user.
355 * dgit gbp-build: Make --quilt=gbp the default. (See below.)
356 * New tag format (for dgit view) archive/debian/VERSION.
359 * --quilt=gbp, --quilt=dpm, --quilt=unpacked: Introduce facility for
360 split view (dgit/mainiainer view), to improve compatibility with some
363 New checks and improved behaviours in dgit:
364 * When running dpkg-buildpackage, cope if user specified -g or -G.
365 * dgit sbuild: check that the set of .changes files found is as we
366 expect, before calling mergechanges. Re:#800060.
367 * dgit sbuild: Rename the used-up .changes files to `.inmulti' to
368 avoid accidental use of the wrong one (by software, or by users).
369 * dgit sbuild: Check that the binary .changes file doesn't contain a
371 * Introduce --rm-old-changes to delete previous builds' changes files.
372 * Remove any pre-existing _source.changes file before building source,
374 * No longer tolerate a multitude of .changes files when doing push.
375 Instead, insist on a single one. Closes:#800110.
376 * dgit sbuild no longer deletes extranious .changes files; instead
377 we rely on --rm-old-changes, or failing that, fail early.
378 * When doing quilt linearisation, treat upstream .gitignores not
379 in the toplevel the same way we treat ones in the toplevel.
380 * When automatically generating quilt patch, honour GIT_COMMITTER_DATE
381 for filename creation (makes filename deterministic in test suite).
382 * New --overwrite option, replaces need to for user to use
383 git merge -s ours. Closes:#838718.
384 * When generating quilt patches from git commits, make patches that
385 look quite like git-format-patch output (rather than strange things
386 based on an obselete interpretation of DEP-3).
387 * When generating quilt patches from git commits, honour (and strip)
388 any Gbp-Pq headers (that we understand).
389 * Several dgit-generated commits now have slightly better annotations
390 from dgit about what it was doing.
391 * Before committing to push, check that .dsc and .changes correspond.
393 * Better error message if non-split-brain patch stack no longer
394 applies (due to new upstream version, or user messing with it).
396 * Better error message if HEAD contains changes unrepresentable
397 by `3.0 (quilt)'. Closes:#834618.
398 * Much better error message when HEAD and .dsc do not match.
402 * dgit-repos-policy-debian: Better error handling.
403 * dgit-repos-policy-debian.: fix git-cat-file-handling with multiple
405 * dgit-infrastructure has, and uses, its own copies of the perl modules.
406 This avoids introducing a versioned dependency between dgit and
407 dgit-infrastructure (and also makes it easier to test cross-version
411 * Document the dgit-distro.DISTRO.quilt-mode config setting.
412 * Clarify the --clean= options' documentation. Closes:#800054.
413 * Discourage use of the --PROGRAM:OPTION escape hatch. (Apropos
414 of various bug reports including #800060 and #833025.)
415 * Document the expected form of HEAD for each --quilt= mode.
418 * When cleaning up after failed clone, stat the to-be-cleaned-up
419 directory before running rmtree on it. Closes:#796773.
420 * Do not call "warn" on failure of cleanup handler in END block
421 (since warn has been made fatal and aborts the cleanup chain).
422 * Print better error message (with `fail' rather than `die') if
423 `dgit clone' cannot create the destination directory.
424 * Properly substitute $changesfile in one of the `You can retry'
425 messages. Closes:#800078.
426 * Pass --ch:* and -v options to dpkg-buildpackage when building
427 source. Fixes bad Perl poetry syntax. Closes:#829121.
428 * When synthesing a commit from a .dsc from the archive, stop
429 internal git reset from printing a confusing message about HEAD.
430 * Turn off git gc in the private working areas.
431 * Do not fail to do some important quilt processing in some
433 * Fix two calls to chdir without proper error checking.
434 * Fix a couple of bugs in error reporting.
435 * Fix several bugs in .orig detection/recognition.
436 * Tidy up refs/dgit-fetch/ after dgit fetch (if successful).
437 * Fix handling of in-archive copies.
438 * Don't break if user has push.followTags=true. Closes:#827878.
439 * Arrange for the special dgit remote to be skipped by git fetch --all
440 etc. And no longer configure a fetch spec, since it won't work
441 anyway. Closes:#827892.
442 * Allow local git config options to override user-global ones,
443 as is proper. Closes:#835858.
444 * When generating patch filenames from titles, first transliterate
445 them (lossily) to ascii. Closes:#834807.
448 * When sbuild fails, do not crash due to sed not finding the log
449 file. Instead, simply tolerate the absence of the log file.
450 * Put --no-arch-all in build-modes-sbuild act, not only its real_act.
451 Cosmetic change only.
452 * Set GIT_COMMITTER_DATE and GIT_AUTHOR_DATE and increment them
453 explicitly in drs-push-rejects test. This avoids date dependencies
454 which can cause that test to fail on fast computers.
455 * Remove some spurios .debs from the example_1.0.tar.
456 * Increase sqlite_busy_timeout in debpolicy-dbretry, because old
457 zealot is very slow and we need to give the other processes time
458 to rollback and release the lock.
459 * Test quilt single-debian-patch.
460 * Provide `tartree-edit gitfetchinfo' etc. to help with comparing
461 different test case git working tree tarballs.
462 * Test dgit-repos-policy-debian with multiple (identical, as it happens)
464 * Provide better log output for certain failures.
465 * Many new tests (especially for new functionality).
466 * Add missing debhelper (>=8) to test suite's global Depends.
467 * tstunt arrangements: Fix mishandling of PERLLIB, etc.
468 * tstunt-parsechangelog: Produce Timestamp field (like official one
470 * Do not fail when git requires --allow-unrelated-histories.
472 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 16 Oct 2016 12:12:50 +0100
474 dgit (1.4) unstable; urgency=high
477 * Unbreak --dry-run (`exiting subroutine via next', broken in
478 ac221d67, bug released in 0.22).
479 * When running git-add in commit-quilty-patch, properly escape
480 filenames (which git-add treats as glob patterns).
481 * When running git-add in commit-quilty-patch, use -f and sometimes -A,
482 so as to avoid being broken by any .gitignore, etc.
483 * When quilt linearisation fails, print the right information in
484 the error message. (This has been broken forever.)
485 * Cope properly with `3.0 (quilt)' with single-debian-patch.
486 Closes:#796016. (Still does not work with wheezy's dpkg-source, so
488 * With dgit sbuild, pass our -d before the user's arguments, so that
489 the user can override it. Closes:#796019.
491 New checks and improved behaviours:
492 * Detect and reject git trees containing debian/source/local-options
493 or debian/source/local-patch-header.
494 * In --dry-run mode, _do_ actually run dpkg-source --commit so that we
495 actually do construct the quilt fixup commit; instead, honour
496 --dry-run by avoiding pulling it back to your HEAD.
497 * quilt-fixup checks that the git tree is clean, as for build-prep.
500 * In dgit(7), discuss binaries and documentation present in upstream but
501 removed by rules clean.
504 * Run quilt-fixup with -wgf in distropatches-reject,
505 so that we don't need build-depends.
507 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 22 Aug 2015 15:31:02 +0100
509 dgit (1.3) unstable; urgency=high
512 * In option parser test `@ARGV' not `length @ARGV'. Closes:#795710.
513 * Properly quote package name when constructing regexp in
514 complete_file_from_dsc. Closes:#795736. Also, grep the code for
515 likely similar problems elsewhere and improve a (harmless) instance in
519 * If a .orig in .. is a symlink, hardlink the link target into our
520 private unpack directory, rather than the link itself (since latter
521 won't work if the symlink is relative). Closes:#795665.
522 * Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.
523 * Infrastructure: Improve an error message in dgit-repos-policy-debian.
525 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 16 Aug 2015 17:51:02 +0100
527 dgit (1.2) unstable; urgency=high
530 * Honour *.clean-mode configuration setting for --clean= mode.
531 * No longer require option values to be cuddled: support `--opt val' and
532 `-o val'. Closes:#763332.
536 * Document that tags are in DEP-14 format, and that they
537 are used for authenticating pushes.
538 * Correct cross-reference to point to browse.d.d.o.
539 * Move dgit.default.* to main CONFIGURATION section.
542 * Add missing close of #793060 to changelog for version 1.1.
544 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 14 Aug 2015 18:27:20 +0100
546 dgit (1.1) unstable; urgency=medium
549 * When source package contains things called .git (even files, and even
550 in subdirectories), remove them. Closes:#793671.
551 * Work around curl -sS -I printing `HTTP/1.0 200 Connection established'
552 before the actual header, so dgit works with https_proxy set (!)
553 * --new is needed for read access to packages in NEW, too. Document
554 this, and make it work properly.
555 * Work around #793471 (madness with $SIG{__WARN__} and Perl's system
556 builtin): move $SIG{} setting into setup_sigwarn in Dgit.pm, and
558 * When invoking git-buildpackage via dgit gbp-build, consider our
559 command line arguments when massaging the dpkg-buildpackage arguments,
560 so that we don't end up giving dpkg-buildpackage contradictory
562 * Cope with new git-buildpackage which provides gbp, rather than the
563 eponymous command, on PATH.
566 * Honour dgit-distros.DISTRO.cmd-CMD and .opts-CMD. Closes:#793427.
567 * Make configuration able to prevent dpkg-mergechangelogs setup.
568 * Provide dgit setup-new-tree (like dpkg-setup-mergechangelogs
569 but only does it if not disabled in config).
570 * Set up git user.email and user.name from distro access config
571 or DEBEMAIL/DEBFULLNAME. Closes:#793410.
572 * When key to use not specified any other way, use the debian/changelog
573 trailer line. Closes:#793423.
574 * Honour --git= (mostly).
577 * Fix some manpage typos. [ Richard Hartmann ]
578 * Manpage said that --clean=check was -wn but that is --clean=none;
579 correctly document that --clean=check is actually -wc.
580 * Document that up to -DDDD (not just -DD) is meaningfully different.
581 * Document that -cname=value applies only for this run.
582 * Improve manpage comment about defining a new distro.
583 * Document that --quilt=linear is the default for Debian.
584 * Fix a formatting problem in --build-products-dir= doc.
585 * In manpage, do not seem to imply that NMU should be of only one
587 * Qualify to Debian the manpage comment about how to do NMU.
588 * In discussion on how to start using dgit when already using git, do
589 not imply/assume that existing git history will have identical trees
591 * Remove stray sentence in config section of manpage.
592 * Manpage: Clarify wording of readonly config.
593 * Manpage: Better cross-references for -k and keyid.
594 * dgit(7): No longer say that dgit-repos lives on Alioth.
597 * Introduce more sophisticated protocol negotiation for rpush.
598 * Do not quote `:' in shellquote.
599 * Print a supplementary message when push fails, giving advice to
600 the user about how to retry. Closes:#793144.
601 * Slurp in entire git config, for better performance.
602 * Rename `git-build' operation to `gbp-build' to make it clearer what
603 it's for. Keep the old name as an alias.
604 * Show `dgit sbuild' in usage message.
605 * When we are using dpkg-buildpackage to clean before using it to also
606 do the build, let it do its cleaning thing as part of its run, rather
607 than running it twice. When we are _not_ supposed to be using
608 dpkg-buildpackage to clean, but we are running it to do the build,
609 pass -nc. Closes:#793060.
610 * Also suppress spurious runs of the clean target when building using
612 * When exec fails, always print the program name in the error message.
615 * Infrastructure: Get mirroring right for fresh repos of existing
618 Packaging, cleanups, debugging and test suite:
619 * Fix Vcs-Git and Vcs-Browse to refer to chiark. (The dgit-repos on
620 alioth aren't suitable right now because the master there can
621 currently only be updated with an actual upload, ie dgit push.)
622 * Make warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch
623 (using setup_sigwarn).
624 * tstunt/dpkg-parsechangelog: Make warnings fatal (directly).
625 * tstunt/dpkg-parsechangelog: Do not complain if PERLLIB is empty.
626 * Test suite: Honour DGIT_TEST_DEBUG=''.
627 * With -DDDD, print out all gitcfg references (copious!)
628 * Fix a debug message in the obsolete sshpsql archive access driver.
629 * Test suite: More automatic enumeration of tests.
630 * Test suite: Provide tests which check that all our various build
631 operations run the right targets as expected (ie, that we are massaging
632 the arguments to dpkg-buildpackage, and suppressing our clean target,
635 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 27 Jul 2015 16:34:31 +0100
637 dgit (1.0) unstable; urgency=medium
640 * Switch to new production git repositories for reading.
641 (this can no longer divert to alioth). Public readonly access
642 now works. Closes:#791447.
643 * Memoise git config lookups (big speedup!)
644 * Provide -wdd aka --clean=dpkg-source-d. Closes:#792433.
645 * Provide -wc aka --clean=check.
648 * Remove some obsolete caveats from BUGS.
649 * Reorganise and complete the configuration section.
650 * Remove obselete comment about DMs not being able to push.
651 We have, for now, a way to add keys manually. Closes:#720173.
654 * Remove configuration relating to alioth.
655 * Provide for different access mechanisms when pushing.
656 * Provide for configurable git url suffix.
657 * Allow git-url to be '' to force fallback to git-proto etc.
658 * Provide for checking git presence via http[s].
659 * Do some quoting on debug output (needed if the server might not
660 be trustworthy and might send us bad stuff).
661 * Talk to push.dgit.debian.org, rather than the .debian.net alias.
664 * Provide for mirroring git updates to a different server.
665 * Provide cgit-regen-config command for cgi-grnet-01.
666 * Make dgit-ssh-dispatch not spew (harmless) warnings if caller
667 tries for a shell session (ie SSH_ORIGINAL_COMMAND not set).
670 * Remove an obsolete comment from the code.
671 * Improve an error message from dgit-repos-policy-debian.
672 * Test suite: Break out t-make-hook-link.
673 * Fix a manpage typo.
675 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 19 Jul 2015 22:15:53 +0100
677 dgit (0.30) unstable; urgency=high
679 INCOMPATIBLE CHANGES:
681 * Client uses new infrastructure:
682 - Check for new dgit git service on dgit-git.debian.net (ie
683 gideon.debian.org), with transition plan based on diversion feature.
685 - Old versions of dgit will stop working when the server-side handle is
688 * dgit git trees no longer contain .pc for format `3.0 (quilt)' source
689 packages. Closes:#764606.
690 - It is deleted whenever we find it.
691 - Older versions of dgit will choke on trees without .pc.
692 - (When doing quilt fixup, we recreate a suitable .pc in a temporary
693 directory so that we can do dpkg-source --comit.)
695 * All users are urged to upgrade ASAP.
697 Other significant improvements:
699 * When generating quilt patches, try to linearise the git history into a
700 series of individual new patches for debian/patches. Closes:#770710.
702 * When receiving a push with dgit-repos-server, update the server's
703 refs/heads/master if we are pushing to what the distro regards as a
704 relevant branch, and the push would ff master. Closes:#728209.
706 * For non-Debian distros, distro version release tags contain distro
707 name a la DEP-14 (rather than hardcoding `debian/').
709 * Set up a merge driver for debian/changelog. Closes:#769291.
711 * --clean=git and --clean=none cause dgit to pass -nc to
712 dpkg-buildpackage, suppressing calls to the package's clean target.
713 Also, expand the documentation in this area slightly. Closes:#768590.
715 * Provide --clean=git-ff (aka -wgf), which is useful for dgit itself (!)
719 * Reduce some noise output and improve the clarity of some messages.
720 * Be more careful about tag updates during fetch: only update tags
721 referring to uploads to distro we are trying to fetch from.
722 * Change realpath dependency to `coreutils (>= 8.23-1~) | realpath'
727 * Fix handling of rmadison-based and gitless distros (e.g., Ubuntu).
728 * Add missing `gpgv' to test dependencies in debian/tests/control.
729 * Strip `-b <branch>' from contents of Vcs-Git header, when setting up
730 the vcs-git remote. Closes:#759374.
731 * Do not offer wget as an alternative dependency to curl. We always
732 unconditionally invoke curl and have no code to use wget.
734 * Complain about lack of cuddled values for value-taking single-letter
735 options, rather than thinking the user meat an empty value.
737 * Reject (rather than ignoring) further options merged witth -wn, -wg,
739 * Fix inaccurate error message when archive's git hash is not an
740 ancestor of git repo's git hash.
741 * Detect and bomb out on vendor-specific `3.0 (quilt)' patch series.
742 * Fix the rules clean target to remove test results and output.
744 Documentation improvements:
746 * Break out dgit(7) from dgit(1).
747 * Provide example workflow for dgit rpush. Closes:#763334.
748 (Also part of the fix for #768470.)
749 * Document that dgit repos are cloneable with git, in dgit(1)
750 section MODEL. [Andreas Barth.] Closes:#768470.
751 * Better documentation for quilt series handling.
752 * Document under `dgit push' that it is best to build with dgit too.
754 * Other minor clarifications and improvements.
756 Behind-the-scenes work:
758 * Use ftpmasterapi archive query method.
759 (Closes:#727702. Also partly obsoletes #768470.)
760 * New dgit-infrastructure binary package containing dgit-repos-server et
761 al. Client users probably don't want this stuff. Also, it provides a
762 convenient way to publish the dependencies.
763 * Many many bugfixes to the server side (dpkg-repos-server et al.).
764 * Add :..; prefix to ssh remote commands, for the benefit of future
765 forced command wrappers. Implicitly, this defines a new ssh-based
766 command protocol. Closes:#720174, #720175.
767 * Distro access configuration handling changes (should not be noticeable
769 * In places, significant restructuring or tidying up.
770 * Turn all perl warnings into errors using $SIG{__WARN__}.
772 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 05 Jul 2015 01:34:55 +0100
774 dgit (0.22.1) unstable; urgency=high
776 * Use Dpkg::Version::version_compare everywhere, not
777 Dpkg::Version::version_compare_string. The latter is entirely wrong,
778 meaning that dgit would get many version comparisons wrong.
781 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 04 Nov 2014 12:46:40 +0000
783 dgit (0.22) unstable; urgency=medium
786 * Clone removes destination directory on error. Closes:#736153.
787 * Work with wheezy-backports (and keep squeeze-backports working too).
789 * Work in read-only no-git-history mode with Ubuntu. You still have
790 to pass -dubuntu. Closes:#751781.
791 * Use mirror.ftp-master.debian.org DNS alias rather than coccia.
793 * Check hashes of files ourselves rather than running dget to
794 re-retreive the .dsc.
795 * Check SHA-256 of .dsc against hash from archive_query (ie projectb)
796 rather than letting dpkg-source do a signature verification.
797 Closes:#737619. Closes:#737625.
798 * Treat .dsc as bytes, just like everything else, rather than letting
799 HTTP::Message convert it to a Perl unicode string which the rest of
800 the program mishandles. Closes:#738536.
803 * Include canonicalised suite name in signed tag message.
804 * Mention cross-version dgit rpush incompatibility in manpage.
805 * Check for rpush protocol version incompatibility and crash early
807 * New script tests/using-intree for running tests on the source tree.
808 * Do not spew diff output to terminal (by default). Print sensible
809 message instead. Closes:#736526.
810 * Print better message for lack of configuration settings.
811 * Document that dgit rpush needs gnupg and your public key on the build
812 host. Closes:#736529.
813 * Fix a manpage reference to `--dget=' where `--dgit=' was intended.
814 * Provide t-archive-process-incoming and t-archive-query subroutines for
815 regression test scripts to use.
816 * Print better message for unknown operations.
817 * Provide `dgit clean'. Closes:#736527.
818 * When cloning, set up a remote `vcs-git' from the package's Vcs-Git
819 (and put an appropriate caveat in the manpage). Closes:#740687.
821 * Improve error message for .dsc having already been signed (iff
822 using libdpkg-perl 1.17.x). Closes:#731635.
823 * Improve error message for .dsc parsing failures more generally.
824 * Better reporting of child exit statuses (esp. deaths due to signals).
825 * In rpush, on protocol error talking to build host, check if the
826 subprocess died and report differently if so. Closes:#736528.
827 * Fixed a manpage typo.
828 * When tests invoke dgit, use --dgit= so that subprocesses use our
829 dgit rather than system one.
830 * Add a test for dgit rpush.
832 Major new feature, currently stalled awaiting server infrastructure:
833 * dgit-repos-server: New program for receiving signed-tag-based
834 pushes. Corresponding support in dgit itself, but not currently
835 used by default for any distro.
836 * Bring forward push of the version tag ref so it happens alongside
837 the push of the suite branch ref.
838 * New git-check and git-create methods "true" which are no-ops.
839 * test-dummy-drs `distro': for testing dgit and dgit-repos-server.
841 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 19 Aug 2014 11:24:02 +0100
843 dgit (0.21) unstable; urgency=medium
845 Bugfixes relating to unclean trees:
846 * Run a clean (of the specified type) before any build operation; do
847 this with `dpkg-buildpackage -T' clean if necessary, so -wd now works
848 with all the building methods.
849 * Refuse to do quilt fixup (explicitly requested, or as a result of
850 build) if the tree contains ignored files. Closes:#731632.
852 Error message improvements:
853 * Use failedcmd to report errors when ssh psql fails. Closes:#734281.
854 * failedcmd prints $us, not $_[0] - ie, dgit doesn't pretend,
855 in the error message, to be its child.
856 * Do not report the (irrelevant) $? when madison parsing fails.
858 Better workflow flexibility:
859 * Provide --build-products-dir option (and corresponding semantics
860 for -C) to specify where to find the files to upload. Closes:#731633.
862 Support for Debian backports suites:
863 * New quirks infrastructure in configuration and internals,
864 for suites (or perhaps distros) which are a bit like others.
865 * Use correct default archive location.
866 * Compute "-v" option default value correctly.
869 Packaging improvement:
870 * Add `Testsuite: autopkgtest' to debian/control. (This will only have
871 the right effect with recent enought dpkg; it will generate a harmless
872 warning with earlier versions of dpkg.)
874 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 19 Jan 2014 02:14:25 +0000
876 dgit (0.20) unstable; urgency=high
878 * Use newest (not oldest) version currently in suite when calculating
879 what value to use for -v<version> by default. Closes:#732781.
881 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 21 Dec 2013 19:13:56 +0000
883 dgit (0.19) unstable; urgency=low
886 * Provide "test-dummy" distro with "dummycat" access method.
887 * Provide a selection of autopkgtest (DEP-8) tests.
889 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 27 Nov 2013 18:27:17 +0000
891 dgit (0.18.2) unstable; urgency=high
893 Bump archive upload urgency to high.
895 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 24 Nov 2013 17:42:57 +0000
896 dgit (0.18.1) unstable; urgency=low
899 * sshpsql archive query method passes LANG=C. Closes:#729788.
900 * Subcommand program or argument options containing hyphens work.
901 (Eg, --dpkg-buildpackage:blah was previously incorrectly rejected.)
905 * Depend on curl | wget, as dget needs one of those. (The dput package,
906 which contains dget, doesn't require them because dput itself works
909 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 24 Nov 2013 17:36:03 +0000
911 dgit (0.18) unstable; urgency=low
914 * Remote push (dgit rpush), a la debsign -r. Closes:#721185.
917 * dgit build, by default, uses the archive to find out what the correct
918 -v<version> option is to pass to dpkg-genchanges. Closes:#727200.
919 * Abolish the sshdakls method and replace it with sshpsql: that is, ssh
920 (to coccia, by default) and run sql commands on the ftpmaster
921 database. This is faster and has fewer bugs but is vulnerable to db
922 schema changes. Closes:#726955. Closes:#720170. Closes:#720176.
923 * When generating git tags, quote the (uncanonicalised) changelog's
924 Distribution field as the suite.
925 * Command execution reports from --dry-run go to stderr.
928 * Support --gpg=... to provide a replacement command for gpg.
929 * Support --ssh=... and --ssh:... to affect how we run ssh.
932 * When using sbuild, pass the arguments to mergechanges in the right
933 order so that we use the correct Description (the _source one,
934 not the one from sbuild which didn't get e.g. -v<version>).
935 * push actually takes an optional suite, like it says in the synopsis.
937 * Fix dgit --damp-run sbuild to actually work.
938 * Fix the "shellquote" internal subroutine. The bugs in it ought not to
939 have caused any real trouble in previous versions of dgit.
941 Documentation and message fixes:
942 * manpage: Clarify comments about orig tarballs. Closes: #723605.
943 * manpage: Remove comment in BUGS about lack of policy docs
944 for Dgit field, which is specified now. Closes:#720201.
945 * manpage: Make discussion of --existing-package less scary. The
946 default archive access method no longer needs it. Closes:#720171.
947 * Mention "git merge", not "git-merge", in helpful message.
950 Internal and debugging improvements:
951 * Report chdir actions in debugging output.
952 * Improvements to implementation of --dry-run and --damp-run.
953 * Some code motion and cleanups.
955 Note: changelog entries for the following versions, which were uploaded
956 to Debian experimental, have been collapsed into this single entry:
957 0.18~experimental2 0.18~experimental1
958 0.17~experimental7 0.17~experimental6 0.17~experimental5
959 0.17~experimental4 0.17~experimental3 0.17~experimental2
961 0.16~experimental3 0.16~experimental2 0.16~experimental1
962 We do describe here all the changes since 0.17.
964 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 09 Nov 2013 10:12:13 +0000
966 dgit (0.17) unstable; urgency=high
968 * Do not grobble around in .git/refs/; instead, use git-show-ref.
969 This avoids breaking when git makes packed refs. Closes:728893.
970 * Clarify error message for missing refs/remotes/dgit/dgit/<suite>.
972 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 07 Nov 2013 00:02:47 +0000
974 dgit (0.16) unstable; urgency=high
976 * Format `(3.0) quilt' fixup does not mind extraneous other files
977 in the build tree (e.g., build products and logs). Closes: #727053.
978 * Set autoflush on stdout, to get better ordering of debugging
979 etc. output when stdout is redirected.
980 * New --damp-run mode, for more convenient and fuller testing etc.
982 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Tue, 22 Oct 2013 13:06:54 +0100
984 dgit (0.15) unstable; urgency=low
986 * Better handling of packages pushed using dgit and stuck in NEW.
987 (And, use of `--new' is not needed with fetch.) Closes: #722199.
988 * More comprehensive warnings in many cases of archive skew.
989 * Implement `dgit help' as well as `--help'. Closes: #721661.
990 * Provide `dgit version' and `--version'. Closes: #721654.
992 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 12 Sep 2013 00:14:05 +0100
994 dgit (0.14) unstable; urgency=low
996 * Include package name in tag message.
997 * Create directory .git/dgit when needed during build. Closes: #721428.
998 * Add Vcs-Git and Vcs-Browser [Richard Hartmann]. Closes: #721404.
999 These fields refer to the development branch, "master", on alioth,
1000 not to the dgit suite refs (which are not accessible to git clone).
1002 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 01 Sep 2013 18:30:44 +0100
1004 dgit (0.13) unstable; urgency=low
1006 * Reuse already-downloaded .orig files after checking their hashes.
1007 Closes: #720526. (This introduces a dependency on Digest::SHA.)
1008 * Do not always pointlessly fetch the .dsc twice. (That code was
1009 erroneously duplicated during editing, apparently.)
1010 * Remove DGET_UNPACK from the environment in case the user has set it.
1011 * Remove scary warning from Description.
1012 * When uploading to Debian, tell dput to upload to "ftp-master". This
1013 avoids problems with derivatives whose dput has a different default.
1015 * Fix some bugs in dgit fetch --dry-run which made dgit push
1016 --dry-run often not work at all.
1017 * Update the local tracking branch for the dgit remote, when pushing.
1019 * Fix references in manpage to old Vcs-Dgit-Master field name.
1020 * Reorganise manpage sections to be in a more conventional order.
1021 * New manpage section on FILES IN THE SOURCE PACKAGE BUT NOT IN GIT.
1024 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 29 Aug 2013 00:27:23 +0100
1026 dgit (0.12) unstable; urgency=low
1028 * Cope with packages with epoch. Closes: #720897.
1029 * Improve error message for non-fast-forward push. Closes: #720896.
1030 * New --ignore-dirty option to skip noncritical check. Closes: #720895.
1031 * New --no-quilt-fixup option to suppress quilt fixup. RTFM.
1032 * Add Closes line for #720595 to changelog entry for 0.11.
1034 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 26 Aug 2013 16:50:39 +0100
1036 dgit (0.11) unstable; urgency=low
1038 * Location of dgit-repos is now git.debian.org:/git/dgit-repos/repos.
1039 Closes: #720525. The rename on the server side will break older
1041 * Fix bug which would make quilt patch fixup fail if git status
1043 * Autogenerated quilt patch fixup patch Description contains several
1044 recent git commits, rather than implying that the patch corresponds
1045 exactly to the top git commit.
1046 * Use "ftp.debian.org" not "http.debian.net" as the default Debian
1047 archive. (http.debian.net tends to defeat certain kinds of cacheing,
1048 and can also have more skew.)
1049 * dgit build uses dpkg-buildpackage; there is a dgit git-build
1050 for using git-buildpackage. Closes: #720595.
1051 * Better error message for use of UNRELEASED suite. Closes: #720523.
1052 * Do not canonicalise suite more than once. Related to: #720526.
1053 * Fix a badly open-coded copy of check_not_dirty. Closes: #720524.
1054 * Fix some bugs in building (eg build-source would fail to do the quilt
1055 fixup; the --clean check in build was wrong).
1056 * Add missing dependency on realpath.
1057 * git-build (git-buildpackage wrapper) does not bother canonicalising
1058 the suite if --git-ignore-branch is used.
1060 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 25 Aug 2013 17:00:43 +0100
1062 dgit (0.10) unstable; urgency=low
1064 * Create .pc/applied-patches - do not empty it (!)
1066 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 25 Aug 2013 00:51:50 +0100
1068 dgit (0.9) unstable; urgency=low
1070 * New cleaning arrangements.
1071 * More comprehensive workaround for `3.0 (quilt)'.
1072 * In push, double-check the .changes against the changelog.
1073 * Better error when source package contains .git. Closes: #720555.
1074 * Change our .dsc field name to `Dgit'. Relevant to #720201.
1075 * Fix bug handling our synthetic merges when we see them in
1076 the remote suite branch.
1077 * `3.0 (quilt)' fixup creates .pc/applied-patches since modern
1078 dpkg-source creates it even though old ones didn't always.
1080 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 24 Aug 2013 18:49:02 +0100
1082 dgit (0.8) unstable; urgency=low
1084 * Fix comparison of archive's .dsc's hash and git branch head
1086 * When creating repos in dgit-repos (using the ssh-cmd method),
1087 copy _template rather than using mkdir and git init.
1089 * In push, do git fetch as well as archive fetch, or archive
1092 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 23 Aug 2013 12:24:09 +0100
1094 dgit (0.7) unstable; urgency=low
1096 * If dak ls, or rmadison, reports multiple versions, look for them
1097 all, and pick the newest .dsc that doesn't give 404.
1098 * Manpage formatting fix.
1099 * Name the local remote tracking branch remotes/dgit/dgit/<suite>
1100 so that we avoid a warning from git about ambiguous branch names.
1102 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 18:29:10 +0100
1104 dgit (0.6) unstable; urgency=low
1106 * Allow fetching when archive has out-of-date git hash in .dsc.
1109 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 16:02:10 +0100
1111 dgit (0.5) unstable; urgency=low
1113 * Upload to unstable, as this version mostly works. (All the RC
1114 bugs of which I'm aware are now properly represented in the BTS.)
1116 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 15:38:00 +0100
1118 dgit (0.4~pre2) experimental; urgency=low
1120 * Mangle debian/<version> tags the way git-buildpackage does
1121 (as of git-buildpackage 0.5.5, 3c6bbd0f4992f8da).
1122 * Support dgit-distro.<distro>.keyid config option.
1123 * Revert change to ssh to alioth CNAME, as the recommended CNAME
1124 is to something with no write access to the fs and the new CNAME
1125 has not yet been set up. This reintroduces #720172 :-/.
1127 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 15:31:17 +0100
1129 dgit (0.4~pre1) experimental; urgency=low
1131 * Use dgit.debian.net vhost on alioth. Closes:#720172.
1132 * Usage message. Closes:#720085.
1133 * Provide "dgit sbuild".
1134 * Assorted manpage fixes and improvements.
1135 * Fail if a required config item is missing.
1136 * Much better error messages.
1137 * Better error checking when parsing RFC822-style control data.
1138 * Better checking that the supplied .dsc and debian/changes correspond.
1139 * Ordering improvement in push: don't add dsc field until git push done.
1140 * New --distro option (helps with unknown suites).
1143 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 22 Aug 2013 13:36:44 +0100
1145 dgit (0.3) experimental; urgency=low
1147 * New version which appears to be able to sort of work at least
1150 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 17 Aug 2013 09:18:04 +0100
1152 dgit (0.2) experimental; urgency=low
1154 * New version which might actually work but probably won't.
1156 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 16 Aug 2013 16:52:17 +0100
1158 dgit (0.1) experimental; urgency=low
1160 * Initial experimental (partial) version.
1162 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 15 Aug 2013 12:09:01 +0100