chiark / gitweb /
dgit.git
8 years agoIntroduce defvalopt, new approach for options taking values
Ian Jackson [Fri, 14 Aug 2015 12:31:04 +0000 (13:31 +0100)]
Introduce defvalopt, new approach for options taking values

8 years agoIn manpage move dgit.default.* to main CONFIGURATION section.
Ian Jackson [Fri, 14 Aug 2015 11:30:04 +0000 (12:30 +0100)]
In manpage move dgit.default.* to main CONFIGURATION section.

8 years agoHonour *.clean-mode configuration setting for --clean= mode.
Ian Jackson [Fri, 14 Aug 2015 17:15:26 +0000 (18:15 +0100)]
Honour *.clean-mode configuration setting for --clean= mode.

8 years agoDo defaulting for $cleanmode just before invoking main $fn->() (nfc)
Ian Jackson [Fri, 14 Aug 2015 11:13:49 +0000 (12:13 +0100)]
Do defaulting for $cleanmode just before invoking main $fn->() (nfc)

8 years agoBreak out $cleanmode_re (nfc)
Ian Jackson [Fri, 14 Aug 2015 11:14:36 +0000 (12:14 +0100)]
Break out $cleanmode_re (nfc)

8 years agoDocument that tags are in DEP-14 format, and that they are used for authenticating...
Ian Jackson [Fri, 14 Aug 2015 11:04:04 +0000 (12:04 +0100)]
Document that tags are in DEP-14 format, and that they are used for authenticating pushes.

8 years agoFix manpage typo `sourcefull'.
Ian Jackson [Fri, 14 Aug 2015 11:02:12 +0000 (12:02 +0100)]
Fix manpage typo `sourcefull'.

8 years agoCorrect manpage cross-reference to point to browse.d.d.o.
Ian Jackson [Fri, 14 Aug 2015 11:01:50 +0000 (12:01 +0100)]
Correct manpage cross-reference to point to browse.d.d.o.

8 years agoFix manpage typo `dig' for `dgit'.
Ian Jackson [Fri, 14 Aug 2015 11:01:04 +0000 (12:01 +0100)]
Fix manpage typo `dig' for `dgit'.

8 years agoStart changelog for 1.2
Ian Jackson [Mon, 27 Jul 2015 16:59:46 +0000 (17:59 +0100)]
Start changelog for 1.2

8 years agoFinalise 1.1 debian/1.1
Ian Jackson [Mon, 27 Jul 2015 15:35:03 +0000 (16:35 +0100)]
Finalise 1.1

8 years agoTest suite: build-modes tests: Use gbp-build, not git-build, in tests
Ian Jackson [Mon, 27 Jul 2015 14:29:39 +0000 (15:29 +0100)]
Test suite: build-modes tests: Use gbp-build, not git-build, in tests

8 years agoCope with new git-buildpackage which provides gbp, rather than the eponymous command...
Ian Jackson [Mon, 27 Jul 2015 14:29:15 +0000 (15:29 +0100)]
Cope with new git-buildpackage which provides gbp, rather than the eponymous command, on PATH.

8 years agoWhen invoking git-buildpackage via dgit gbp-build, consider our command line argument...
Ian Jackson [Mon, 27 Jul 2015 14:28:24 +0000 (15:28 +0100)]
When invoking git-buildpackage via dgit gbp-build, consider our command line arguments when massaging the dpkg-buildpackage arguments, so that we don't end up giving dpkg-buildpackage contradictory instructions.

8 years agoTest suite: build-modes tests: Clean the tree ourselves before each test
Ian Jackson [Mon, 27 Jul 2015 14:26:34 +0000 (15:26 +0100)]
Test suite: build-modes tests: Clean the tree ourselves before each test

8 years agoWhen exec fails, always print the program name in the error message.
Ian Jackson [Mon, 27 Jul 2015 14:26:06 +0000 (15:26 +0100)]
When exec fails, always print the program name in the error message.

8 years agoDgit.pm: Provide executable_on_path (avoids loading File::Which which is rather more...
Ian Jackson [Mon, 27 Jul 2015 14:25:12 +0000 (15:25 +0100)]
Dgit.pm: Provide executable_on_path (avoids loading File::Which which is rather more heavyweight) (no callers yet)

8 years agoOrganise debian/changelog
Ian Jackson [Mon, 27 Jul 2015 12:35:53 +0000 (13:35 +0100)]
Organise debian/changelog

8 years agofixup! Test suite: Provide tests which check that
Ian Jackson [Mon, 27 Jul 2015 12:20:15 +0000 (13:20 +0100)]
fixup! Test suite: Provide tests which check that

8 years agoRun debian/rules debian/tests/control
Ian Jackson [Mon, 27 Jul 2015 12:17:44 +0000 (13:17 +0100)]
Run debian/rules debian/tests/control

8 years agoTest suite: build-modes tests: Do extra clean mode tests with build-source
Ian Jackson [Mon, 27 Jul 2015 11:32:41 +0000 (12:32 +0100)]
Test suite: build-modes tests: Do extra clean mode tests with build-source

8 years agoTest suite: build-modes tests: Generate id rather than using counter
Ian Jackson [Mon, 27 Jul 2015 11:32:20 +0000 (12:32 +0100)]
Test suite: build-modes tests: Generate id rather than using counter

8 years agoTest suite: Provide tests which check that all our various build operations run the...
Ian Jackson [Mon, 27 Jul 2015 12:16:14 +0000 (13:16 +0100)]
Test suite: Provide tests which check that all our various build operations run the right targets as expected (ie, that we are massaging the arguments to dpkg-buildpackage, and suppressing our clean target, etc., correctly).

8 years agoTest suite: Provide "indep-arch" branch in example worktree which produces both binar...
Ian Jackson [Mon, 27 Jul 2015 12:14:49 +0000 (13:14 +0100)]
Test suite: Provide "indep-arch" branch in example worktree which produces both binary-indep and binary-arch packages

8 years agoAlso suppress spurious runs of the clean target when building using git-buildpackage.
Ian Jackson [Mon, 27 Jul 2015 11:00:38 +0000 (12:00 +0100)]
Also suppress spurious runs of the clean target when building using git-buildpackage.

8 years agoWhen we are using dpkg-buildpackage to clean before using it to also do the build...
Ian Jackson [Mon, 27 Jul 2015 02:46:32 +0000 (03:46 +0100)]
When we are using dpkg-buildpackage to clean before using it to also do the build, let it do its cleaning thing as part of its run, rather than running it twice.  When we are _not_ supposed to be using dpkg-buildpackage to clean, but we are running it to do the build, pass -nc.

8 years agoShow `dgit sbuild' in usage message.
Ian Jackson [Mon, 27 Jul 2015 11:24:05 +0000 (12:24 +0100)]
Show `dgit sbuild' in usage message.

8 years agoRename `git-build' operation to `gbp-build' to make it clearer what it's for. Keep...
Ian Jackson [Mon, 27 Jul 2015 11:04:04 +0000 (12:04 +0100)]
Rename `git-build' operation to `gbp-build' to make it clearer what it's for.  Keep the old name as an alias.

8 years agoTest suite: Mention enumerate-tests in changelog
Ian Jackson [Mon, 27 Jul 2015 11:38:13 +0000 (12:38 +0100)]
Test suite: Mention enumerate-tests in changelog

8 years agoTest suite: rename list-tests to enumerate-tests for ease of completion over tests...
Ian Jackson [Mon, 27 Jul 2015 11:37:11 +0000 (12:37 +0100)]
Test suite: rename list-tests to enumerate-tests for ease of completion over tests/lib*

8 years agoHonour --git= (mostly).
Ian Jackson [Mon, 27 Jul 2015 01:00:59 +0000 (02:00 +0100)]
Honour --git= (mostly).

8 years agoWhen key to use not specified any other way, use the debian/changelog trailer line...
Ian Jackson [Sun, 26 Jul 2015 21:53:52 +0000 (22:53 +0100)]
When key to use not specified any other way, use the debian/changelog trailer line.  Closes:#793423.

8 years agoRemove stray .gits during quilt fixup, too
Ian Jackson [Sun, 26 Jul 2015 21:24:59 +0000 (22:24 +0100)]
Remove stray .gits during quilt fixup, too

8 years agoBreak out remove_stray_gits
Ian Jackson [Sun, 26 Jul 2015 21:20:24 +0000 (22:20 +0100)]
Break out remove_stray_gits

8 years agoWork around curl -sS -I printing `HTTP/1.0 200 Connection established' before the...
Ian Jackson [Sun, 26 Jul 2015 21:10:35 +0000 (22:10 +0100)]
Work around curl -sS -I printing `HTTP/1.0 200 Connection established' before the actual header, so dgit works with https_proxy set (!)

8 years agoSet up git user.email and user.name from distro access config or DEBEMAIL/DEBFULLNAME...
Ian Jackson [Mon, 27 Jul 2015 02:51:00 +0000 (03:51 +0100)]
Set up git user.email and user.name from distro access config or DEBEMAIL/DEBFULLNAME.  Closes:#793410.

8 years agoProvide dgit setup-new-tree (like dpkg-setup-mergechangelogs but only does it if...
Ian Jackson [Sun, 26 Jul 2015 20:41:49 +0000 (21:41 +0100)]
Provide dgit setup-new-tree (like dpkg-setup-mergechangelogs but only does it if not disabled in config).

8 years agoMake configuration able to prevent dpkg-mergechangelogs setup.
Ian Jackson [Sun, 26 Jul 2015 20:37:43 +0000 (21:37 +0100)]
Make configuration able to prevent dpkg-mergechangelogs setup.

8 years agoProvide access_cfg_bool (no call sites yet)
Ian Jackson [Sun, 26 Jul 2015 20:35:15 +0000 (21:35 +0100)]
Provide access_cfg_bool (no call sites yet)

8 years agoFix a debug message in the obsolete sshpsql archive access driver.
Ian Jackson [Sun, 26 Jul 2015 20:33:48 +0000 (21:33 +0100)]
Fix a debug message in the obsolete sshpsql archive access driver.

8 years agoWith -DDDD, print out all gitcfg references (copious!)
Ian Jackson [Sun, 26 Jul 2015 20:32:32 +0000 (21:32 +0100)]
With -DDDD, print out all gitcfg references (copious!)

8 years agoSlurp in entire git config, for better performance.
Ian Jackson [Sun, 26 Jul 2015 20:05:46 +0000 (21:05 +0100)]
Slurp in entire git config, for better performance.

8 years agoOption parsing: Redo .opts-CMD parsing to use insertpos
Ian Jackson [Sun, 26 Jul 2015 19:32:40 +0000 (20:32 +0100)]
Option parsing: Redo .opts-CMD parsing to use insertpos

8 years agoHonour dgit-distros.DISTRO.cmd-CMD and .opts-CMD. Closes:#793427.
Ian Jackson [Sun, 26 Jul 2015 18:50:29 +0000 (19:50 +0100)]
Honour dgit-distros.DISTRO.cmd-CMD and .opts-CMD.  Closes:#793427.

8 years agoConfiguration: Break out access_cfg_cfgs
Ian Jackson [Sun, 26 Jul 2015 18:49:19 +0000 (19:49 +0100)]
Configuration: Break out access_cfg_cfgs

8 years agoOption parsing: Defer addition of cmdline opts so that we can put config ones in...
Ian Jackson [Sun, 26 Jul 2015 17:04:45 +0000 (18:04 +0100)]
Option parsing: Defer addition of cmdline opts so that we can put config ones in between

No functional change yet.

8 years agoOption parsing: Do not permit --blah="" (which won't work anyway)
Ian Jackson [Sun, 26 Jul 2015 16:55:48 +0000 (17:55 +0100)]
Option parsing: Do not permit --blah="" (which won't work anyway)

8 years agoPrint a supplementary message when push fails, giving advice to the user about how...
Ian Jackson [Sun, 26 Jul 2015 16:42:08 +0000 (17:42 +0100)]
Print a supplementary message when push fails, giving advice to the user about how to retry.  Closes:#793144.

8 years agorpush: Support empty files in protocol_read_bytes
Ian Jackson [Sun, 26 Jul 2015 18:48:55 +0000 (19:48 +0100)]
rpush: Support empty files in protocol_read_bytes

8 years agorpush: Introduce more sophisticated protocol negotiation.
Ian Jackson [Thu, 23 Jul 2015 23:30:38 +0000 (00:30 +0100)]
rpush: Introduce more sophisticated protocol negotiation.

8 years agoTest suite: Honour DGIT_TEST_DEBUG=''.
Ian Jackson [Sun, 26 Jul 2015 16:30:54 +0000 (17:30 +0100)]
Test suite: Honour DGIT_TEST_DEBUG=''.

8 years agoCosmetic code improvement
Ian Jackson [Sun, 26 Jul 2015 18:50:49 +0000 (19:50 +0100)]
Cosmetic code improvement

8 years agoDo not quote `:' in shellquote.
Ian Jackson [Sun, 26 Jul 2015 18:38:37 +0000 (19:38 +0100)]
Do not quote `:' in shellquote.

8 years agochangelog: Add ~~
Ian Jackson [Sun, 26 Jul 2015 15:53:44 +0000 (16:53 +0100)]
changelog: Add ~~

8 years agoWhen source package contains things called .git (even files, and even in subdirectori...
Ian Jackson [Sun, 26 Jul 2015 14:21:04 +0000 (15:21 +0100)]
When source package contains things called .git (even files, and even in subdirectories), remove them.  Closes:#793671.

8 years agoDgit.pm: Provide messagequote
Ian Jackson [Sun, 26 Jul 2015 14:19:20 +0000 (15:19 +0100)]
Dgit.pm: Provide messagequote

8 years agoTest suite: Honour t-dependencies, so rsync only installed for mirror tests
Ian Jackson [Sat, 25 Jul 2015 18:04:03 +0000 (19:04 +0100)]
Test suite: Honour t-dependencies, so rsync only installed for mirror tests

8 years agoTest suite: Support t-dependencies (for gencontrol, not for tests/run-all)
Ian Jackson [Sat, 25 Jul 2015 18:02:50 +0000 (19:02 +0100)]
Test suite: Support t-dependencies (for gencontrol, not for tests/run-all)

8 years agoTest suite: list-tests: Break out seddery()
Ian Jackson [Sat, 25 Jul 2015 17:53:32 +0000 (18:53 +0100)]
Test suite: list-tests: Break out seddery()

8 years agoTest suite: Check that test suite list in debian/tests/control is up to date
Ian Jackson [Sat, 25 Jul 2015 17:26:29 +0000 (18:26 +0100)]
Test suite: Check that test suite list in debian/tests/control is up to date

8 years agoTest suite: Update debian/tests/control
Ian Jackson [Sat, 25 Jul 2015 17:21:40 +0000 (18:21 +0100)]
Test suite: Update debian/tests/control

8 years agoTest suite: Provide rules target for list-tests gencontrol
Ian Jackson [Sat, 25 Jul 2015 17:21:28 +0000 (18:21 +0100)]
Test suite: Provide rules target for list-tests gencontrol

8 years agoTest suite: Implement list-tests gencontrol
Ian Jackson [Sat, 25 Jul 2015 17:17:55 +0000 (18:17 +0100)]
Test suite: Implement list-tests gencontrol

8 years agoTest suite: Introduce tests/list-tests
Ian Jackson [Sat, 25 Jul 2015 16:36:18 +0000 (17:36 +0100)]
Test suite: Introduce tests/list-tests

8 years agoMake warnings fatal in tstunt/dpkg-parsechangelog (directly).
Ian Jackson [Sat, 25 Jul 2015 15:33:25 +0000 (16:33 +0100)]
Make warnings fatal in tstunt/dpkg-parsechangelog (directly).

8 years agoMake warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch (using setup_sigwarn).
Ian Jackson [Sat, 25 Jul 2015 15:33:08 +0000 (16:33 +0100)]
Make warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch (using setup_sigwarn).

8 years agoWork around #793471 (madness with $SIG{__WARN__} and Perl's system builtin): move...
Ian Jackson [Sat, 25 Jul 2015 15:30:09 +0000 (16:30 +0100)]
Work around #793471 (madness with $SIG{__WARN__} and Perl's system builtin): move $SIG{} setting into setup_sigwarn in Dgit.pm, and check getppid.

We also need to fix up the expectation for an error message in one of
the tests, where the message changes as a side effect.

8 years agoAdd mirror-debnewgit to DEP-8 test list
Ian Jackson [Tue, 21 Jul 2015 17:57:59 +0000 (18:57 +0100)]
Add mirror-debnewgit to DEP-8 test list

8 years ago--new is needed for read access to packages in NEW, too. Document this, and make...
Ian Jackson [Tue, 21 Jul 2015 17:57:08 +0000 (18:57 +0100)]
--new is needed for read access to packages in NEW, too.  Document this, and make it work properly.

8 years agoInfrastructure: Get mirroring right for fresh repos of existing packages (!)
Ian Jackson [Tue, 21 Jul 2015 17:47:54 +0000 (18:47 +0100)]
Infrastructure: Get mirroring right for fresh repos of existing packages (!)

8 years agodgit-repos-policy-debian: Break out vsn_in_our_history (nfc)
Ian Jackson [Tue, 21 Jul 2015 17:43:55 +0000 (18:43 +0100)]
dgit-repos-policy-debian: Break out vsn_in_our_history (nfc)

8 years agoMirroring fix: Add test case
Ian Jackson [Tue, 21 Jul 2015 16:33:30 +0000 (17:33 +0100)]
Mirroring fix: Add test case

8 years agodgit(7): No longer say that dgit-repos lives on Alioth.
Ian Jackson [Tue, 21 Jul 2015 13:46:06 +0000 (14:46 +0100)]
dgit(7): No longer say that dgit-repos lives on Alioth.

8 years agodgit.1: Fix typos
Richard Hartmann [Tue, 21 Jul 2015 13:14:17 +0000 (14:14 +0100)]
dgit.1: Fix typos

8 years agoManpage: Better cross-references for -k and keyid.
Ian Jackson [Mon, 20 Jul 2015 12:41:27 +0000 (13:41 +0100)]
Manpage: Better cross-references for -k and keyid.

8 years agoManpage: Clarify wording of readonly config.
Ian Jackson [Mon, 20 Jul 2015 12:38:12 +0000 (13:38 +0100)]
Manpage: Clarify wording of readonly config.

8 years agoRemove stray sentence in config section of manpage.
Ian Jackson [Mon, 20 Jul 2015 12:37:03 +0000 (13:37 +0100)]
Remove stray sentence in config section of manpage.

8 years agoIn discussion on how to start using dgit when already using git, do not imply/assume...
Ian Jackson [Mon, 20 Jul 2015 12:35:47 +0000 (13:35 +0100)]
In discussion on how to start using dgit when already using git, do not imply/assume that existing git history will have identical trees to dgit history.

8 years agoQualify to Debian the manpage comment about how to do NMU.
Ian Jackson [Mon, 20 Jul 2015 12:35:01 +0000 (13:35 +0100)]
Qualify to Debian the manpage comment about how to do NMU.

8 years agoIn manpage, do not seem to imply that NMU should be of only one new commit.
Ian Jackson [Mon, 20 Jul 2015 12:34:30 +0000 (13:34 +0100)]
In manpage, do not seem to imply that NMU should be of only one new commit.

8 years agoFix a formatting problem in --build-products-dir= doc.
Ian Jackson [Mon, 20 Jul 2015 12:22:32 +0000 (13:22 +0100)]
Fix a formatting problem in --build-products-dir= doc.

8 years agoDocument that --quilt=linear is the default for Debian.
Ian Jackson [Mon, 20 Jul 2015 12:22:09 +0000 (13:22 +0100)]
Document that --quilt=linear is the default for Debian.

8 years agoImprove manpage comment about defining a new distro.
Ian Jackson [Mon, 20 Jul 2015 12:19:18 +0000 (13:19 +0100)]
Improve manpage comment about defining a new distro.

8 years agoDocument that -cname=value applies only for this run.
Ian Jackson [Mon, 20 Jul 2015 12:12:02 +0000 (13:12 +0100)]
Document that -cname=value applies only for this run.

8 years agoDocument that up to -DDD (not just -DD) is meaningfully different.
Ian Jackson [Mon, 20 Jul 2015 12:09:31 +0000 (13:09 +0100)]
Document that up to -DDD (not just -DD) is meaningfully different.

8 years agoManpage said that --clean=check was -wn but that is --clean=none; correctly document...
Ian Jackson [Mon, 20 Jul 2015 12:04:57 +0000 (13:04 +0100)]
Manpage said that --clean=check was -wn but that is --clean=none; correctly document that --clean=check is actually -wc.

8 years agoFix a manpage typo.
Ian Jackson [Mon, 20 Jul 2015 11:57:20 +0000 (12:57 +0100)]
Fix a manpage typo.

8 years agoFix Vcs-Git and Vcs-Browse to refer to chiark.
Ian Jackson [Sun, 19 Jul 2015 21:45:48 +0000 (22:45 +0100)]
Fix Vcs-Git and Vcs-Browse to refer to chiark.

The dgit-repos on alioth aren't suitable right now because the master
there can currently only be updated with an actual upload, ie dgit
push.

8 years agoFinalise changelog for 1.0 debian/1.0
Ian Jackson [Sun, 19 Jul 2015 21:16:13 +0000 (22:16 +0100)]
Finalise changelog for 1.0

8 years agoTest suite: Use t-make-hook-link for mirroring
Ian Jackson [Sun, 19 Jul 2015 20:39:16 +0000 (21:39 +0100)]
Test suite: Use t-make-hook-link for mirroring

Otherwise the installed-package tests fail because the link points
nowhere

8 years agoTest suite: Break out t-make-hook-link.
Ian Jackson [Sun, 19 Jul 2015 20:39:04 +0000 (21:39 +0100)]
Test suite: Break out t-make-hook-link.

8 years agoFix a manpage typo.
Ian Jackson [Sun, 19 Jul 2015 20:28:38 +0000 (21:28 +0100)]
Fix a manpage typo.

8 years agoImprove an error message from dgit-repos-policy-debian.
Ian Jackson [Sun, 19 Jul 2015 19:55:33 +0000 (20:55 +0100)]
Improve an error message from dgit-repos-policy-debian.

8 years agoAdd rsync to test depends
Ian Jackson [Sun, 19 Jul 2015 19:54:29 +0000 (20:54 +0100)]
Add rsync to test depends

8 years agoTest suite: Add mirror tests to DEP-8 control
Ian Jackson [Sun, 19 Jul 2015 18:41:08 +0000 (19:41 +0100)]
Test suite: Add mirror tests to DEP-8 control

8 years agoPrettify changelog
Ian Jackson [Sun, 19 Jul 2015 16:10:44 +0000 (17:10 +0100)]
Prettify changelog

8 years agoRemove obselete comment about DMs not being able to push.
Ian Jackson [Sun, 19 Jul 2015 15:58:18 +0000 (16:58 +0100)]
Remove obselete comment about DMs not being able to push.

8 years agodgit(1): Reorganise and complete the configuration section.
Ian Jackson [Sun, 19 Jul 2015 15:27:19 +0000 (16:27 +0100)]
dgit(1): Reorganise and complete the configuration section.

8 years agoMake readonly vs push configurable
Ian Jackson [Sun, 19 Jul 2015 14:50:57 +0000 (15:50 +0100)]
Make readonly vs push configurable

8 years agoRename $access_pushing to $access_forpush and read it via a function (nfc)
Ian Jackson [Sun, 19 Jul 2015 14:38:29 +0000 (15:38 +0100)]
Rename $access_pushing to $access_forpush and read it via a function (nfc)