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

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

4 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

4 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!)

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

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

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

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

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

4 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

4 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

4 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

4 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

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

4 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

4 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

4 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

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

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

4 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

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

4 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

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

4 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

4 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

4 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

4 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

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

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

4 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

4 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

4 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

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

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

4 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

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

4 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

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

4 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

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

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

4 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

4 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

4 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

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

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

4 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

4 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

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

4 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

4 years agodgit: Be more careful about tag updates during fetch: only update tags referring...
Ian Jackson [Sat, 4 Jul 2015 18:19:40 +0000 (19:19 +0100)]
dgit: Be more careful about tag updates during fetch: only update tags referring to uploads to distro we are trying to fetch from.

4 years agoTest suite: Provide t-ref-same-exact
Ian Jackson [Sat, 4 Jul 2015 18:03:13 +0000 (19:03 +0100)]
Test suite: Provide t-ref-same-exact

4 years agodgit: Use $csuite not $isuite for lrfetchrefs
Ian Jackson [Sat, 4 Jul 2015 18:02:58 +0000 (19:02 +0100)]
dgit: Use $csuite not $isuite for lrfetchrefs

4 years agodgit: Always canonicalise suite rather earlier
Ian Jackson [Sat, 4 Jul 2015 19:41:37 +0000 (20:41 +0100)]
dgit: Always canonicalise suite rather earlier

4 years agoTest suite: Call pwd in t-dgit
Ian Jackson [Sat, 4 Jul 2015 19:41:54 +0000 (20:41 +0100)]
Test suite: Call pwd in t-dgit

4 years agoTest suite: Add clone-gitnosuite
Ian Jackson [Sat, 4 Jul 2015 17:16:55 +0000 (18:16 +0100)]
Test suite: Add clone-gitnosuite

4 years agoFor non-Debian distros, debiantag() uses distro name a la DEP-14.
Ian Jackson [Sat, 4 Jul 2015 17:06:29 +0000 (18:06 +0100)]
For non-Debian distros, debiantag() uses distro name a la DEP-14.

4 years agoChange realpath dependency to `coreutils (>= 8.23-1~) | realpath' (Closes:#786955.)
Ian Jackson [Sat, 4 Jul 2015 14:10:10 +0000 (15:10 +0100)]
Change realpath dependency to `coreutils (>= 8.23-1~) | realpath' (Closes:#786955.)

4 years agoTest suite: For DEP-8, run all tests except dsd-clone-drs
Ian Jackson [Wed, 1 Jul 2015 21:02:51 +0000 (22:02 +0100)]
Test suite: For DEP-8, run all tests except dsd-clone-drs

4 years agoManpages: clarify usual workflow
Ian Jackson [Wed, 1 Jul 2015 20:43:41 +0000 (21:43 +0100)]
Manpages: clarify usual workflow

4 years agoManpages: Improve formatting of alternative options, etc.
Ian Jackson [Wed, 1 Jul 2015 20:04:18 +0000 (21:04 +0100)]
Manpages: Improve formatting of alternative options, etc.

4 years agoManpages: Other clarifications and improvements.
Ian Jackson [Wed, 1 Jul 2015 17:33:25 +0000 (18:33 +0100)]
Manpages: Other clarifications and improvements.

4 years agoManpages: Break out dgit(7) from dgit(1).
Ian Jackson [Wed, 1 Jul 2015 17:12:54 +0000 (18:12 +0100)]
Manpages: Break out dgit(7) from dgit(1).

4 years ago--clean=git and --clean=none cause dgit to pass -nc to dpkg-buildpackage, suppressing...
Ian Jackson [Tue, 30 Jun 2015 20:25:38 +0000 (21:25 +0100)]
--clean=git and --clean=none cause dgit to pass -nc to dpkg-buildpackage, suppressing calls to the package's clean target. Also, expand the documentation in this area slightly.  Closes:#768590.

4 years agoTest suite: Fix t-refs-notexist
Ian Jackson [Sat, 4 Jul 2015 18:15:26 +0000 (19:15 +0100)]
Test suite: Fix t-refs-notexist

4 years agoDocument that dgit repos are cloneable with git, in dgit(1) section MODEL. [Andreas...
Ian Jackson [Tue, 30 Jun 2015 20:10:30 +0000 (21:10 +0100)]
Document that dgit repos are cloneable with git, in dgit(1) section MODEL.  [Andreas Barth.]  Closes:#768470.

4 years agoProvide example workflow for dgit rpush. Closes:#763334.
Ian Jackson [Tue, 30 Jun 2015 20:02:38 +0000 (21:02 +0100)]
Provide example workflow for dgit rpush.  Closes:#763334.

4 years agoDetect and bomb out on vendor-specific `3.0 (quilt)' patch series.
Ian Jackson [Mon, 29 Jun 2015 01:46:24 +0000 (02:46 +0100)]
Detect and bomb out on vendor-specific `3.0 (quilt)' patch series.

4 years agoTests: Allow t-commit caller to specify whole version
Ian Jackson [Mon, 29 Jun 2015 01:45:21 +0000 (02:45 +0100)]
Tests: Allow t-commit caller to specify whole version

4 years agoQuilt linearisation with .pc removal passes -f to git-rm. (Otherwise we may find...
Ian Jackson [Mon, 29 Jun 2015 01:10:23 +0000 (02:10 +0100)]
Quilt linearisation with .pc removal passes -f to git-rm.  (Otherwise we may find that .pc/applied_patches prevents the commit.)

4 years agoFix an undef reference in error message processing when quilt fixup linearisation...
Ian Jackson [Mon, 29 Jun 2015 01:02:26 +0000 (02:02 +0100)]
Fix an undef reference in error message processing when quilt fixup linearisation fails.

4 years agoInfra: Add get-suites
Ian Jackson [Sun, 28 Jun 2015 22:54:13 +0000 (23:54 +0100)]
Infra: Add get-suites

4 years agoInfra: get-dm-txt: set umask
Ian Jackson [Sun, 28 Jun 2015 22:26:37 +0000 (23:26 +0100)]
Infra: get-dm-txt: set umask

4 years agoInfra: dgit-repos-server: unlock _template
Ian Jackson [Sun, 28 Jun 2015 22:22:52 +0000 (23:22 +0100)]
Infra: dgit-repos-server: unlock _template

4 years agofixup! Infra: Honour archive-query
Ian Jackson [Sun, 28 Jun 2015 22:18:22 +0000 (23:18 +0100)]
fixup! Infra: Honour archive-query

4 years agoInfra: Add drs-cron-wrap
Ian Jackson [Sun, 28 Jun 2015 22:10:06 +0000 (23:10 +0100)]
Infra: Add drs-cron-wrap

4 years agoInfra: get-dm-txt: Report if git-config fails
Ian Jackson [Sun, 28 Jun 2015 22:07:41 +0000 (23:07 +0100)]
Infra: get-dm-txt: Report if git-config fails

4 years agoInfra: ssh-wrap: set umask
Ian Jackson [Sun, 28 Jun 2015 22:07:31 +0000 (23:07 +0100)]
Infra: ssh-wrap: set umask

4 years agoTLS keys: Use ca-certificates on end user machines, introducing bug #790093 :-(
Ian Jackson [Sun, 28 Jun 2015 15:04:13 +0000 (16:04 +0100)]
TLS keys: Use ca-certificates on end user machines, introducing bug #790093 :-(

4 years agoInfra: Honour archive-query-tls-curl-ca-args
Ian Jackson [Sun, 28 Jun 2015 15:03:47 +0000 (16:03 +0100)]
Infra: Honour archive-query-tls-curl-ca-args

4 years agoTLS keys: Cope if archive-query-tls-key unset
Ian Jackson [Sun, 28 Jun 2015 15:00:07 +0000 (16:00 +0100)]
TLS keys: Cope if archive-query-tls-key unset

4 years agoInfra: get-dm-txt: Use curl
Ian Jackson [Sun, 28 Jun 2015 14:55:48 +0000 (15:55 +0100)]
Infra: get-dm-txt: Use curl

4 years agoInfra: get-dm-txt: Honour DGIT_INFRA_GETDMTXT_DATADIR for testing
Ian Jackson [Sun, 28 Jun 2015 14:54:31 +0000 (15:54 +0100)]
Infra: get-dm-txt: Honour DGIT_INFRA_GETDMTXT_DATADIR for testing

4 years agoInfra: get-dm-txt: Break out $certargs
Ian Jackson [Fri, 26 Jun 2015 23:46:57 +0000 (00:46 +0100)]
Infra: get-dm-txt: Break out $certargs

4 years agoarchive-api-query: Use correct arguments for curl
Ian Jackson [Fri, 26 Jun 2015 22:56:43 +0000 (23:56 +0100)]
archive-api-query: Use correct arguments for curl

4 years agoInfra: ssh-wrap: Use master dgit-live for dispatch
Ian Jackson [Fri, 26 Jun 2015 22:51:21 +0000 (23:51 +0100)]
Infra: ssh-wrap: Use master dgit-live for dispatch

4 years agoInfra: ssh-wrap: export PERLLIB
Ian Jackson [Fri, 26 Jun 2015 22:49:30 +0000 (23:49 +0100)]
Infra: ssh-wrap: export PERLLIB

4 years agoInfra: Improve db retry handling
Ian Jackson [Tue, 23 Jun 2015 12:26:43 +0000 (13:26 +0100)]
Infra: Improve db retry handling

Use theh new poldb_setup hook to (a) set up HandleError and (b) run
the DGIT_RPD_TEST_DBLOOP_HOOK.

This is needed because the PRAGMA in poldb_setup can cause a
SQLITE_BUSY error in newer sqlite3, and we want both the HandleError
setup and the hook (which sets a timeout, amongst other things) to
occur before sqlite3 tries to take its lock.

4 years agoDgit.pm: poldb_setup: Provide hook function
Ian Jackson [Tue, 23 Jun 2015 12:25:22 +0000 (13:25 +0100)]
Dgit.pm: poldb_setup: Provide hook function

No users yet, so nfc.

4 years agoTest suite: Make dsd-clone-drs test a no-op in installed package mode
Ian Jackson [Tue, 23 Jun 2015 12:23:28 +0000 (13:23 +0100)]
Test suite: Make dsd-clone-drs test a no-op in installed package mode

4 years agoTest suite: debpolicy-dbretry: Move taintsout wait
Ian Jackson [Tue, 23 Jun 2015 12:22:56 +0000 (13:22 +0100)]
Test suite: debpolicy-dbretry: Move taintsout wait

This is a very minor optimisation.

4 years agoTest suite: Introduce t-policy-nonexist
Ian Jackson [Tue, 23 Jun 2015 12:22:23 +0000 (13:22 +0100)]
Test suite: Introduce t-policy-nonexist

"t-policy false" did not work properly.

4 years agoTest suite: Make t-policy more robust, and work in installed-package mode
Ian Jackson [Tue, 23 Jun 2015 12:21:35 +0000 (13:21 +0100)]
Test suite: Make t-policy more robust, and work in installed-package mode

4 years agoTest suite: Fix a `git-show-ref' to be `git show-ref'
Ian Jackson [Tue, 23 Jun 2015 12:19:00 +0000 (13:19 +0100)]
Test suite: Fix a `git-show-ref' to be `git show-ref'

4 years agoTest suite: Set DEBCHANGE_VENDOR
Ian Jackson [Tue, 23 Jun 2015 12:18:30 +0000 (13:18 +0100)]
Test suite: Set DEBCHANGE_VENDOR

The test suite wants dch to behave as if for Debian.

4 years agoTest suite: Make dsd-ssh work for installed-package tests
Ian Jackson [Tue, 23 Jun 2015 12:17:48 +0000 (13:17 +0100)]
Test suite: Make dsd-ssh work for installed-package tests

Previously it would say `perl dgit-ssh-dispatch' which causes perl to
look only in `.'.

4 years agoUse force flag when pushing tags
Ian Jackson [Tue, 23 Jun 2015 12:16:23 +0000 (13:16 +0100)]
Use force flag when pushing tags

Newer versions of git push will not overwrite an existing tag unless
the client specifies + on the refspec (or --force).  (This is a
client-side check.)

So add this flag where appropriate, both in dgit itself, and in the
test suite.

4 years agoTest suite: Drop gpgv dependency from debian/tests/control
Ian Jackson [Tue, 23 Jun 2015 12:14:53 +0000 (13:14 +0100)]
Test suite: Drop gpgv dependency from debian/tests/control

This is covered by the dgit-infrastructure Depends now

4 years agoPackaging: Strengthen dgit-infrastructure dependencies
Ian Jackson [Tue, 23 Jun 2015 12:13:18 +0000 (13:13 +0100)]
Packaging: Strengthen dgit-infrastructure dependencies

In practice these dependencies are going to be needed for almost all
deployments.  They are also needed for the DEP-8 test suite, and we
would prefer not to replicate them in debian/tests/control.

4 years agoPackaging: Adding missing dependency from dgit-infrastructure to dgit
Ian Jackson [Tue, 23 Jun 2015 12:12:00 +0000 (13:12 +0100)]
Packaging: Adding missing dependency from dgit-infrastructure to dgit