summaryrefslogtreecommitdiff
path: root/tests/setup/baredebian
blob: bbd901f6086882e04be8afaf56becc3f6b9a0940 (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
#!/bin/bash
set -e
. tests/lib
. $troot/lib-gdr

t-dependencies GDR DEBORIG quilt

t-archive-none example
t-git-none

t-gdr-gbp-import-core-with-queue

git-deborig

for b in			\
	patch-queue/quilt-tip	\
	gitish-only		\
	quilt-tip-1.1		\
	quilt-tip-2		\
	indep-arch		\
; do
	git branch -D $b
done

git rm -rf . # yikes
git checkout HEAD -- debian
t=$(git write-tree)
t=$(git commit-tree -m 'Convert to bare debian' $t)
git reset --hard $t

t-setup-done '' "$(echo $p*) git mirror aq" '
	t-select-package example
	t-git-next-date
'