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