6 t-dependencies git-buildpackage libfile-fnmatch-perl
8 t-tstunt-parsechangelog
10 not-gdr-processable () {
11 t-expect-fail F:'Cannot cope with this commit' \
20 : 'fake up some kind of upstream'
21 git checkout -b upstream quilt-tip
24 echo junk >debian/rules
26 git commit -m "an upstream retcon ($0)"
28 : 'fake up that our quilt-tip was descended from upstream'
29 git checkout quilt-tip
30 git merge --no-edit -s ours upstream
32 : 'fake up that our quilt-tip had the patch queue in it'
33 git checkout patch-queue/quilt-tip
35 git add debian/patches
36 git commit -m "patch queue update ($0)"
40 : 'fake up an upstream 2.0'
41 git checkout -b make-upstream upstream
42 echo upstream-v2 >>docs/README
43 git commit -a -m "an upstream v2 update"
44 ust=example_2.0.orig.tar.gz
45 git archive -o ../$ust --prefix=example-2.0/ make-upstream
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
67 dch -v 2.0-1 -m 'new upstream (did gbp import-orig)'
69 git commit -m changelog debian/changelog
73 t-dgit -wgf --gbp push-source --new
76 git push --set-upstream origin master
78 # OK now this looks like something more normal.
80 # maintainer (gbp) view dgit view
82 # debian/2.0-1 archive/debian/2.0-1
83 # remotes/origin/master remotes/dgit/dgit/sid
85 t-git-debrebase -fupstream-has-debian gbp2debrebase
87 dch -v 2.0-2 -m 'switch to git-debrebase, no other changes'
89 git commit -m changelog debian/changelog
91 t-dgit -wgf push-source --new --overwrite
95 t-setup-done '' "$(echo $p*) git mirror salsa aq" '
97 t-tstunt-parsechangelog