diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-02-17 20:50:14 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-06-16 16:06:56 +0100 |
commit | 2c114c6b1f068b19deecc2a5602c3f15d56d6209 (patch) | |
tree | 73ca9a6fa20b21dac351f819ba14f4d381c249a9 /tests/lib-gdr | |
parent | d2a8f79a151407a01b1bf82bf84c44657a12c7ef (diff) |
git-debrebase: test suite: lib-gdr: move t-nmu-upload-[12]
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib-gdr')
-rw-r--r-- | tests/lib-gdr | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/lib-gdr b/tests/lib-gdr index 17058f9..831a253 100644 --- a/tests/lib-gdr +++ b/tests/lib-gdr @@ -144,3 +144,39 @@ t-make-new-upstream-tarball () { ust=example_$uv.orig.tar.gz git archive -o ../$ust --prefix=example-2.0/ make-upstream } + +t-nmu-upload-1 () { + # usage: + # v=<full version> + # nmu-upload-1 <nmubranch> + # gbp pq import or perhaps other similar things + # nmu-upload-2 + + t-git-next-date + nmubranch=$1 + git checkout -f -b $nmubranch + t-git-debrebase + t-git-debrebase convert-to-gbp + t-git-next-date + # now we are on a gbp patched-unapplied branch +} + + +t-nmu-upload-2 () { + t-git-next-date + t-dch-commit -v $v -m "nmu $nmubranch $v" + t-some-changes "nmu $numbranch $v" + t-dch-commit -r sid + + t-dgit -wgf build-source + + cd .. + c=${p}_${v}_source.changes + debsign -kBCD22CD83243B79D3DFAC33EA3DBCBC039B13D8A $c + dput -c $tmp/dput.cf test-dummy $c + + t-archive-process-incoming sid + t-git-next-date + cd $p + git checkout master +} |