chiark / gitweb /
dgit.git
9 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)

9 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()

9 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

9 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

9 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

9 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

9 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

9 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).

9 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).

9 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.

9 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

9 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.

9 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 (!)

9 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)

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

9 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.

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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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

10 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

10 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.

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

10 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.

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

10 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

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

10 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.

10 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.

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

10 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)

10 years agoAllow git-url to be '' to force fallback to git-proto etc.
Ian Jackson [Sat, 18 Jul 2015 17:51:07 +0000 (18:51 +0100)]
Allow git-url to be '' to force fallback to git-proto etc.

10 years agoTalk to push.dgit.debian.org, rather than the .debian.net alias.
Ian Jackson [Sat, 18 Jul 2015 17:35:54 +0000 (18:35 +0100)]
Talk to push.dgit.debian.org, rather than the .debian.net alias.

10 years agoRemove configuration relating to alioth.
Ian Jackson [Sat, 18 Jul 2015 17:35:01 +0000 (18:35 +0100)]
Remove configuration relating to alioth.

10 years agoRemove an obsolete comment.
Ian Jackson [Sat, 18 Jul 2015 15:03:05 +0000 (16:03 +0100)]
Remove an obsolete comment.

10 years agoSwitch to new production git repositories for reading. (this can no longer divert...
Ian Jackson [Sat, 18 Jul 2015 15:02:28 +0000 (16:02 +0100)]
Switch to new production git repositories for reading. (this can no longer divert to alioth).

10 years agoProvide for checking git presence via http[s].
Ian Jackson [Sat, 18 Jul 2015 14:59:06 +0000 (15:59 +0100)]
Provide for checking git presence via http[s].

10 years agoDo some quoting on debug output (needed if the server might not be trustworthy and...
Ian Jackson [Sat, 18 Jul 2015 14:57:28 +0000 (15:57 +0100)]
Do some quoting on debug output (needed if the server might not be trustworthy and might send us bad stuff).

10 years agoProvide for configurable git url suffix.
Ian Jackson [Sat, 18 Jul 2015 14:08:50 +0000 (15:08 +0100)]
Provide for configurable git url suffix.

10 years agoProvide for different access mechanisms when pushing.
Ian Jackson [Sat, 18 Jul 2015 13:42:01 +0000 (14:42 +0100)]
Provide for different access mechanisms when pushing.

10 years agoTest suite: mirror: Synchronise properly with drs background mirror
Ian Jackson [Sun, 19 Jul 2015 17:52:30 +0000 (18:52 +0100)]
Test suite: mirror: Synchronise properly with drs background mirror

10 years agoMemoise git config lookups (big speedup!)
Ian Jackson [Tue, 14 Jul 2015 19:23:11 +0000 (20:23 +0100)]
Memoise git config lookups (big speedup!)

10 years agoProvide -wc aka --clean=check.
Ian Jackson [Sat, 18 Jul 2015 13:19:47 +0000 (14:19 +0100)]
Provide -wc aka --clean=check.

10 years agoProvide -wdd aka --clean=dpkg-source-d. Closes:#792433.
Ian Jackson [Sat, 18 Jul 2015 13:14:37 +0000 (14:14 +0100)]
Provide -wdd aka --clean=dpkg-source-d.  Closes:#792433.

10 years agodgit(1); Mention that -wgf can avoid need for build-deps.
Ian Jackson [Sat, 18 Jul 2015 13:09:37 +0000 (14:09 +0100)]
dgit(1); Mention that -wgf can avoid need for build-deps.

10 years agoMake dgit-ssh-dispatch not spew (harmless) warnings if caller tries for a shell sessi...
Ian Jackson [Sat, 18 Jul 2015 17:32:49 +0000 (18:32 +0100)]
Make dgit-ssh-dispatch not spew (harmless) warnings if caller tries for a shell session (ie SSH_ORIGINAL_COMMAND not set).

10 years agoProvide cgit-regen-config command for cgi-grnet-01.
Ian Jackson [Sat, 18 Jul 2015 15:53:26 +0000 (16:53 +0100)]
Provide cgit-regen-config command for cgi-grnet-01.

10 years agoMirroring: Remove pointless empty .log files
Ian Jackson [Sat, 11 Jul 2015 18:14:03 +0000 (19:14 +0100)]
Mirroring: Remove pointless empty .log files

10 years agoMirroring: Honour DGIT_DRS_DEBUG=0
Ian Jackson [Sat, 11 Jul 2015 18:13:36 +0000 (19:13 +0100)]
Mirroring: Honour DGIT_DRS_DEBUG=0

10 years agoMirroring: In backlog processing, tolerate errors
Ian Jackson [Sat, 11 Jul 2015 16:49:01 +0000 (17:49 +0100)]
Mirroring: In backlog processing, tolerate errors

10 years agoMirroring: Avoid breaking out of loop due to exec
Ian Jackson [Sat, 11 Jul 2015 16:45:05 +0000 (17:45 +0100)]
Mirroring: Avoid breaking out of loop due to exec

10 years agoMirroring: Sort out stderr plumbing
Ian Jackson [Sat, 11 Jul 2015 16:40:26 +0000 (17:40 +0100)]
Mirroring: Sort out stderr plumbing

10 years agoMirroring: Tolerate missing .a file when tidying mirror
Ian Jackson [Sat, 11 Jul 2015 16:39:43 +0000 (17:39 +0100)]
Mirroring: Tolerate missing .a file when tidying mirror

10 years agoMirroring: dgit-mirror-rsync copes with invocation via relative pathname
Ian Jackson [Sat, 11 Jul 2015 16:36:34 +0000 (17:36 +0100)]
Mirroring: dgit-mirror-rsync copes with invocation via relative pathname

10 years agoMirroring: Check number of arguments to dgit-mirror-rsync
Ian Jackson [Sat, 11 Jul 2015 15:49:59 +0000 (16:49 +0100)]
Mirroring: Check number of arguments to dgit-mirror-rsync

10 years agoDocumentation: dgit(1): Remove some obsolete caveats from BUGS.
Ian Jackson [Sat, 11 Jul 2015 13:30:27 +0000 (14:30 +0100)]
Documentation: dgit(1): Remove some obsolete caveats from BUGS.

10 years agoMirroring: Mention in changelog
Ian Jackson [Sat, 11 Jul 2015 13:26:08 +0000 (14:26 +0100)]
Mirroring: Mention in changelog

10 years agoMirroring: Tests: check that we do not mirror private repos
Ian Jackson [Sat, 11 Jul 2015 13:17:06 +0000 (14:17 +0100)]
Mirroring: Tests: check that we do not mirror private repos

10 years agoMirroring: Tests: Break out various functions (nfc overall)
Ian Jackson [Sat, 11 Jul 2015 12:57:59 +0000 (13:57 +0100)]
Mirroring: Tests: Break out various functions (nfc overall)

10 years agoMirroring: Tests: search for expected messages
Ian Jackson [Sat, 11 Jul 2015 12:42:21 +0000 (13:42 +0100)]
Mirroring: Tests: search for expected messages

10 years agoMirroring: Tests: Run some tests
Ian Jackson [Fri, 10 Jul 2015 23:28:17 +0000 (00:28 +0100)]
Mirroring: Tests: Run some tests

10 years agoMirroring: Provide rsync-based mirror hook script
Ian Jackson [Fri, 10 Jul 2015 17:58:28 +0000 (18:58 +0100)]
Mirroring: Provide rsync-based mirror hook script

10 years agoMirroring: Run mirror hook script, if one is provided
Ian Jackson [Wed, 8 Jul 2015 17:21:38 +0000 (18:21 +0100)]
Mirroring: Run mirror hook script, if one is provided

10 years agoTest suite: Provide t-files-notexist
Ian Jackson [Sat, 11 Jul 2015 12:33:55 +0000 (13:33 +0100)]
Test suite: Provide t-files-notexist

10 years agoTest suite: Make t-reporefs take optional repo argument
Ian Jackson [Sat, 11 Jul 2015 00:13:59 +0000 (01:13 +0100)]
Test suite: Make t-reporefs take optional repo argument

10 years agoTest suite: Break out t-grep-mpat (nfc)
Ian Jackson [Sat, 11 Jul 2015 12:41:57 +0000 (13:41 +0100)]
Test suite: Break out t-grep-mpat (nfc)

10 years agoTest suite: Move setting of grepper in t-expect-fail (nfc)
Ian Jackson [Sat, 11 Jul 2015 12:40:00 +0000 (13:40 +0100)]
Test suite: Move setting of grepper in t-expect-fail (nfc)

10 years agoTest suite: Replace open-coded $tmp/git/$p.git
Ian Jackson [Fri, 10 Jul 2015 23:35:28 +0000 (00:35 +0100)]
Test suite: Replace open-coded $tmp/git/$p.git

10 years agoTest suite: Replace assignments to p with t-select-package
Ian Jackson [Fri, 10 Jul 2015 23:32:10 +0000 (00:32 +0100)]
Test suite: Replace assignments to p with t-select-package

10 years agoFinalise 0.30, really debian/0.30
Ian Jackson [Sun, 5 Jul 2015 00:35:05 +0000 (01:35 +0100)]
Finalise 0.30, really

10 years agoProvide --clean=git-ff (aka -wgf), which is useful for dgit itself (!)
Ian Jackson [Sun, 5 Jul 2015 00:34:08 +0000 (01:34 +0100)]
Provide --clean=git-ff (aka -wgf), which is useful for dgit itself (!)

10 years agoFix the rules clean target to remove test results and output.
Ian Jackson [Sun, 5 Jul 2015 00:30:57 +0000 (01:30 +0100)]
Fix the rules clean target to remove test results and output.

10 years agoTidy changelog and finalise for 0.30
Ian Jackson [Sun, 5 Jul 2015 00:07:13 +0000 (01:07 +0100)]
Tidy changelog and finalise for 0.30

10 years agodgit: Do not verify the tag with git tag -v as well as git verify-tag, ie suppress...
Ian Jackson [Sat, 4 Jul 2015 23:06:29 +0000 (00:06 +0100)]
dgit: Do not verify the tag with git tag -v as well as git verify-tag, ie suppress some noise output.

10 years agoError messages: Add some newlines to make the real error clearer in a lot of noise
Ian Jackson [Sat, 4 Jul 2015 23:00:04 +0000 (00:00 +0100)]
Error messages: Add some newlines to make the real error clearer in a lot of noise

10 years agodgit: Debian config: Provide git-create
Ian Jackson [Sat, 4 Jul 2015 22:58:25 +0000 (23:58 +0100)]
dgit: Debian config: Provide git-create

Since we have git-check (for the benefit of the divert to alioth), we
need git-create.  It doesn't need to do anything because
dgit-repos-server will do it.

10 years agodgit: sbuild: Fix typo which broke dgit sbuild
Ian Jackson [Sat, 4 Jul 2015 22:17:23 +0000 (23:17 +0100)]
dgit: sbuild: Fix typo which broke dgit sbuild

10 years agoTest suite: Fix drs-push-masterupdate to refer to correct branch (brokenness detected...
Ian Jackson [Sat, 4 Jul 2015 22:10:32 +0000 (23:10 +0100)]
Test suite: Fix drs-push-masterupdate to refer to correct branch (brokenness detected only on current sid)

10 years agodgit: Rationalise some messages
Ian Jackson [Sat, 4 Jul 2015 22:10:09 +0000 (23:10 +0100)]
dgit: Rationalise some messages

10 years agoTest suite: Add a couple more to the DEP-8 set
Ian Jackson [Sat, 4 Jul 2015 21:55:59 +0000 (22:55 +0100)]
Test suite: Add a couple more to the DEP-8 set

10 years agoTest suite: Use "dgit setup-mergechangelogs" and abolish t-prep-mergechangelogs
Ian Jackson [Sat, 4 Jul 2015 21:11:09 +0000 (22:11 +0100)]
Test suite: Use "dgit setup-mergechangelogs" and abolish t-prep-mergechangelogs

10 years agodgit: Provide "dgit setup-mergechangelogs" operation
Ian Jackson [Sat, 4 Jul 2015 21:10:40 +0000 (22:10 +0100)]
dgit: Provide "dgit setup-mergechangelogs" operation

10 years agodgit: Set up a merge driver for debian/changelog. Closes:#769291.
Ian Jackson [Sat, 4 Jul 2015 21:01:39 +0000 (22:01 +0100)]
dgit: Set up a merge driver for debian/changelog.  Closes:#769291.

10 years agodgit: Break out set_local_git_config (nfc)
Ian Jackson [Sat, 4 Jul 2015 20:49:57 +0000 (21:49 +0100)]
dgit: Break out set_local_git_config (nfc)

10 years agoTest suite: Check that master is not updated non-ff
Ian Jackson [Sat, 4 Jul 2015 20:36:17 +0000 (21:36 +0100)]
Test suite: Check that master is not updated non-ff

10 years agoTest suite: In drs tests, check that master gets updated
Ian Jackson [Sat, 4 Jul 2015 19:53:11 +0000 (20:53 +0100)]
Test suite: In drs tests, check that master gets updated

10 years agoWhen receiving a push with dgit-repos-server, update the server's refs/heads/master...
Ian Jackson [Sat, 4 Jul 2015 19:52:42 +0000 (20:52 +0100)]
When receiving a push with dgit-repos-server, update the server's refs/heads/master if we are pushing to what the distro regards as a relevant branch, and the push would ff   Closes:#728209.

10 years agoTest suite: Check tag updates work properly
Ian Jackson [Sat, 4 Jul 2015 18:03:44 +0000 (19:03 +0100)]
Test suite: Check tag updates work properly