chiark / gitweb /
dgit.git
7 years agoAbolish the sshdakls method and replace it with sshpsql: that is, ssh (to coccia...
Ian Jackson [Fri, 25 Oct 2013 16:03:20 +0000 (17:03 +0100)]
Abolish the sshdakls method and replace it with sshpsql: that is, ssh (to coccia, by default) and run sql commands on the ftpmaster database.  This is faster and has fewer bugs but is vulnerable to db schema changes.  Closes:#726955.  Closes:#720170.  Closes:#720176.

7 years agobreak out pool_dsc_subpath
Ian Jackson [Fri, 25 Oct 2013 16:00:14 +0000 (17:00 +0100)]
break out pool_dsc_subpath

7 years agoFix the "shellquote" command to work properly. The bugs in it ought not to have...
Ian Jackson [Fri, 25 Oct 2013 15:55:05 +0000 (16:55 +0100)]
Fix the "shellquote" command to work properly.  The bugs in it ought not to have caused any real trouble in previous versions of dgit.

7 years agoClarify the manpage's comments about orig tarballs. Closes: #723605.
Ian Jackson [Fri, 25 Oct 2013 09:32:17 +0000 (10:32 +0100)]
Clarify the manpage's comments about orig tarballs.  Closes: #723605.

7 years agodgit build, by default, uses the archive to find out what the correct -v<version...
Ian Jackson [Fri, 25 Oct 2013 09:23:30 +0000 (10:23 +0100)]
dgit build, by default, uses the archive to find out what the correct -v<version> option is to pass to dpkg-genchanges.

7 years agoWhen using sbuild, pass the arguments to mergechanges in the right order so that...
Ian Jackson [Thu, 24 Oct 2013 16:42:20 +0000 (17:42 +0100)]
When using sbuild, pass the arguments to mergechanges in the right order so that we use the correct Description (the _source one, not the one from sbuild which didn't get e.g. -v<version>).

7 years agofinalise 0.17~experimental3
Ian Jackson [Thu, 24 Oct 2013 13:00:33 +0000 (14:00 +0100)]
finalise 0.17~experimental3

7 years agounfinalise 0.17~experimental3
Ian Jackson [Wed, 23 Oct 2013 12:02:18 +0000 (13:02 +0100)]
unfinalise 0.17~experimental3

7 years agoMinor fix to remote functionality:
Ian Jackson [Wed, 23 Oct 2013 12:01:09 +0000 (13:01 +0100)]
Minor fix to remote functionality:
* Improve debug output at completion.

7 years agofinalise 0.17~experimental2 debian/0.17_experimental2
Ian Jackson [Wed, 23 Oct 2013 11:56:48 +0000 (12:56 +0100)]
finalise 0.17~experimental2

7 years agoremote fixes - fix tag handling
Ian Jackson [Wed, 23 Oct 2013 11:53:54 +0000 (12:53 +0100)]
remote fixes - fix tag handling

7 years agoimprove remote messages (reverse direction of << [[ ]] etc.)
Ian Jackson [Wed, 23 Oct 2013 11:33:05 +0000 (12:33 +0100)]
improve remote messages (reverse direction of << [[ ]] etc.)

7 years agoremote fixes
Ian Jackson [Wed, 23 Oct 2013 10:34:28 +0000 (11:34 +0100)]
remote fixes

7 years agoWhen generating git tags, quote the (uncanonicalised) changelog's Distribution field...
Ian Jackson [Wed, 23 Oct 2013 10:33:45 +0000 (11:33 +0100)]
When generating git tags, quote the (uncanonicalised) changelog's Distribution field as the suite.

7 years agoremote etc. - improve and fix some messages
Ian Jackson [Wed, 23 Oct 2013 10:32:46 +0000 (11:32 +0100)]
remote etc. - improve and fix some messages

7 years agomake $dsc implicit arg to push_mktag
Ian Jackson [Tue, 22 Oct 2013 16:53:18 +0000 (17:53 +0100)]
make $dsc implicit arg to push_mktag

7 years agoremote protocol fixes
Ian Jackson [Tue, 22 Oct 2013 16:52:45 +0000 (17:52 +0100)]
remote protocol fixes

7 years agoremote protocol fixes
Ian Jackson [Tue, 22 Oct 2013 16:46:47 +0000 (17:46 +0100)]
remote protocol fixes

7 years agototally revamp remote error handling
Ian Jackson [Tue, 22 Oct 2013 15:57:32 +0000 (16:57 +0100)]
totally revamp remote error handling

7 years agorun i_cleanup unconditionall
Ian Jackson [Tue, 22 Oct 2013 15:36:23 +0000 (16:36 +0100)]
run i_cleanup unconditionall

7 years agofix local dsc name parse debian/0.17_experimental1
Ian Jackson [Tue, 22 Oct 2013 15:30:01 +0000 (16:30 +0100)]
fix local dsc name parse

7 years agodie when 822 changelog parse fails
Ian Jackson [Tue, 22 Oct 2013 15:29:47 +0000 (16:29 +0100)]
die when 822 changelog parse fails

7 years agofix file exchange protocol implementation
Ian Jackson [Tue, 22 Oct 2013 15:29:30 +0000 (16:29 +0100)]
fix file exchange protocol implementation

7 years agofix debugprefix
Ian Jackson [Tue, 22 Oct 2013 15:28:58 +0000 (16:28 +0100)]
fix debugprefix

7 years agodebian/changelog: clarify
Ian Jackson [Tue, 22 Oct 2013 15:27:44 +0000 (16:27 +0100)]
debian/changelog: clarify

7 years agoNew --initiator-tempdir option.
Ian Jackson [Tue, 22 Oct 2013 15:25:40 +0000 (16:25 +0100)]
New --initiator-tempdir option.

7 years agoReport chdir actions in debugging output.
Ian Jackson [Tue, 22 Oct 2013 15:24:54 +0000 (16:24 +0100)]
Report chdir actions in debugging output.

7 years agofinalise 0.17~experimental1
Ian Jackson [Tue, 22 Oct 2013 14:11:49 +0000 (15:11 +0100)]
finalise 0.17~experimental1

7 years agofix protocol_receive_file not to use STDIN
Ian Jackson [Tue, 22 Oct 2013 14:11:05 +0000 (15:11 +0100)]
fix protocol_receive_file not to use STDIN

7 years agoFix dgit --damp-run sbuild to actually work.
Ian Jackson [Tue, 22 Oct 2013 14:09:25 +0000 (15:09 +0100)]
Fix dgit --damp-run sbuild to actually work.
Improvements to implementation of --dry-run and --damp-run.

* Rename $dryrun to $dryrun_level to catch all references
* Introduce act_scary() and act_local() abstractions to make decison
  "if"s less confusing

7 years agoMerge branch 'master' into wip.remote
Ian Jackson [Tue, 22 Oct 2013 13:53:11 +0000 (14:53 +0100)]
Merge branch 'master' into wip.remote

Conflicts:
debian/changelog
dgit

7 years agofinalise 0.16 debian/0.16
Ian Jackson [Tue, 22 Oct 2013 12:07:01 +0000 (13:07 +0100)]
finalise 0.16

7 years ago#727053 fix justifies high urgency
Ian Jackson [Tue, 22 Oct 2013 11:52:29 +0000 (12:52 +0100)]
#727053 fix justifies high urgency

7 years agoFormat `(3.0) quilt' fixup does not mind extraneous other files in the build tree...
Ian Jackson [Tue, 22 Oct 2013 11:51:36 +0000 (12:51 +0100)]
Format `(3.0) quilt' fixup does not mind extraneous other files in the build tree (e.g., build products and logs).  Closes: #727053.

7 years agoNew --damp-run mode, for more convenient and fuller testing etc.
Ian Jackson [Tue, 22 Oct 2013 11:50:06 +0000 (12:50 +0100)]
New --damp-run mode, for more convenient and fuller testing etc.

7 years agoSet autoflush on stdout, to get better ordering of debugging etc. output when stdout...
Ian Jackson [Tue, 22 Oct 2013 11:42:14 +0000 (12:42 +0100)]
Set autoflush on stdout, to get better ordering of debugging etc. output when stdout is redirected.

7 years agowip remote - better autoflushes
Ian Jackson [Tue, 22 Oct 2013 09:25:22 +0000 (10:25 +0100)]
wip remote - better autoflushes

7 years agowip remote - better debugging
Ian Jackson [Tue, 22 Oct 2013 09:24:52 +0000 (10:24 +0100)]
wip remote - better debugging

7 years agointroduce $debugprefix and debugprint etc.
Ian Jackson [Mon, 21 Oct 2013 15:25:58 +0000 (16:25 +0100)]
introduce $debugprefix and debugprint etc.

7 years agofixes for remote mode
Ian Jackson [Mon, 21 Oct 2013 15:16:57 +0000 (16:16 +0100)]
fixes for remote mode

7 years agodocs for rpush
Ian Jackson [Mon, 21 Oct 2013 14:45:53 +0000 (15:45 +0100)]
docs for rpush

7 years agofix printcmd and shellquote
Ian Jackson [Mon, 21 Oct 2013 14:32:12 +0000 (15:32 +0100)]
fix printcmd and shellquote

7 years agoMerge branch 'wip.remote' of git+ssh://git.debian.org/git/dgit-repos/repos/dgit into... debian/0.16_experimental2
Ian Jackson [Mon, 21 Oct 2013 13:31:50 +0000 (14:31 +0100)]
Merge branch 'wip.remote' of git+ssh://git.debian.org/git/dgit-repos/repos/dgit into wip.remote

7 years agofinalise 0.16~experimental2
Ian Jackson [Mon, 21 Oct 2013 13:30:54 +0000 (14:30 +0100)]
finalise 0.16~experimental2

7 years agowip, compile fixes
Ian Jackson [Wed, 9 Oct 2013 07:51:26 +0000 (08:51 +0100)]
wip, compile fixes

ready for testing:
 - baseline push
 - remote push
 - other stuff

7 years agowip, compile fixes
Ian Jackson [Wed, 9 Oct 2013 07:47:57 +0000 (08:47 +0100)]
wip, compile fixes

7 years agofinish documenting --dgit
Ian Jackson [Wed, 9 Oct 2013 07:43:11 +0000 (08:43 +0100)]
finish documenting --dgit

7 years agofinish support and docs for DGIT_SSH etc. config
Ian Jackson [Wed, 9 Oct 2013 07:37:12 +0000 (08:37 +0100)]
finish support and docs for DGIT_SSH etc. config

7 years agodocument --gpg=
Ian Jackson [Wed, 9 Oct 2013 07:02:18 +0000 (08:02 +0100)]
document --gpg=

7 years agowip changes for remote push - remove notes for done stuff from TODO
Ian Jackson [Wed, 9 Oct 2013 06:51:46 +0000 (07:51 +0100)]
wip changes for remote push - remove notes for done stuff from TODO

7 years agowip changes for remote push - implement i_want
Ian Jackson [Wed, 9 Oct 2013 06:50:42 +0000 (07:50 +0100)]
wip changes for remote push - implement i_want

7 years agowip changes for remote push - check repeated want
Ian Jackson [Wed, 9 Oct 2013 06:50:25 +0000 (07:50 +0100)]
wip changes for remote push - check repeated want

7 years agowip changes for remote push - dsc first
Ian Jackson [Wed, 9 Oct 2013 06:50:14 +0000 (07:50 +0100)]
wip changes for remote push - dsc first

7 years agowip changes for remote push - implement i_param
Ian Jackson [Wed, 9 Oct 2013 06:49:54 +0000 (07:49 +0100)]
wip changes for remote push - implement i_param

7 years agowip changes for remote push - split off sign_changes
Ian Jackson [Wed, 9 Oct 2013 06:49:34 +0000 (07:49 +0100)]
wip changes for remote push - split off sign_changes

7 years agowip changes for remote push - implement i_localname_*
Ian Jackson [Wed, 9 Oct 2013 06:31:34 +0000 (07:31 +0100)]
wip changes for remote push - implement i_localname_*

7 years agowip changes for remote push - implement i_resp_*
Ian Jackson [Wed, 9 Oct 2013 06:21:45 +0000 (07:21 +0100)]
wip changes for remote push - implement i_resp_*

7 years agowip changes for remote push - fixes
Ian Jackson [Wed, 9 Oct 2013 06:20:12 +0000 (07:20 +0100)]
wip changes for remote push - fixes

7 years agowip changes for remote push - provide i_method
Ian Jackson [Wed, 9 Oct 2013 06:20:25 +0000 (07:20 +0100)]
wip changes for remote push - provide i_method

7 years agowip changes for remote push - provide i_tmp
Ian Jackson [Wed, 9 Oct 2013 06:19:56 +0000 (07:19 +0100)]
wip changes for remote push - provide i_tmp

7 years agowip changes for remote push - break out protocol_read_bytes
Ian Jackson [Wed, 9 Oct 2013 06:18:02 +0000 (07:18 +0100)]
wip changes for remote push - break out protocol_read_bytes

7 years agoimplement initiator_expect
Ian Jackson [Wed, 9 Oct 2013 00:45:37 +0000 (01:45 +0100)]
implement initiator_expect

7 years agocode motion and separators
Ian Jackson [Wed, 9 Oct 2013 00:42:16 +0000 (01:42 +0100)]
code motion and separators

7 years agowip changes for remote push - much implementation
Ian Jackson [Thu, 26 Sep 2013 21:37:49 +0000 (22:37 +0100)]
wip changes for remote push - much implementation

7 years agowip changes for remote push - break out shellquote, nfc
Ian Jackson [Thu, 26 Sep 2013 21:37:37 +0000 (22:37 +0100)]
wip changes for remote push - break out shellquote, nfc

7 years agowip changes for remote push - implementation of remote push responder, not tested
Ian Jackson [Thu, 26 Sep 2013 19:36:49 +0000 (20:36 +0100)]
wip changes for remote push - implementation of remote push responder, not tested

7 years agowip changes for remote push - introduce calls to responder_* functions, currently...
Ian Jackson [Thu, 26 Sep 2013 00:57:47 +0000 (01:57 +0100)]
wip changes for remote push - introduce calls to responder_* functions, currently noops, nfc

7 years agoCommand execution reports from --dry-run go to stderr.
Ian Jackson [Thu, 26 Sep 2013 00:47:47 +0000 (01:47 +0100)]
Command execution reports from --dry-run go to stderr.

7 years agowip changes for remote push - replace uses of plain print with new progress sub, nfc
Ian Jackson [Thu, 26 Sep 2013 00:46:22 +0000 (01:46 +0100)]
wip changes for remote push - replace uses of plain print with new progress sub, nfc

7 years agopush actually takes an optional suite, like it says in the synopsis.
Ian Jackson [Thu, 26 Sep 2013 00:14:55 +0000 (01:14 +0100)]
push actually takes an optional suite, like it says in the synopsis.

7 years agowip changes for remote push - beginning with remote protocol
Ian Jackson [Thu, 26 Sep 2013 00:14:00 +0000 (01:14 +0100)]
wip changes for remote push - beginning with remote protocol

7 years agowip changes for remote push - no intentional functional change, break out push_parse_...
Ian Jackson [Wed, 25 Sep 2013 23:58:20 +0000 (00:58 +0100)]
wip changes for remote push - no intentional functional change, break out push_parse_{changelog,dsc}

7 years agowip changes for remote push - fixes, todos
Ian Jackson [Tue, 24 Sep 2013 22:59:17 +0000 (23:59 +0100)]
wip changes for remote push - fixes, todos

7 years agowip changes for remote push - fixes
Ian Jackson [Tue, 24 Sep 2013 22:56:03 +0000 (23:56 +0100)]
wip changes for remote push - fixes

7 years agoMerge remote-tracking branch 'remotes/dgit/dgit/experimental' into wip.remote debian/0.16_experimental1
Ian Jackson [Tue, 24 Sep 2013 22:26:49 +0000 (23:26 +0100)]
Merge remote-tracking branch 'remotes/dgit/dgit/experimental' into wip.remote

7 years agowip changes for remote push - fixes
Ian Jackson [Tue, 24 Sep 2013 22:25:15 +0000 (23:25 +0100)]
wip changes for remote push - fixes

7 years agofinalise changelog for 0.16~experimental1
Ian Jackson [Tue, 24 Sep 2013 22:08:55 +0000 (23:08 +0100)]
finalise changelog for 0.16~experimental1

7 years agowip changes for remote push - make tag ourselves
Ian Jackson [Tue, 24 Sep 2013 22:02:50 +0000 (23:02 +0100)]
wip changes for remote push - make tag ourselves

7 years agowip changes for remote push
Ian Jackson [Sun, 15 Sep 2013 12:28:21 +0000 (13:28 +0100)]
wip changes for remote push

7 years agowip changes for remote push - support supplying gpg command
Ian Jackson [Sun, 15 Sep 2013 12:28:07 +0000 (13:28 +0100)]
wip changes for remote push - support supplying gpg command

7 years agowip changes for remote push
Ian Jackson [Sun, 1 Sep 2013 21:19:25 +0000 (22:19 +0100)]
wip changes for remote push

7 years agofinalise and tidy changelog for 0.15 debian/0.15
Ian Jackson [Wed, 11 Sep 2013 23:14:17 +0000 (00:14 +0100)]
finalise and tidy changelog for 0.15

7 years agoMore comprehensive warnings in many cases of archive skew.
Ian Jackson [Wed, 11 Sep 2013 23:10:50 +0000 (00:10 +0100)]
More comprehensive warnings in many cases of archive skew.

7 years agoparsechangelog takes optional args for dpkg-parsechangelog
Ian Jackson [Wed, 11 Sep 2013 23:10:07 +0000 (00:10 +0100)]
parsechangelog takes optional args for dpkg-parsechangelog

7 years agobreak out shell_cmd
Ian Jackson [Wed, 11 Sep 2013 23:09:25 +0000 (00:09 +0100)]
break out shell_cmd

7 years agoBetter handling of packages pushed using dgit and stuck in NEW. (And, use of `--new...
Ian Jackson [Wed, 11 Sep 2013 22:34:56 +0000 (23:34 +0100)]
Better handling of packages pushed using dgit and stuck in NEW. (And, use of `--new' is not needed with fetch.)  Closes: #722199.

Specifically
 * get_archive_dsc leaves its answer in $dsc, not the return value
 * fetch_from_archive tolerates get_archive_dsc saying "no", and
   then uses the git ref, with a warning message

7 years agorename upload_hash to lastpush_hash
Ian Jackson [Wed, 11 Sep 2013 20:42:23 +0000 (21:42 +0100)]
rename upload_hash to lastpush_hash

7 years agodgit --version: changelog entry
Ian Jackson [Wed, 11 Sep 2013 20:13:00 +0000 (21:13 +0100)]
dgit --version: changelog entry

7 years agosupport --version too
Ian Jackson [Wed, 11 Sep 2013 20:12:33 +0000 (21:12 +0100)]
support --version too

7 years agocmd_version: check error
Ian Jackson [Wed, 11 Sep 2013 20:12:15 +0000 (21:12 +0100)]
cmd_version: check error

7 years agorename $dgit_version to $our_version
Ian Jackson [Wed, 11 Sep 2013 20:11:05 +0000 (21:11 +0100)]
rename $dgit_version to $our_version

7 years agocmd_version whitespace style fix
Ian Jackson [Wed, 11 Sep 2013 20:10:47 +0000 (21:10 +0100)]
cmd_version whitespace style fix

7 years agodo substition for $dgit_version in rules
Ian Jackson [Wed, 11 Sep 2013 20:10:24 +0000 (21:10 +0100)]
do substition for $dgit_version in rules

7 years agodgit*: Implement `dgit version`
Richard Hartmann [Mon, 2 Sep 2013 19:04:41 +0000 (21:04 +0200)]
dgit*: Implement `dgit version`

7 years agochangelog message for "dgit help"
Ian Jackson [Wed, 11 Sep 2013 17:20:02 +0000 (18:20 +0100)]
changelog message for "dgit help"

7 years agodgit*: Implement `dgit help`
Richard Hartmann [Tue, 3 Sep 2013 22:42:44 +0000 (00:42 +0200)]
dgit*: Implement `dgit help`

7 years agofinalise 0.14 debian/0.14
Ian Jackson [Sun, 1 Sep 2013 17:31:14 +0000 (18:31 +0100)]
finalise 0.14

7 years agochangelog entry for vcs-* fields
Ian Jackson [Sun, 1 Sep 2013 17:29:57 +0000 (18:29 +0100)]
changelog entry for vcs-* fields

7 years agodebian/control: Add Vcs-Git and Vcs-Browser
Richard Hartmann [Sat, 31 Aug 2013 08:30:24 +0000 (10:30 +0200)]
debian/control: Add Vcs-Git and Vcs-Browser

7 years agoCreate directory .git/dgit when needed during build. Closes: #721428.
Ian Jackson [Sun, 1 Sep 2013 17:22:54 +0000 (18:22 +0100)]
Create directory .git/dgit when needed during build.  Closes: #721428.