chiark / gitweb /
dgit.git
8 years agodgit-repos-policy-debian: Fix check-list printing
Ian Jackson [Mon, 4 May 2015 16:50:55 +0000 (17:50 +0100)]
dgit-repos-policy-debian: Fix check-list printing

8 years agodgit: Print curl command for archive api query action
Ian Jackson [Mon, 4 May 2015 16:50:36 +0000 (17:50 +0100)]
dgit: Print curl command for archive api query action

8 years agodgit-repos-policy-debian: WIP bugfixes to debugging
Ian Jackson [Mon, 4 May 2015 16:42:44 +0000 (17:42 +0100)]
dgit-repos-policy-debian: WIP bugfixes to debugging

8 years agodgit-repos-policy-debian: WIP bugfixes to debugging
Ian Jackson [Mon, 4 May 2015 16:35:40 +0000 (17:35 +0100)]
dgit-repos-policy-debian: WIP bugfixes to debugging

8 years agoShow git config queries only with debuglevel 3 (-DDD) and higher.
Ian Jackson [Mon, 4 May 2015 16:35:21 +0000 (17:35 +0100)]
Show git config queries only with debuglevel 3 (-DDD) and higher.

8 years agodgit-repos-policy-debian: Fix mode calculation
Ian Jackson [Mon, 4 May 2015 16:23:37 +0000 (17:23 +0100)]
dgit-repos-policy-debian: Fix mode calculation

8 years agoTests: New tests/adhoc helper; document tests/using-intree too
Ian Jackson [Sun, 3 May 2015 11:02:42 +0000 (12:02 +0100)]
Tests: New tests/adhoc helper; document tests/using-intree too

8 years agoTests: break out some things into lib-core (nfc)
Ian Jackson [Sun, 3 May 2015 11:02:09 +0000 (12:02 +0100)]
Tests: break out some things into lib-core (nfc)

8 years agodgit-repos-server: Small debugging output improvement
Ian Jackson [Sun, 3 May 2015 10:31:25 +0000 (11:31 +0100)]
dgit-repos-server: Small debugging output improvement

8 years agodgit-repos-policy-debian: WIP bugfixes etc.
Ian Jackson [Sun, 3 May 2015 10:30:26 +0000 (11:30 +0100)]
dgit-repos-policy-debian: WIP bugfixes etc.

8 years agodgit-repos-policy-debian: WIP bugfixes
Ian Jackson [Sat, 2 May 2015 19:43:12 +0000 (20:43 +0100)]
dgit-repos-policy-debian: WIP bugfixes

8 years agoDiagnostics: Make shellquote() print empty arguments as ''
Ian Jackson [Sat, 2 May 2015 19:42:45 +0000 (20:42 +0100)]
Diagnostics: Make shellquote() print empty arguments as ''

8 years agodgit-repos-policy-debian: Add debugging output
Ian Jackson [Sat, 2 May 2015 19:33:10 +0000 (20:33 +0100)]
dgit-repos-policy-debian: Add debugging output

8 years agodgit-repos-server: Use shellquote() where appropriate in diagnostics
Ian Jackson [Sat, 2 May 2015 19:10:03 +0000 (20:10 +0100)]
dgit-repos-server: Use shellquote() where appropriate in diagnostics

8 years agoDebugging: Use Dgit.pm's facilities in dgit-repos-server
Ian Jackson [Sat, 2 May 2015 19:06:48 +0000 (20:06 +0100)]
Debugging: Use Dgit.pm's facilities in dgit-repos-server

8 years agoDebugging: use typeglobs to simplify various things (nfc)
Ian Jackson [Sat, 2 May 2015 18:56:08 +0000 (19:56 +0100)]
Debugging: use typeglobs to simplify various things (nfc)

8 years agoRename $debug variable to $debuglevel (nfc)
Ian Jackson [Sat, 2 May 2015 18:28:54 +0000 (19:28 +0100)]
Rename $debug variable to $debuglevel (nfc)

8 years agoMove a $debug check into printdebug (nfc)
Ian Jackson [Sat, 2 May 2015 18:27:06 +0000 (19:27 +0100)]
Move a $debug check into printdebug (nfc)

8 years agoDebugging output: Break out debugcmd into Dgit.pm and use it everywhere (nfc)
Ian Jackson [Sat, 2 May 2015 17:58:54 +0000 (18:58 +0100)]
Debugging output: Break out debugcmd into Dgit.pm and use it everywhere (nfc)

8 years agoMove dgit's debugging arrangements into Dgit.pm
Ian Jackson [Sat, 2 May 2015 17:43:02 +0000 (18:43 +0100)]
Move dgit's debugging arrangements into Dgit.pm

8 years agoTests: in drs-git-ext do not pass policy hook argument explicitly - dispatch dir...
Ian Jackson [Sat, 2 May 2015 16:47:58 +0000 (17:47 +0100)]
Tests: in drs-git-ext do not pass policy hook argument explicitly - dispatch dir version is fine

8 years agoTests: Use distro= dir for drs as well as dsd tests; rename the variable; move the...
Ian Jackson [Sat, 2 May 2015 17:25:23 +0000 (18:25 +0100)]
Tests: Use distro= dir for drs as well as dsd tests; rename the variable; move the directory out of dispatch-dir/

8 years agoFix changelog bug ref for #770710
Ian Jackson [Sat, 2 May 2015 17:24:35 +0000 (18:24 +0100)]
Fix changelog bug ref for #770710

8 years agoInfra: add some more debugging
Ian Jackson [Sat, 2 May 2015 16:47:04 +0000 (17:47 +0100)]
Infra: add some more debugging

8 years agoImplement cron mode for dgit-repos-server and corresponding code in dgit-repos-policy...
Ian Jackson [Sat, 2 May 2015 16:46:31 +0000 (17:46 +0100)]
Implement cron mode for dgit-repos-server and corresponding code in dgit-repos-policy-debian

8 years agodgit-repos-server: Break out policy_checkpackage() (nfc)
Ian Jackson [Sat, 2 May 2015 16:45:12 +0000 (17:45 +0100)]
dgit-repos-server: Break out policy_checkpackage() (nfc)

8 years agoPolicy hook sets mode of NEW repos (and policy protocol passes new repo pathname...
Ian Jackson [Sat, 2 May 2015 16:44:11 +0000 (17:44 +0100)]
Policy hook sets mode of NEW repos (and policy protocol passes new repo pathname for this purpose)

8 years agodgit-repos-policy-debian: Break out statpackage (nfc)
Ian Jackson [Sat, 2 May 2015 16:02:43 +0000 (17:02 +0100)]
dgit-repos-policy-debian: Break out statpackage (nfc)

8 years agoDGIT_TEST_DEBUG: Improve plumbing and honour in policy hook. Also honour $dgitlive
Ian Jackson [Sat, 2 May 2015 16:02:07 +0000 (17:02 +0100)]
DGIT_TEST_DEBUG: Improve plumbing and honour in policy hook.  Also honour $dgitlive

8 years agoPolicy hook protocol: define bits in hex (nfc)
Ian Jackson [Sat, 2 May 2015 15:52:35 +0000 (16:52 +0100)]
Policy hook protocol: define bits in hex (nfc)

8 years agoPolicy hook protocol: pass dgit live directory (nfc)
Ian Jackson [Sat, 2 May 2015 15:52:09 +0000 (16:52 +0100)]
Policy hook protocol: pass dgit live directory (nfc)

8 years agoTurn all perl warnings into errors
Ian Jackson [Tue, 28 Apr 2015 12:06:02 +0000 (13:06 +0100)]
Turn all perl warnings into errors

8 years agoAbolish $realdestrepo variable and replace with function.
Ian Jackson [Tue, 28 Apr 2015 12:26:54 +0000 (13:26 +0100)]
Abolish $realdestrepo variable and replace with function.

Fixes a use-before-set of $realdestrepo

8 years agoFix undef warning in Vcs-Git handling
Ian Jackson [Tue, 28 Apr 2015 12:26:14 +0000 (13:26 +0100)]
Fix undef warning in Vcs-Git handling

8 years agodgit-repos-server: Check that no args follow --ssh
Ian Jackson [Tue, 28 Apr 2015 10:02:35 +0000 (11:02 +0100)]
dgit-repos-server: Check that no args follow --ssh

8 years agodgit-repos-server: Break out mode_ssh and generalise --ssh option (nfc)
Ian Jackson [Tue, 28 Apr 2015 09:48:24 +0000 (10:48 +0100)]
dgit-repos-server: Break out mode_ssh and generalise --ssh option (nfc)

8 years agodgit-repos-server etc.: Rework argument & distros-dir passing (no overall functional...
Ian Jackson [Thu, 23 Apr 2015 14:03:29 +0000 (15:03 +0100)]
dgit-repos-server etc.: Rework argument & distros-dir passing (no overall functional change)

8 years agodgit-repos-server: Set internal $suitesfile and $keyrings as well as just env vars.
Ian Jackson [Thu, 23 Apr 2015 12:18:41 +0000 (13:18 +0100)]
dgit-repos-server: Set internal $suitesfile and $keyrings as well as just env vars.

8 years agodgit-repos-server: Document forthcoming --cron option
Ian Jackson [Thu, 23 Apr 2015 12:18:18 +0000 (13:18 +0100)]
dgit-repos-server: Document forthcoming --cron option

8 years agoTest suite: start work on test of policy machinery
Ian Jackson [Sun, 19 Apr 2015 21:51:33 +0000 (22:51 +0100)]
Test suite: start work on test of policy machinery

8 years agodgit-repos-policy-debian: Many bugfixes
Ian Jackson [Sun, 19 Apr 2015 21:50:44 +0000 (22:50 +0100)]
dgit-repos-policy-debian: Many bugfixes

8 years agodgit-repos-server: Pass $dgitrepos properly to stunt hook (and hence to policy hook)
Ian Jackson [Sun, 19 Apr 2015 21:49:48 +0000 (22:49 +0100)]
dgit-repos-server: Pass $dgitrepos properly to stunt hook (and hence to policy hook)

8 years agoTest suite: break out t-expect-fail
Ian Jackson [Sun, 19 Apr 2015 21:49:14 +0000 (22:49 +0100)]
Test suite: break out t-expect-fail

8 years agoNew policy admin script
Ian Jackson [Sun, 19 Apr 2015 20:26:47 +0000 (21:26 +0100)]
New policy admin script

8 years agoTest suite: make HOME be an absolute path (!)
Ian Jackson [Sun, 19 Apr 2015 15:34:43 +0000 (16:34 +0100)]
Test suite: make HOME be an absolute path (!)

8 years agoLANG, LC_*: Consistently set required LC_* env vars
Ian Jackson [Sun, 19 Apr 2015 15:01:04 +0000 (16:01 +0100)]
LANG, LC_*: Consistently set required LC_* env vars

8 years agoTest suite: break out t-prep-newpackage (nfc)
Ian Jackson [Sun, 19 Apr 2015 14:56:47 +0000 (15:56 +0100)]
Test suite: break out t-prep-newpackage (nfc)

8 years agoUse ftpasterapi archive query method for tests
Ian Jackson [Sun, 19 Apr 2015 14:20:49 +0000 (15:20 +0100)]
Use ftpasterapi archive query method for tests

8 years agoTest suite: add component "main" to synthesised mirror filenames
Ian Jackson [Wed, 15 Apr 2015 20:27:39 +0000 (21:27 +0100)]
Test suite: add component "main" to synthesised mirror filenames

8 years agodgit-repos-policy-debian: Fix misleading varible name
Ian Jackson [Wed, 15 Apr 2015 20:08:59 +0000 (21:08 +0100)]
dgit-repos-policy-debian: Fix misleading varible name

8 years agoUse ftpmasterapi archive query method. (Closes:#727702.)
Ian Jackson [Wed, 15 Apr 2015 17:08:43 +0000 (18:08 +0100)]
Use ftpmasterapi archive query method.  (Closes:#727702.)

9 years agoProvide ftpmasterapi archive query method
Ian Jackson [Wed, 15 Apr 2015 17:06:33 +0000 (18:06 +0100)]
Provide ftpmasterapi archive query method

9 years agoFix inaccurate error message when archive's git hash is not an ancestor of git repo...
Ian Jackson [Wed, 15 Apr 2015 17:05:09 +0000 (18:05 +0100)]
Fix inaccurate error message when archive's git hash is not an ancestor of git repo's git hash.

9 years agoProvide $component_re
Ian Jackson [Wed, 15 Apr 2015 17:03:45 +0000 (18:03 +0100)]
Provide $component_re

9 years agoarchive query methods: Clarify organisation (code motion, nfc)
Ian Jackson [Wed, 8 Apr 2015 17:17:00 +0000 (18:17 +0100)]
archive query methods: Clarify organisation (code motion, nfc)

9 years agoTest suite: Use make for parallel execution
Ian Jackson [Sun, 22 Mar 2015 17:59:08 +0000 (17:59 +0000)]
Test suite: Use make for parallel execution

9 years agoTests: rename "dss" to "dsd" (for dgit-ssh-dispatch)
Ian Jackson [Sun, 22 Mar 2015 17:19:22 +0000 (17:19 +0000)]
Tests: rename "dss" to "dsd" (for dgit-ssh-dispatch)

9 years agoBugfixes (now all tests pass again)
Ian Jackson [Sun, 22 Mar 2015 17:13:43 +0000 (17:13 +0000)]
Bugfixes (now all tests pass again)

9 years agoBugfixes (now tests/tests/drs-clone-nogit works)
Ian Jackson [Sun, 22 Mar 2015 16:57:51 +0000 (16:57 +0000)]
Bugfixes (now tests/tests/drs-clone-nogit works)

9 years agoBugfixes (now tests/tests/clone-nogit works)
Ian Jackson [Sun, 22 Mar 2015 16:00:52 +0000 (16:00 +0000)]
Bugfixes (now tests/tests/clone-nogit works)

9 years agoDebian policy: Merge remaining relevant comments into policy script
Ian Jackson [Sun, 22 Mar 2015 15:28:58 +0000 (15:28 +0000)]
Debian policy: Merge remaining relevant comments into policy script

9 years agodgit-repos-policy-debian: retry on db commit failure
Ian Jackson [Sun, 22 Mar 2015 11:09:11 +0000 (11:09 +0000)]
dgit-repos-policy-debian: retry on db commit failure

9 years agoRepos policy machinery: better docs, etc.
Ian Jackson [Sun, 22 Mar 2015 10:30:23 +0000 (10:30 +0000)]
Repos policy machinery: better docs, etc.

9 years agoWIP Debian policy
Ian Jackson [Sun, 22 Mar 2015 10:17:09 +0000 (10:17 +0000)]
WIP Debian policy

push-confirm

9 years agodgit-repos-server: run push-confirm hook
Ian Jackson [Sun, 22 Mar 2015 10:16:50 +0000 (10:16 +0000)]
dgit-repos-server: run push-confirm hook

9 years agodgit-repos-server: Further fixes to locking; rename acquiretree to acquirermtree
Ian Jackson [Sat, 21 Mar 2015 17:43:40 +0000 (17:43 +0000)]
dgit-repos-server: Further fixes to locking; rename acquiretree to acquirermtree

9 years agodgit-repos-server: Sort out locking hierarchy (and some comments)
Ian Jackson [Sat, 21 Mar 2015 17:32:10 +0000 (17:32 +0000)]
dgit-repos-server: Sort out locking hierarchy (and some comments)

9 years agoSupport --deliberately-not-fast-forward
Ian Jackson [Sat, 21 Mar 2015 14:56:24 +0000 (14:56 +0000)]
Support --deliberately-not-fast-forward

9 years agoWIP Debian policy
Ian Jackson [Sat, 21 Mar 2015 14:53:34 +0000 (14:53 +0000)]
WIP Debian policy

Reorg taint tag a bit

9 years agoIntroduce git_for_each_tag_referring
Ian Jackson [Sun, 22 Mar 2015 14:56:32 +0000 (14:56 +0000)]
Introduce git_for_each_tag_referring

9 years agoIntroduce git_for_each_ref
Ian Jackson [Sat, 21 Mar 2015 13:47:42 +0000 (13:47 +0000)]
Introduce git_for_each_ref

9 years agoMove stat_exists to Dgit.pm
Ian Jackson [Sat, 21 Mar 2015 13:41:06 +0000 (13:41 +0000)]
Move stat_exists to Dgit.pm

9 years agoBreak out $branchprefix, server_branch, server_ref into Dgit.pm
Ian Jackson [Sat, 21 Mar 2015 13:14:46 +0000 (13:14 +0000)]
Break out $branchprefix, server_branch, server_ref into Dgit.pm

9 years agodgit-repos-server: Deal with FRESHREPO from push hook
Ian Jackson [Sat, 21 Mar 2015 12:04:01 +0000 (12:04 +0000)]
dgit-repos-server: Deal with FRESHREPO from push hook

9 years agodgit-repos-server: Make $policy a global
Ian Jackson [Sat, 21 Mar 2015 12:02:21 +0000 (12:02 +0000)]
dgit-repos-server: Make $policy a global

9 years agodgit-repos-server: Move onwardpush and break up its @cmd construction
Ian Jackson [Sat, 21 Mar 2015 12:01:35 +0000 (12:01 +0000)]
dgit-repos-server: Move onwardpush and break up its @cmd construction

9 years agodgit-repos-server: Break out movetogarbage
Ian Jackson [Sat, 21 Mar 2015 11:55:13 +0000 (11:55 +0000)]
dgit-repos-server: Break out movetogarbage

9 years agodgit-repos-server: Break out mkrepo_fromtemplate
Ian Jackson [Sat, 21 Mar 2015 11:52:46 +0000 (11:52 +0000)]
dgit-repos-server: Break out mkrepo_fromtemplate

9 years agodgit-repos-server: break out mkemptyrepo
Ian Jackson [Sat, 21 Mar 2015 11:42:40 +0000 (11:42 +0000)]
dgit-repos-server: break out mkemptyrepo

9 years agoWIP Debian policy
Ian Jackson [Sat, 21 Mar 2015 10:53:51 +0000 (10:53 +0000)]
WIP Debian policy

More code.

9 years agoExport policy hook exist status flags from Dgit.pm
Ian Jackson [Sat, 21 Mar 2015 10:53:10 +0000 (10:53 +0000)]
Export policy hook exist status flags from Dgit.pm

9 years agoMove $package_re into Debian::Dgit
Ian Jackson [Sat, 21 Mar 2015 10:48:37 +0000 (10:48 +0000)]
Move $package_re into Debian::Dgit

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
9 years agoDiversion via dgit-git.debian.net (gideon) - fixes
Ian Jackson [Tue, 17 Mar 2015 22:41:04 +0000 (22:41 +0000)]
Diversion via dgit-git.debian.net (gideon) - fixes

9 years agoHonour policy hook
Ian Jackson [Tue, 17 Mar 2015 22:40:04 +0000 (22:40 +0000)]
Honour policy hook

9 years agoIntroduce policy-hook script into dgit-ssh-dispatch and dgit-repos-server, but do...
Ian Jackson [Tue, 17 Mar 2015 22:35:06 +0000 (22:35 +0000)]
Introduce policy-hook script into dgit-ssh-dispatch and dgit-repos-server, but do not supply one yet

9 years agodgit: Introduce "deliberatelies"
Ian Jackson [Tue, 17 Mar 2015 22:22:44 +0000 (22:22 +0000)]
dgit: Introduce "deliberatelies"

No underlying recipient of this info yet - just plumbing.

9 years agoWIP Debian policy
Ian Jackson [Tue, 17 Mar 2015 21:56:41 +0000 (21:56 +0000)]
WIP Debian policy

More notes and also some code

9 years agodgit-repos-server: check suite a little later
Ian Jackson [Tue, 17 Mar 2015 21:55:00 +0000 (21:55 +0000)]
dgit-repos-server: check suite a little later

9 years agodgit git tags mention the distro explicitly; dgit-repos-server checks it
Ian Jackson [Tue, 17 Mar 2015 21:54:08 +0000 (21:54 +0000)]
dgit git tags mention the distro explicitly; dgit-repos-server checks it

9 years agoinfra: Pass distro to dgit-repos-server
Ian Jackson [Tue, 17 Mar 2015 21:52:36 +0000 (21:52 +0000)]
infra: Pass distro to dgit-repos-server

9 years agoIntroduce Debian/Dgit.pm
Ian Jackson [Sun, 15 Feb 2015 18:32:49 +0000 (18:32 +0000)]
Introduce Debian/Dgit.pm

9 years agodgit: Provide internal archive-api-query command
Ian Jackson [Sun, 18 Jan 2015 17:59:23 +0000 (17:59 +0000)]
dgit: Provide internal archive-api-query command

9 years agoWIP Debian policy
Ian Jackson [Fri, 12 Dec 2014 19:55:10 +0000 (19:55 +0000)]
WIP Debian policy

Some notes in new document README.Debian-NEW

9 years agodebian/changelog: Mention some bugs which we are dealing with
Ian Jackson [Tue, 25 Nov 2014 15:21:33 +0000 (15:21 +0000)]
debian/changelog: Mention some bugs which we are dealing with

9 years agoDocument in manpage under `dgit push' that it is best to build with dgit too.
Ian Jackson [Tue, 25 Nov 2014 15:19:08 +0000 (15:19 +0000)]
Document in manpage under `dgit push' that it is best to build with dgit too.

9 years agoReject (rather than ignoring) further options merged witht -wn, -wg, -wd.
Ian Jackson [Tue, 25 Nov 2014 15:14:42 +0000 (15:14 +0000)]
Reject (rather than ignoring) further options merged witht -wn, -wg, -wd.

9 years agoComplain about lack of cuddled values for value-taking single-letter options, rather...
Ian Jackson [Tue, 25 Nov 2014 15:12:42 +0000 (15:12 +0000)]
Complain about lack of cuddled values for value-taking single-letter options, rather than thinking the user meat an empty value. Closes:#763332.

9 years agoDo not offer wget as an alternative dependency to curl. We always unconditionally...
Ian Jackson [Tue, 25 Nov 2014 15:08:37 +0000 (15:08 +0000)]
Do not offer wget as an alternative dependency to curl.  We always unconditionally invoke curl and have no code to use wget. Closes:#760805.

9 years agoStrip `-b <branch>' from contents of Vcs-Git header, when setting up the vcs-git...
Ian Jackson [Tue, 25 Nov 2014 15:03:11 +0000 (15:03 +0000)]
Strip `-b <branch>' from contents of Vcs-Git header, when setting up the vcs-git remote.  Closes:#759374.

9 years agoquilt linearisation in changelog
Ian Jackson [Sun, 23 Nov 2014 14:12:28 +0000 (14:12 +0000)]
quilt linearisation in changelog