blob: e11e1ad6bf9d2eda869460d8d9b013186853f277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#!/bin/bash
set -e
. tests/lib
t-archive ruby-rails-3.2 3.2.6-1
t-git-none
mkdir -p incoming
cd incoming
t-worktree test
cd ..
t-dgit clone $p
cd $p
t-cloned-fetched-good
git fetch $tmp/incoming/$p dgit/sid:incoming
dummy=0
iteration () {
dummy=$(( $dummy + 1))
v=3.2.6-2~dummy${dummy}
t-refs-same-start
t-dgit --dpkg-buildpackage:-d build
t-dgit push
t-pushed-good dgit/sid
}
git cherry-pick -x incoming~1; iteration
git cherry-pick -x incoming~0; iteration
git fetch $tmp/incoming/$p incoming-branch:branch
git checkout branch
git rebase --onto dgit/sid incoming
git checkout dgit/sid
git merge branch
iteration
diff <<END - debian/patches/series
change-something-in-the-upstream-yml
spongiform-upstream-new-file-incl-change
zorkmid-options-=-42
END
for f in `cat debian/patches/series`; do
egrep -q '^Author.*ijackson@chiark' debian/patches/$f
done
t-822-field ../${p}_${v}_*.changes Changes |
grep -Fx 'ruby-rails-3.2 (3.2.6-2~dummy1) unstable; urgency=low'
echo ok.
|