chiark / gitweb /
6 years agoSplit brain: Introduce $diffbits (nfc)
Ian Jackson [Wed, 18 Nov 2015 18:59:35 +0000 (18:59 +0000)]
Split brain: Introduce $diffbits (nfc)

Replace ${user,{,un}applied}2${,un}applied with $diffbits->{[HOA]2[HOA]}

This encapsulates the info it nicely and makes it easy to pass
it to quiltify_splitbrain, which is going to need it.

6 years agoSplit brain: quiltify_trees_differ: Improve doc comment
Ian Jackson [Sat, 4 Jun 2016 11:58:32 +0000 (12:58 +0100)]
Split brain: quiltify_trees_differ: Improve doc comment

6 years agoSplit brain: Rename quilt mode `apply' to `unapplied'
Ian Jackson [Tue, 17 Nov 2015 01:28:04 +0000 (01:28 +0000)]
Split brain: Rename quilt mode `apply' to `unapplied'

6 years agoSplit brain: Start introducing gbp (split brain) quilt mode
Ian Jackson [Sat, 4 Jun 2016 14:25:23 +0000 (15:25 +0100)]
Split brain: Start introducing gbp (split brain) quilt mode

* Replace quilt_could_gbp with new calculation based on three calls to

* Reworked messages about quilt differences.

* Start to provide the `gbp', `apply' and `dpm' quilt modes.
  Currently we crash with a die if any of these are used.
  Nevertheless, we allow `gbp' and `apply' to be specified.

6 years agoSplit brain: Make quiltify_trees_differ cleverer
Ian Jackson [Sat, 4 Jun 2016 14:04:28 +0000 (15:04 +0100)]
Split brain: Make quiltify_trees_differ cleverer

Have it be able to explain what was different, by returning a bitmask.
Update the call sites.

Incidentally, fix a bug where .gitignores other than in the toplevel
would not be ignored when they ought to have been.

6 years agoSplit brain: Include debian/tests/control in fake dsc
Ian Jackson [Sat, 4 Jun 2016 11:47:36 +0000 (12:47 +0100)]
Split brain: Include debian/tests/control in fake dsc

Found this in a commit "WIP SPLIT BRAIN NEW DIFFS SEEM GOOD".  Not
sure why (I thought) it was needed.  Maybe it should be reverted, but
it's probably harmless.

6 years agoSplit brain: Improve quiltify() message
Ian Jackson [Sat, 4 Jun 2016 11:41:23 +0000 (12:41 +0100)]
Split brain: Improve quiltify() message

Actually --quilt=gbp and --quilt=unapplied (well, what's called
--quilt=apply here) aren't going to be quite identical.

6 years agoSplit brain: Move $oldtiptree calculation out of quiltify (nfc)
Ian Jackson [Mon, 16 Nov 2015 23:05:55 +0000 (23:05 +0000)]
Split brain: Move $oldtiptree calculation out of quiltify (nfc)

And pass the result as an argument.  Code outside quiltify is going
to want this information.

6 years agoSplit brain: Detect patches-unapplied tree and print a suitable message
Ian Jackson [Sat, 4 Jun 2016 11:23:16 +0000 (12:23 +0100)]
Split brain: Detect patches-unapplied tree and print a suitable message

Note that the message refers to `--quilt=gbp' aka `--quilt=apply'
which do not exist yet (and which we're going to call something else,
later in this series).  Oh well.

6 years agoSplit brain: quiltify_trees_differ supports $ignoregitignore (nfc)
Ian Jackson [Sat, 4 Jun 2016 11:22:03 +0000 (12:22 +0100)]
Split brain: quiltify_trees_differ supports $ignoregitignore (nfc)

We are going to want to handle this specially.

6 years agoSplit brain: Rename $origtree to $unapplied (nfc)
Ian Jackson [Sat, 4 Jun 2016 11:19:21 +0000 (12:19 +0100)]
Split brain: Rename $origtree to $unapplied (nfc)

This is clearer.

6 years agoSplit brain: Capture patches-unapplied tree object
Ian Jackson [Sat, 4 Jun 2016 10:44:47 +0000 (11:44 +0100)]
Split brain: Capture patches-unapplied tree object

No functional change as yet.  But, now the correct value for $origtree
is passed to quiltify.

6 years agoSplit brain: Run dpkg-source --before-build separately (nfc)
Ian Jackson [Sat, 4 Jun 2016 10:40:06 +0000 (11:40 +0100)]
Split brain: Run dpkg-source --before-build separately (nfc)

We are going to want to capture the patches-unapplied state of the
tree as a git tree object.  So split out the patch application part of
the fake .dsc extraction.

No functional change as yet.

6 years agoSplit brain: Fake .dsc contains d/control and d/changelog too
Ian Jackson [Sat, 4 Jun 2016 10:36:22 +0000 (11:36 +0100)]
Split brain: Fake .dsc contains d/control and d/changelog too

We will want these because we're going to be doing more exciting
dpkg-source and gbp operations etc.

6 years agoSplit brain: Add $origtree argument to quiltify (nfc)
Ian Jackson [Sat, 4 Jun 2016 10:35:58 +0000 (11:35 +0100)]
Split brain: Add $origtree argument to quiltify (nfc)

Currently not used, nor any sensible value passed.

6 years agoSplit brain: Document the plan
Ian Jackson [Sun, 8 Nov 2015 23:00:15 +0000 (23:00 +0000)]
Split brain: Document the plan

6 years agoSplit brain: Make git tree in fake sooner (nfc)
Ian Jackson [Sun, 8 Nov 2015 22:59:46 +0000 (22:59 +0000)]
Split brain: Make git tree in fake sooner (nfc)

No overall functional change.

6 years agoSplit brain: Make prep_ud be able to make a different dir (nfc)
Ian Jackson [Sun, 8 Nov 2015 15:13:36 +0000 (15:13 +0000)]
Split brain: Make prep_ud be able to make a different dir (nfc)

We will want this later.  No users yet, so no functional change.

6 years agodgit: Add a comment about reason for commit_quilty_patch in push
Ian Jackson [Wed, 18 May 2016 20:21:03 +0000 (21:21 +0100)]
dgit: Add a comment about reason for commit_quilty_patch in push

6 years agoTest dgit-repos-policy-debian with multiple (identical, as it happens) existing taints.
Ian Jackson [Sat, 4 Jun 2016 18:46:42 +0000 (19:46 +0100)]
Test dgit-repos-policy-debian with multiple (identical, as it happens) existing taints.

6 years agodgit-repos-policy-debian.: fix git-cat-file-handling with multiple taints in db (!).
Ian Jackson [Sat, 4 Jun 2016 18:46:07 +0000 (19:46 +0100)]
dgit-repos-policy-debian.: fix git-cat-file-handling with multiple taints in db (!).

6 years agodgit-repos-policy-debian: Better error handling
Ian Jackson [Sat, 4 Jun 2016 18:45:12 +0000 (19:45 +0100)]
dgit-repos-policy-debian: Better error handling

Show more info when git-cat-file --batch goes wrong

6 years agodebian/changelog: Fix a formatting bug
Ian Jackson [Sat, 4 Jun 2016 17:56:59 +0000 (18:56 +0100)]
debian/changelog: Fix a formatting bug

6 years Provide hashfile()
Ian Jackson [Sat, 28 Nov 2015 15:56:10 +0000 (15:56 +0000)] Provide hashfile()

Call site(s) will come later.

6 years agoTest suite: Provide test for nonexistent --always-split-source-build
Ian Jackson [Sat, 7 Nov 2015 17:28:10 +0000 (17:28 +0000)]
Test suite: Provide test for nonexistent --always-split-source-build

We are going to introduce this option soon.  It is not supposed to
actually have very much overall effect, although it will replumb the
way dgit goes about making the source package.

So the tests are just the same as the normal tests only with the
additional option.

6 years agodgit: Internal change: Support forcing split source builds
Ian Jackson [Fri, 21 Aug 2015 16:27:40 +0000 (17:27 +0100)]
dgit: Internal change: Support forcing split source builds

We are going to start handling weirder kinds of git tree, which will
require a kind of `split brain': the dgit-using maintainer's view will
be a git tree which is not a dgit git tree.  dgit will convert them
during push.

For this to work we will have to have dgit always (in these cases)
generate the source package itself (with a separate invocation of
dpkg-source).  This will involve some dis- and re-entangling of the
way we generate arguments to dpkg-buildpackage.

We can profitably split this up into this pre-patch, which has no
overall functional change for normal users.

We do here provide a new --always-split-source-build option which
allows the new approach to be explicitly requested.  This allows us to
use the test suite to not only test that we didn't break any of the
existing building strategies, but also that the new strategies all do
what we expect.

But this option is not really semantically useful for users so we do
not document it.

6 years agoTest suite: tartree-edit: document gitfetchinfo-merge in usage message
Ian Jackson [Sun, 3 Jul 2016 22:12:02 +0000 (23:12 +0100)]
Test suite: tartree-edit: document gitfetchinfo-merge in usage message

6 years agoTest suite: run-all should use make -k
Ian Jackson [Sun, 3 Jul 2016 22:01:25 +0000 (23:01 +0100)]
Test suite: run-all should use make -k

Otherwise one failure causes the tests to be abandoned, which is not
usually desirable.

6 years agoTest suite: lib t-untar of an edited tartree: do not hardlink
Ian Jackson [Sun, 3 Jul 2016 22:00:16 +0000 (23:00 +0100)]
Test suite: lib t-untar of an edited tartree: do not hardlink

Some of the tools we use, it turns out, do not update properly: they
overwrite in place.  This can cause inadvertant changes to a tartree
opened for editing.

6 years agoTests: tartree-edit: gitfetchinfo: Better commit messages for dirty tress
Ian Jackson [Sun, 3 Jul 2016 22:03:17 +0000 (23:03 +0100)]
Tests: tartree-edit: gitfetchinfo: Better commit messages for dirty tress

6 years agoTest suite: tartree-edit: gitfetchinfo generates remote/TT-HEAD
Ian Jackson [Sun, 3 Jul 2016 22:02:37 +0000 (23:02 +0100)]
Test suite: tartree-edit: gitfetchinfo generates remote/TT-HEAD

Simply HEAD is not displayed by gitk, which is rather a shame.

6 years agoTest suite: tartree-edit: gitfetchinfo: Remerge on fetch
Ian Jackson [Sat, 2 Jul 2016 10:34:03 +0000 (11:34 +0100)]
Test suite: tartree-edit: gitfetchinfo: Remerge on fetch

When we unmerged some old A+B merged refs, make a note to merge them
again.  This saves the user calling gitfetchinfo-merge again.

6 years agoTest suite: tartree-edit: gitfetchinfo: Be a bit more careful
Ian Jackson [Sat, 2 Jul 2016 10:33:26 +0000 (11:33 +0100)]
Test suite: tartree-edit: gitfetchinfo: Be a bit more careful

* Turn on perl warnings
* Use strict
* When removing old merged refs, insist that we aren't handling A+A

6 years agoTest suite: tartree-edit: gitfetchinfo: Unmerge merged refs
Ian Jackson [Sat, 2 Jul 2016 10:25:54 +0000 (11:25 +0100)]
Test suite: tartree-edit: gitfetchinfo: Unmerge merged refs

The sequence
  gitfetchinfo-merge A B
  gitfetchinfo A
  gitfetchinfo-merge A B
might leave inappropriate A+B refs, because nothing would delete them.

So, have gitfetchinfo A unmerge any A+B or B+A refs.  (This does mean
that the user of gitfetchinfo A is now promising that any remotes A+B
or B+A were made with gitfetchinfo-merge.)

6 years agoTest suite: tartree-edit: gitfetchinfo: Specify commit timestamps
Ian Jackson [Sat, 2 Jul 2016 10:24:28 +0000 (11:24 +0100)]
Test suite: tartree-edit: gitfetchinfo: Specify commit timestamps

We want the commit timestamps to be predictable (ie, to depend on the
source info only), so that we don't show spurious disagreement between
two working trees.  So, use the timestamp of the HEAD commit.

6 years agoTest suite: tartree-edit: Provide facility for comparing sets of git refs
Ian Jackson [Sat, 2 Jul 2016 09:54:19 +0000 (10:54 +0100)]
Test suite: tartree-edit: Provide facility for comparing sets of git refs

6 years agoTest suite: tartree-edit: break out git_manip_play (nfc)
Ian Jackson [Sat, 2 Jul 2016 09:53:25 +0000 (10:53 +0100)]
Test suite: tartree-edit: break out git_manip_play (nfc)

6 years agoTest suite: Provide `tartree-edit gitfetchinfo'
Ian Jackson [Sat, 2 Jul 2016 09:23:01 +0000 (10:23 +0100)]
Test suite: Provide `tartree-edit gitfetchinfo'

Help with comparing different test case git working tree tarballs.

6 years agoTest suite: Test build modes -g and -G
Ian Jackson [Sun, 8 Nov 2015 14:02:01 +0000 (14:02 +0000)]
Test suite: Test build modes -g and -G

6 years agoquilt fixup: When using git-reset, pass -q
Ian Jackson [Tue, 17 Nov 2015 01:23:35 +0000 (01:23 +0000)]
quilt fixup: When using git-reset, pass -q

6 years agodgit-repos-policy-debian: better error message when git-cat-file produces unexpected...
Ian Jackson [Sat, 7 Nov 2015 15:45:53 +0000 (15:45 +0000)]
dgit-repos-policy-debian: better error message when git-cat-file produces unexpected output

6 years agodgit sbuild no longer deletes extranious .changes files; instead we rely on --rm...
Ian Jackson [Sat, 7 Nov 2015 13:41:15 +0000 (13:41 +0000)]
dgit sbuild no longer deletes extranious .changes files; instead we rely on --rm-old-changes, or failing that, fail early.

6 years agoNo longer tolerate a multitude of .changes files when doing push.
Ian Jackson [Sat, 7 Nov 2015 13:13:59 +0000 (13:13 +0000)]
No longer tolerate a multitude of .changes files when doing push.

Instead, insist on a single one.  This eliminates a potential for a
variety of surprises, where dgit would upload something different to
the user expected.

We no longer need to behave this way because nowadays the sbuild build
(which was the real use case, because it would generate a .source and
a .ARCH changes as well as the final .multi) renames the intermediate
changes files.

Also --rm-old-changes helps.

6 years agoRemove any pre-existing _source.changes file before building source, as a safety...
Ian Jackson [Sat, 7 Nov 2015 13:13:00 +0000 (13:13 +0000)]
Remove any pre-existing _source.changes file before building source, as a safety check.

6 years agoTests: Use --rm-old-changes in build-mode tests
Ian Jackson [Sat, 7 Nov 2015 15:46:25 +0000 (15:46 +0000)]
Tests: Use --rm-old-changes in build-mode tests

Soon, we are going to be stricter about detecting ambiguity about
which .changes file is intended when different build modes have been

6 years agoIntroduce --rm-old-changes to delete previous builds' changes files.
Ian Jackson [Sat, 7 Nov 2015 13:09:56 +0000 (13:09 +0000)]
Introduce --rm-old-changes to delete previous builds' changes files.

6 years agodgit(1): Document the dgit-distro.DISTRO.quilt-mode config setting.
Ian Jackson [Sat, 7 Nov 2015 12:59:49 +0000 (12:59 +0000)]
dgit(1): Document the dgit-distro.DISTRO.quilt-mode config setting.

6 years agoBreak out changespat (no functional change)
Ian Jackson [Sat, 7 Nov 2015 11:10:39 +0000 (11:10 +0000)]
Break out changespat (no functional change)

6 years agoWhen running dpkg-buildpackage, cope if user specified -g or -G.
Ian Jackson [Fri, 6 Nov 2015 16:10:51 +0000 (16:10 +0000)]
When running dpkg-buildpackage, cope if user specified -g or -G.

6 years agosbuild: Check that the binary .changes file doesn't contain a .dsc.
Ian Jackson [Fri, 6 Nov 2015 14:32:03 +0000 (14:32 +0000)]
sbuild: Check that the binary .changes file doesn't contain a .dsc.

6 years agosbuild: Rename the used-up .changes files to `.inmulti'
Ian Jackson [Fri, 6 Nov 2015 14:23:18 +0000 (14:23 +0000)]
sbuild: Rename the used-up .changes files to `.inmulti'

This avoids accidental use of the wrong one (by software, or by users).

6 years agosbuild:: check that we have the right number of .changes files
Ian Jackson [Fri, 6 Nov 2015 14:21:54 +0000 (14:21 +0000)]
sbuild:: check that we have the right number of .changes files

Check that the set of .changes files found is as we expect, before
calling mergechanges.

6 years agoTest suite: Test quilt single-debian-patch
Ian Jackson [Fri, 21 Aug 2015 15:40:37 +0000 (16:40 +0100)]
Test suite: Test quilt single-debian-patch

6 years agoIncrease sqlite_busy_timeout in debpolicy-dbretry
Ian Jackson [Sat, 7 Nov 2015 15:49:05 +0000 (15:49 +0000)]
Increase sqlite_busy_timeout in debpolicy-dbretry

zealot is very slow and we need to give the other processes time to
rollback and release the lock.

6 years agotest suite: Remove spurious .debs from example_1.0.tar
Ian Jackson [Sun, 6 Dec 2015 22:36:39 +0000 (22:36 +0000)]
test suite: Remove spurious .debs from example_1.0.tar

Ian Jackson [Fri, 1 Jul 2016 22:37:55 +0000 (23:37 +0100)]

This avoids most date dependencies: unless other measures are taken,
the commits and tags are identical iff they are constructed
identically.  This makes the test suite more deterministic.

In drs-push-rejects test, increment them explicitly, so as to make all
of mktag's tags distinct objects.

Otherwise it can generate identical tags (now, always; previously,
only sometimes on fast computers), causing spurious variations in
behaviour (eg, things not being rejected because they do not represent
any change).

6 years agobuild_source: Fix bad Perl poetry style
Ian Jackson [Thu, 30 Jun 2016 18:57:53 +0000 (19:57 +0100)]
build_source: Fix bad Perl poetry style

Pass --ch:* and -v options to dpkg-buildpackage when building source.
Fixes bad Perl poetry syntax.  Closes:#829121.

6 years agoProperly substitute $changesfile in one of the `You can retry' messages. Closes...
Ian Jackson [Sun, 22 May 2016 14:45:13 +0000 (15:45 +0100)]
Properly substitute $changesfile in one of the `You can retry' messages.  Closes:#800078.

6 years agoPrint better error message (with `fail' rather than `die') if `dgit clone' cannot...
Ian Jackson [Sun, 22 May 2016 14:28:18 +0000 (15:28 +0100)]
Print better error message (with `fail' rather than `die') if `dgit clone' cannot create the destination directory.

6 years agoDo not call "warn" on failure of cleanup handler in END block (since warn has been...
Ian Jackson [Sun, 22 May 2016 14:27:08 +0000 (15:27 +0100)]
Do not call "warn" on failure of cleanup handler in END block (since warn has been made fatal and aborts the cleanup chain).

6 years agoWhen cleaning up after failed clone, stat the to-be-cleaned-up directory before runni...
Ian Jackson [Sun, 22 May 2016 14:24:08 +0000 (15:24 +0100)]
When cleaning up after failed clone, stat the to-be-cleaned-up directory before running rmtree on it.  Closes:#796773.

6 years agoPut --no-arch-all in build-modes-sbuild act, not only its real_act
Ian Jackson [Fri, 1 Jul 2016 21:33:55 +0000 (22:33 +0100)]
Put --no-arch-all in build-modes-sbuild act, not only its real_act

Cosmetic change only.

6 years agoTest suite: When sbuild fails, do not crash
Ian Jackson [Fri, 1 Jul 2016 21:32:53 +0000 (22:32 +0100)]
Test suite: When sbuild fails, do not crash

... due to sed not finding the log file.  Instead, simply tolerate the
absence of the log file.

6 years agosbuild; Do not pass -A
Ian Jackson [Fri, 1 Jul 2016 21:28:29 +0000 (22:28 +0100)]
sbuild; Do not pass -A

Incompatible change:

* dgit sbuild does not pass -A to sbuild.  Consequently the default
  build is now simply sbuild's default.  With older sbuilds it was
  possible to override dgit's -A by passing another option.  But this
  has been changed recently and now this default setting is very
  awkward to change for the dgit user.

6 years agofinalise 1.4 debian/1.4
Ian Jackson [Sat, 22 Aug 2015 14:31:07 +0000 (15:31 +0100)]
finalise 1.4

6 years agochangelog: Improve
Ian Jackson [Sat, 22 Aug 2015 12:20:28 +0000 (13:20 +0100)]
changelog: Improve

6 years agoquilt-fixup checks that the git tree is clean, as for build-prep.
Ian Jackson [Sat, 22 Aug 2015 10:22:12 +0000 (11:22 +0100)]
quilt-fixup checks that the git tree is clean, as for build-prep.

6 years agoTest suite: run quilt-fixup with -wgf in distropatches-reject, so that we don't need...
Ian Jackson [Sat, 22 Aug 2015 12:22:30 +0000 (13:22 +0100)]
Test suite: run quilt-fixup with -wgf in distropatches-reject, so that we don't need build-depends.

6 years agoforbidden files: check them properly
Ian Jackson [Sat, 22 Aug 2015 10:12:59 +0000 (11:12 +0100)]
forbidden files: check them properly

7 years agoWith dgit sbuild, pass our -d before the user's arguments, so that the user can overr...
Ian Jackson [Fri, 21 Aug 2015 16:36:25 +0000 (17:36 +0100)]
With dgit sbuild, pass our -d before the user's arguments, so that the user can override it.  Closes:#796019.

7 years agoquilt fixup: single-debian-patch is still broken in wheezy
Ian Jackson [Fri, 21 Aug 2015 16:34:22 +0000 (17:34 +0100)]
quilt fixup: single-debian-patch is still broken in wheezy

Because dpkg-source -b breaks with single-debian-patch when the .pc is
missing, so this depends on split execution of the source package

7 years agoquilt fixup: A few more progress messages
Ian Jackson [Fri, 21 Aug 2015 15:39:37 +0000 (16:39 +0100)]
quilt fixup: A few more progress messages

7 years agoReject debian/source/local-patch-header
Ian Jackson [Fri, 21 Aug 2015 15:39:17 +0000 (16:39 +0100)]
Reject debian/source/local-patch-header

7 years agoquilt fixup: quilt_fixup_linkorigs more debugging output
Ian Jackson [Fri, 21 Aug 2015 15:38:26 +0000 (16:38 +0100)]
quilt fixup: quilt_fixup_linkorigs more debugging output

7 years agoCope properly with `3.0 (quilt)' with single-debian-patch. Closes:#796016.
Ian Jackson [Fri, 21 Aug 2015 12:11:28 +0000 (13:11 +0100)]
Cope properly with `3.0 (quilt)' with single-debian-patch. Closes:#796016.

7 years agoquilt fixup: Break out quilt_fixup_delete_pc (nfc)
Ian Jackson [Fri, 21 Aug 2015 12:09:08 +0000 (13:09 +0100)]
quilt fixup: Break out quilt_fixup_delete_pc (nfc)

7 years agoquilt fixup: Break out quilt_fixup_linkorigs (nfc)
Ian Jackson [Fri, 21 Aug 2015 12:08:23 +0000 (13:08 +0100)]
quilt fixup: Break out quilt_fixup_linkorigs (nfc)

7 years agoquilt fixup: Break out quilt_fixup_mkwork (nfc)
Ian Jackson [Fri, 21 Aug 2015 12:08:02 +0000 (13:08 +0100)]
quilt fixup: Break out quilt_fixup_mkwork (nfc)

7 years agoquilt fixup: break out quilt_fixup_multipatch ready for quilt_fixup_singlepatch
Ian Jackson [Fri, 21 Aug 2015 12:06:31 +0000 (13:06 +0100)]
quilt fixup: break out quilt_fixup_multipatch ready for quilt_fixup_singlepatch

Functional change: bomb out with die if single-debian-patch, rather than going wrong

7 years agoIn --dry-run mode, _do_ actually run dpkg-source --commit so that we actually do...
Ian Jackson [Fri, 21 Aug 2015 11:51:39 +0000 (12:51 +0100)]
In --dry-run mode, _do_ actually run dpkg-source --commit so that we actually do construct the quilt fixup commit; instead, honour --dry-run by avoiding pulling it back to your HEAD.

7 years agoget_source_format returns the debian/source/options, too (nfc since no users yet)
Ian Jackson [Fri, 21 Aug 2015 09:37:11 +0000 (10:37 +0100)]
get_source_format returns the debian/source/options, too (nfc since no users yet)

7 years agoCopy debian/source/options into fake dsc
Ian Jackson [Thu, 20 Aug 2015 13:00:42 +0000 (14:00 +0100)]
Copy debian/source/options into fake dsc

7 years agoRefactor coping with maybe-existing files in fake dsc
Ian Jackson [Thu, 20 Aug 2015 12:52:26 +0000 (13:52 +0100)]
Refactor coping with maybe-existing files in fake dsc

7 years agoDetect and reject git trees containing debian/source/local-options.
Ian Jackson [Wed, 19 Aug 2015 15:35:51 +0000 (16:35 +0100)]
Detect and reject git trees containing debian/source/local-options.

7 years agoIn dgit(7), discuss binaries and documentation present in upstream but removed by...
Ian Jackson [Tue, 18 Aug 2015 15:18:34 +0000 (16:18 +0100)]
In dgit(7), discuss binaries and documentation present in upstream but removed by rules clean.

7 years agoWhen quilt linearisation fails, print the right information in the error message...
Ian Jackson [Tue, 18 Aug 2015 15:18:09 +0000 (16:18 +0100)]
When quilt linearisation fails, print the right information in the error message.  (This has been broken forever.)

7 years agoWhen running git-add in commit-quilty-patch, use -f and sometimes -A, so as to avoid...
Ian Jackson [Tue, 18 Aug 2015 14:35:17 +0000 (15:35 +0100)]
When running git-add in commit-quilty-patch, use -f and sometimes -A, so as to avoid being broken by any .gitignore, etc.

7 years agoWhen running git-add in commit-quilty-patch, properly escape filenames (which git...
Ian Jackson [Tue, 18 Aug 2015 14:30:07 +0000 (15:30 +0100)]
When running git-add in commit-quilty-patch, properly escape filenames (which git-add treats as glob patterns).

7 years agoUnbreak --dry-run (`exiting subroutine via next', broken in ac221d67, bug released...
Ian Jackson [Tue, 18 Aug 2015 14:15:15 +0000 (15:15 +0100)]
Unbreak --dry-run (`exiting subroutine via next', broken in ac221d67, bug released in 0.22).

7 years agochangelog: start 1.4
Ian Jackson [Tue, 18 Aug 2015 14:15:06 +0000 (15:15 +0100)]
changelog: start 1.4

7 years agochangelog: finalise 1.3 debian/1.3
Ian Jackson [Sun, 16 Aug 2015 16:51:55 +0000 (17:51 +0100)]
changelog: finalise 1.3

7 years agoTest suite: Fix t-restriction-x-dgit-schroot-build not to print to stdout when it...
Ian Jackson [Sun, 16 Aug 2015 15:50:27 +0000 (16:50 +0100)]
Test suite: Fix t-restriction-x-dgit-schroot-build not to print to stdout when it succeeds

7 years agoInfrastructure: Improve an error message in dgit-repos-policy-debian.
Ian Jackson [Sun, 16 Aug 2015 15:42:07 +0000 (16:42 +0100)]
Infrastructure: Improve an error message in dgit-repos-policy-debian.

7 years agoTest suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.
Ian Jackson [Sun, 16 Aug 2015 15:01:57 +0000 (16:01 +0100)]
Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.

7 years agoTest suite: in enumerate-tests, massage multi-line whynot
Ian Jackson [Sun, 16 Aug 2015 15:01:17 +0000 (16:01 +0100)]
Test suite: in enumerate-tests, massage multi-line whynot

7 years agoPrep 1.3~~ for testing
Ian Jackson [Sun, 16 Aug 2015 14:16:00 +0000 (15:16 +0100)]
Prep 1.3~~ for testing

7 years agoProperly quote package name when constructing regexp in complete_file_from_dsc. ...
Ian Jackson [Sun, 16 Aug 2015 14:15:44 +0000 (15:15 +0100)]
Properly quote package name when constructing regexp in complete_file_from_dsc.  Closes:#795736.  Also, grep the code for likely similar problems elsewhere and improve a (harmless) instance in dgit-repos-server.

7 years agoIf a .orig in .. is a symlink, hardlink the link target into our private unpack direc...
Ian Jackson [Sun, 16 Aug 2015 12:30:01 +0000 (13:30 +0100)]
If a .orig in .. is a symlink, hardlink the link target into our private unpack directory, rather than the link itself (since latter won't work if the symlink is relative).

7 years agoIn option parser test `@ARGV' not `length @ARGV'. Closes:#795710.
Ian Jackson [Sun, 16 Aug 2015 12:04:03 +0000 (13:04 +0100)]
In option parser test `@ARGV' not `length @ARGV'.  Closes:#795710.

7 years agochangelog: start 1.3
Ian Jackson [Sun, 16 Aug 2015 12:02:49 +0000 (13:02 +0100)]
changelog: start 1.3