chiark / gitweb /
dgit.git
6 years agolaunder: fix wip.rebase.for-mcv.v1
Ian Jackson [Fri, 25 Aug 2017 19:58:19 +0000 (20:58 +0100)]
launder: fix

6 years agointroduce update_head_checkout
Ian Jackson [Fri, 25 Aug 2017 19:58:09 +0000 (20:58 +0100)]
introduce update_head_checkout

6 years agoDgit.pm: Break out git_get_symref
Ian Jackson [Fri, 25 Aug 2017 19:57:41 +0000 (20:57 +0100)]
Dgit.pm: Break out git_get_symref

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodownstream-rebase-launder-v0 first cut
Ian Jackson [Fri, 25 Aug 2017 10:26:31 +0000 (11:26 +0100)]
downstream-rebase-launder-v0 first cut

6 years agoclassificaton generates Changelog type
Ian Jackson [Fri, 25 Aug 2017 10:11:08 +0000 (11:11 +0100)]
classificaton generates Changelog type

6 years agointroduce DS_DEB
Ian Jackson [Fri, 25 Aug 2017 10:06:39 +0000 (11:06 +0100)]
introduce DS_DEB

differentiate changelog from other diffs in get_differ
no change to classification output

also fix a $_ eq m{...} bug!

6 years agoclassify: tolerate backwards breakwater merges
Ian Jackson [Fri, 25 Aug 2017 09:45:29 +0000 (10:45 +0100)]
classify: tolerate backwards breakwater merges

6 years agoclassify: introduce $prevbrw (nfc)
Ian Jackson [Fri, 25 Aug 2017 09:44:04 +0000 (10:44 +0100)]
classify: introduce $prevbrw (nfc)

6 years agowip fixes for new no global $playground
Ian Jackson [Thu, 24 Aug 2017 14:55:19 +0000 (15:55 +0100)]
wip fixes for new no global $playground

6 years agowip, before abolish Dgit.pm's global
Ian Jackson [Thu, 24 Aug 2017 14:24:07 +0000 (15:24 +0100)]
wip, before abolish Dgit.pm's  global

6 years agoWIP FOUND
Ian Jackson [Tue, 18 Jul 2017 20:44:46 +0000 (21:44 +0100)]
WIP FOUND

6 years agofixes
Ian Jackson [Fri, 14 Jul 2017 14:30:45 +0000 (15:30 +0100)]
fixes

6 years agogit-debrebase; get_commit: use new $etype
Ian Jackson [Fri, 14 Jul 2017 14:30:36 +0000 (15:30 +0100)]
git-debrebase; get_commit: use new $etype

6 years agofixes
Ian Jackson [Fri, 14 Jul 2017 14:10:05 +0000 (15:10 +0100)]
fixes

6 years agowip debug, fixes etc.
Ian Jackson [Fri, 14 Jul 2017 11:23:31 +0000 (12:23 +0100)]
wip debug, fixes etc.

6 years agowip fixes
Ian Jackson [Fri, 14 Jul 2017 10:43:47 +0000 (11:43 +0100)]
wip fixes

6 years agofinish get_differs ?
Ian Jackson [Sun, 9 Jul 2017 13:55:37 +0000 (14:55 +0100)]
finish get_differs ?

6 years agowip
Ian Jackson [Sun, 9 Jul 2017 13:37:10 +0000 (14:37 +0100)]
wip

6 years agomove --name-only
Ian Jackson [Sun, 9 Jul 2017 13:04:27 +0000 (14:04 +0100)]
move --name-only

6 years agoallow opts
Ian Jackson [Sun, 9 Jul 2017 13:02:41 +0000 (14:02 +0100)]
allow opts

6 years agoavoid renames
Ian Jackson [Sun, 9 Jul 2017 13:01:38 +0000 (14:01 +0100)]
avoid renames

6 years agowip
Ian Jackson [Sun, 9 Jul 2017 12:47:30 +0000 (13:47 +0100)]
wip

6 years agowip
Ian Jackson [Fri, 7 Jul 2017 10:49:22 +0000 (11:49 +0100)]
wip

6 years agoWIP FOUND
Ian Jackson [Wed, 28 Jun 2017 12:40:52 +0000 (13:40 +0100)]
WIP FOUND

6 years agorebase fixes
Ian Jackson [Wed, 21 Jun 2017 20:44:35 +0000 (21:44 +0100)]
rebase fixes

6 years agorebase: go back to my $build
Ian Jackson [Wed, 21 Jun 2017 20:40:24 +0000 (21:40 +0100)]
rebase: go back to my $build

We never don't have exactly one parent

6 years agofixes
Ian Jackson [Wed, 14 Jun 2017 23:20:02 +0000 (00:20 +0100)]
fixes

6 years agointroduce build_start
Ian Jackson [Wed, 14 Jun 2017 23:18:12 +0000 (00:18 +0100)]
introduce build_start

6 years agoabolish recursion
Ian Jackson [Wed, 14 Jun 2017 23:14:29 +0000 (00:14 +0100)]
abolish recursion

6 years agorewrite in brw_cl too
Ian Jackson [Wed, 14 Jun 2017 22:39:29 +0000 (23:39 +0100)]
rewrite in brw_cl too

6 years agorename @upp_cl @brw_cl $wantbrwonly
Ian Jackson [Wed, 14 Jun 2017 22:38:01 +0000 (23:38 +0100)]
rename @upp_cl @brw_cl $wantbrwonly

6 years agowip
Ian Jackson [Wed, 14 Jun 2017 20:50:55 +0000 (21:50 +0100)]
wip

6 years agowip rebase fixes
Ian Jackson [Mon, 5 Jun 2017 18:00:25 +0000 (19:00 +0100)]
wip rebase fixes

6 years agowip found
Ian Jackson [Mon, 5 Jun 2017 17:28:56 +0000 (18:28 +0100)]
wip found

6 years agopseudocode typo
Ian Jackson [Wed, 24 May 2017 17:26:09 +0000 (18:26 +0100)]
pseudocode typo

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agowip, redoing origin handling
Ian Jackson [Sun, 14 May 2017 21:37:45 +0000 (22:37 +0100)]
wip, redoing origin handling

6 years agowip import handling etc.
Ian Jackson [Sun, 14 May 2017 20:49:45 +0000 (21:49 +0100)]
wip import handling etc.

6 years agofix README typo
Ian Jackson [Fri, 28 Apr 2017 19:56:34 +0000 (20:56 +0100)]
fix README typo

6 years agogit-debrebase fixes
Ian Jackson [Fri, 28 Apr 2017 19:52:43 +0000 (20:52 +0100)]
git-debrebase fixes

6 years agogit-debrebase fixes
Ian Jackson [Fri, 28 Apr 2017 19:34:50 +0000 (20:34 +0100)]
git-debrebase fixes

6 years agogit-debrebase fixes
Ian Jackson [Fri, 28 Apr 2017 19:30:55 +0000 (20:30 +0100)]
git-debrebase fixes

6 years agosort out report, and walk, allegedly
Ian Jackson [Fri, 28 Apr 2017 17:47:41 +0000 (18:47 +0100)]
sort out report, and walk, allegedly

6 years agoabolish $pseudos_must_overwrite_this
Ian Jackson [Fri, 28 Apr 2017 16:43:17 +0000 (17:43 +0100)]
abolish $pseudos_must_overwrite_this

6 years agospelling
Ian Jackson [Fri, 28 Apr 2017 16:42:20 +0000 (17:42 +0100)]
spelling

6 years agowip pseudomerge handling
Ian Jackson [Fri, 28 Apr 2017 16:41:38 +0000 (17:41 +0100)]
wip pseudomerge handling

6 years agowip found
Ian Jackson [Fri, 28 Apr 2017 13:13:37 +0000 (14:13 +0100)]
wip found

6 years agowip
Ian Jackson [Wed, 5 Apr 2017 20:46:27 +0000 (21:46 +0100)]
wip

6 years agoabolish abbrev thing
Ian Jackson [Wed, 5 Apr 2017 17:20:03 +0000 (18:20 +0100)]
abolish abbrev thing

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agofound
Ian Jackson [Wed, 5 Apr 2017 17:14:24 +0000 (18:14 +0100)]
found

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agoREADME.git-debrebase: diagrams of how to handle imports
Ian Jackson [Fri, 31 Mar 2017 18:04:13 +0000 (19:04 +0100)]
README.git-debrebase: diagrams of how to handle imports

6 years agoREADME tidy up
Ian Jackson [Fri, 31 Mar 2017 17:33:06 +0000 (18:33 +0100)]
README tidy up

6 years agoREADME.git-debrebase: both emails
Ian Jackson [Fri, 31 Mar 2017 17:24:56 +0000 (18:24 +0100)]
README.git-debrebase: both emails

6 years agowip: README
Ian Jackson [Fri, 31 Mar 2017 17:23:18 +0000 (18:23 +0100)]
wip: README

6 years agowip
Ian Jackson [Fri, 31 Mar 2017 17:23:10 +0000 (18:23 +0100)]
wip

6 years agowip, found
Ian Jackson [Fri, 31 Mar 2017 15:07:17 +0000 (16:07 +0100)]
wip, found

6 years agowip, launder rm patches
Ian Jackson [Fri, 10 Mar 2017 18:03:47 +0000 (18:03 +0000)]
wip, launder rm patches

6 years agowip gitattrs dealt with
Ian Jackson [Fri, 10 Mar 2017 17:51:08 +0000 (17:51 +0000)]
wip gitattrs dealt with

6 years agoremove an xxx
Ian Jackson [Fri, 10 Mar 2017 17:34:22 +0000 (17:34 +0000)]
remove an xxx

6 years agowip
Ian Jackson [Fri, 10 Mar 2017 15:35:04 +0000 (15:35 +0000)]
wip

6 years agowip comments
Ian Jackson [Fri, 10 Mar 2017 15:35:01 +0000 (15:35 +0000)]
wip comments

6 years agowip notes
Ian Jackson [Fri, 10 Mar 2017 15:34:48 +0000 (15:34 +0000)]
wip notes

6 years agowip notes
Ian Jackson [Wed, 22 Feb 2017 18:35:02 +0000 (18:35 +0000)]
wip notes

6 years agocapture breakwater tip
Ian Jackson [Thu, 9 Feb 2017 00:16:47 +0000 (00:16 +0000)]
capture breakwater tip

6 years agoavoid rewrite better
Ian Jackson [Thu, 9 Feb 2017 00:11:51 +0000 (00:11 +0000)]
avoid rewrite better

6 years agoavoid rewrite
Ian Jackson [Wed, 8 Feb 2017 23:59:44 +0000 (23:59 +0000)]
avoid rewrite

6 years agoWIP command line comments
Ian Jackson [Wed, 8 Feb 2017 23:33:06 +0000 (23:33 +0000)]
WIP command line comments

6 years agoWIP, new new-upstream
Ian Jackson [Mon, 6 Feb 2017 17:49:27 +0000 (17:49 +0000)]
WIP, new new-upstream

6 years agogit-debrebase WIP minimal executable ?
Ian Jackson [Sun, 5 Feb 2017 23:04:45 +0000 (23:04 +0000)]
git-debrebase WIP minimal executable ?

6 years agoWIP
Ian Jackson [Sun, 5 Feb 2017 21:39:29 +0000 (21:39 +0000)]
WIP

6 years agoWIP
Ian Jackson [Sat, 4 Feb 2017 14:27:00 +0000 (14:27 +0000)]
WIP

6 years agoWIP
Ian Jackson [Fri, 3 Feb 2017 21:48:13 +0000 (21:48 +0000)]
WIP

6 years agoWIP
Ian Jackson [Fri, 3 Feb 2017 16:36:27 +0000 (16:36 +0000)]
WIP

6 years agoWIP
Ian Jackson [Sun, 29 Jan 2017 21:59:35 +0000 (21:59 +0000)]
WIP

6 years agoWIP classification core done?
Ian Jackson [Sun, 29 Jan 2017 18:46:13 +0000 (18:46 +0000)]
WIP classification core done?

6 years agoWIP before reorgs?
Ian Jackson [Sat, 28 Jan 2017 08:57:08 +0000 (08:57 +0000)]
WIP before reorgs?

6 years agogit-debrebase: Stub script to prove config handling works
Ian Jackson [Wed, 25 Jan 2017 21:25:11 +0000 (21:25 +0000)]
git-debrebase: Stub script to prove config handling works

Tested with
  PATH=$PWD:$PATH git -c wombat.foo.bar=23 -c wombat.foo.bar=37 debrebase

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agoDgit.pm: git_cat_file: Introduce $etype parameter
Ian Jackson [Sun, 9 Jul 2017 13:12:47 +0000 (14:12 +0100)]
Dgit.pm: git_cat_file: Introduce $etype parameter

No functional change for existing callers.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agoDgit.pm: Move $playground global to dgit.
Ian Jackson [Thu, 24 Aug 2017 14:41:49 +0000 (15:41 +0100)]
Dgit.pm: Move $playground global to dgit.

It makes the interface to the playground functions confusing.

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agochangelog: document Sean's changes
Ian Jackson [Tue, 15 Aug 2017 16:00:25 +0000 (17:00 +0100)]
changelog: document Sean's changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodgit: Fix trailing whitespace
Sean Whitton [Sun, 13 Aug 2017 14:01:10 +0000 (07:01 -0700)]
dgit: Fix trailing whitespace

Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
6 years agochangelog: Fix typo
Sean Whitton [Sun, 13 Aug 2017 13:56:26 +0000 (06:56 -0700)]
changelog: Fix typo

Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
6 years agochangelog: start 4.2
Ian Jackson [Tue, 15 Aug 2017 15:58:29 +0000 (16:58 +0100)]
changelog: start 4.2

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agochangelog: finalise 4.1 archive/debian/4.1 debian/4.1
Ian Jackson [Mon, 14 Aug 2017 08:31:25 +0000 (09:31 +0100)]
changelog: finalise 4.1

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agochangelog: Document test suite changes
Ian Jackson [Thu, 3 Aug 2017 11:27:42 +0000 (12:27 +0100)]
changelog: Document test suite changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: gitworktree: Test quiltification
Ian Jackson [Thu, 3 Aug 2017 11:25:48 +0000 (12:25 +0100)]
test suite: gitworktree: Test quiltification

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: gitworktree: Add some more operations
Ian Jackson [Thu, 3 Aug 2017 11:23:42 +0000 (12:23 +0100)]
test suite: gitworktree: Add some more operations

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: dpkgsourceignores-correct: Test that the rune DTRT
Ian Jackson [Thu, 3 Aug 2017 11:22:33 +0000 (12:22 +0100)]
test suite: dpkgsourceignores-correct: Test that the rune DTRT

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodgit: dpkg_source_ignores: Exclude the right set of things
Ian Jackson [Thu, 3 Aug 2017 11:20:36 +0000 (12:20 +0100)]
dgit: dpkg_source_ignores: Exclude the right set of things

Change the dpkg-source -i argument to exclude exactly the right set of
things.  (Sadly this is not a simple rune.)

Previously we might exclude `foo.git', for example !

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodgit: Properly shellquote --git-builder argument to gbp
Ian Jackson [Thu, 3 Aug 2017 11:48:05 +0000 (12:48 +0100)]
dgit: Properly shellquote --git-builder argument to gbp

This is about to contain more exciting shell metacharacters.
(Even now, it is wrong without quoting as we end up telling gbp to
pass -i.git/ rather than -i\.git/ to dpkg-source.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: dpkgsourceignores-docs: Use print-dpkg-source-ignores
Ian Jackson [Thu, 3 Aug 2017 11:09:11 +0000 (12:09 +0100)]
test suite: dpkgsourceignores-docs: Use print-dpkg-source-ignores

Rather than fishing the value out of the in-tree dgit source code.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodgit: print-dpkg-source-ignores action
Ian Jackson [Thu, 3 Aug 2017 11:08:31 +0000 (12:08 +0100)]
dgit: print-dpkg-source-ignores action

New print-dpkg-source-ignores option to print the big rune you need to
pass to dpkg-source to make it work exactly the right.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: dpkgsourceignores-docs: Check dgit-maint-merge(7) -i -I rune
Ian Jackson [Thu, 3 Aug 2017 08:53:58 +0000 (09:53 +0100)]
test suite: dpkgsourceignores-docs: Check dgit-maint-merge(7) -i -I rune

Check that the rune we document is the same as dgit actually uses.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodgit-maint-merge(7): Add ' ' around -i\.git/
Ian Jackson [Thu, 3 Aug 2017 08:52:05 +0000 (09:52 +0100)]
dgit-maint-merge(7): Add ' ' around -i\.git/

This manpage should present a shell rune, not a half-quoted thing
whose interpretation is left as a tricky exercise to othe reader.

The ' ' protect the \ so that it would actually get passed to
dpkg-buildpackage.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodgit-maint-merge(7): Reformat slightly
Ian Jackson [Thu, 3 Aug 2017 08:24:27 +0000 (09:24 +0100)]
dgit-maint-merge(7): Reformat slightly

Introduce semantic newlines around the dpg-buildpackage -i -I
rune.  This will make it easier to test.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodgit: Break out -i -I rune into a variable
Ian Jackson [Thu, 3 Aug 2017 08:07:44 +0000 (09:07 +0100)]
dgit: Break out -i -I rune into a variable

There is also an instance in dgit-maint-merge.7.pod but that's
trickier to unify.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: Break out t-dgit-manpage
Ian Jackson [Thu, 3 Aug 2017 11:14:41 +0000 (12:14 +0100)]
test suite: Break out t-dgit-manpage

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: stunt gnupg: Much better logging of race errors
Ian Jackson [Fri, 4 Aug 2017 21:27:54 +0000 (22:27 +0100)]
test suite: stunt gnupg: Much better logging of race errors

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: stunt gnupg runs gpg again if it exits status 2
Ian Jackson [Thu, 3 Aug 2017 21:27:28 +0000 (22:27 +0100)]
test suite: stunt gnupg runs gpg again if it exits status 2

Work around gnupg agent connection races by having our stunt gpg
wrapper simply try running gpg again, once, if it exits 2.
This does not fully suppress the bug but it does significantly reduce
the probability.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agotest suite: Make t-dgit print pwd to stderr, not stdout
Ian Jackson [Thu, 3 Aug 2017 11:13:58 +0000 (12:13 +0100)]
test suite: Make t-dgit print pwd to stderr, not stdout

This means that tests can capture the output from t-dgit without going
wrong.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agochangelog: Document worktree support
Ian Jackson [Wed, 2 Aug 2017 18:37:00 +0000 (19:37 +0100)]
changelog: Document worktree support

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>