7 $ifarchive t-setup-import gnupg
11 t-tstunt-parsechangelog
13 not-gdr-processable () {
14 git branch gdr-unprocessable/$1
15 t-git-debrebase analyse | grep 'Unknown Unprocessable'
23 : 'fake up some kind of upstream'
24 git checkout -b upstream quilt-tip
27 echo junk >debian/rules
29 git commit -m "an upstream retcon ($0)"
31 : 'fake up that our quilt-tip was descended from upstream'
32 git checkout quilt-tip
33 git merge --no-edit -s ours upstream
35 : 'fake up that our quilt-tip had the patch queue in it'
36 git checkout patch-queue/quilt-tip
38 git add debian/patches
39 git commit -m "patch queue update ($0)"
41 not-gdr-processable origin
43 : 'fake up an upstream 2.0'
44 git branch make-upstream upstream
45 t-make-new-upstream-tarball 2.0
47 : 'make branch names more conventional'
49 git branch -m quilt-tip master
55 patch-queue/quilt-tip \
61 : 'see what gbp import-orig does'
63 gbp import-orig --upstream-version=2.0 ../$ust
65 not-gdr-processable merge
67 t-dch-commit -v 2.0-1 -m 'new upstream (did gbp import-orig)'
70 $ifarchive t-archive-none $p
72 $ifarchive t-dgit -wgf --gbp push-source --new
75 git push --set-upstream origin master
77 # OK now this looks like something more normal.
79 # maintainer (gbp) view dgit view
81 # debian/2.0-1 archive/debian/2.0-1
82 # remotes/origin/master remotes/dgit/dgit/sid
84 t-expect-fail E:'identical in upstream files' \
85 t-git-debrebase -fupstream-has-debian convert-from-gbp upstream/2.0~
87 t-git-debrebase -fupstream-has-debian convert-from-gbp
90 t-dch-commit -v $v -m 'switch to git-debrebase, no other changes'
93 $ifarchive t-dgit -wgf push-source --new
98 $ifarchive t-archive-process-incoming sid
100 t-setup-done '' "$(echo $p*) salsa $($ifarchive echo git mirror aq)" '
102 t-tstunt-parsechangelog