/syncer/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/syncer/trunk
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
#!/bin/bash -e

function brz() { 
	$DATA/breezy/trunk/brz "$@"
}

# Breezy
brz push --lossy -d $DATA/breezy/trunk file:$DATA/breezy.git,branch=master
brz push --lossy -d $DATA/breezy/3.0 file:$DATA/breezy.git,branch=3.0
brz push --lossy -d $DATA/breezy/3.1 file:$DATA/breezy.git,branch=3.1
brz push --lossy -d $DATA/breezy/3.2 file:$DATA/breezy.git,branch=3.2
brz push --lossy -d $DATA/breezy/unstable file:$DATA/breezy.git,branch=unstable
cd $DATA/breezy.git && git push -f github --tags master 3.0 3.1 3.2 unstable
#cd $DATA/breezy.git && git push -f gitlab --tags master 3.0 unstable
cd $DATA/breezy.git && git push -f launchpad --tags master 3.0 3.1 3.2 unstable

# Bazaar
brz push --lossy -d $DATA/bazaar/trunk file:$DATA/bazaar.git,branch=master
cd $DATA/bazaar.git && git push -f origin --tags master

# Breezy-debian
brz push --overwrite --lossy -d $DATA/breezy-debian/trunk file:$DATA/breezy-debian.git,branch=master
cd $DATA/breezy-debian.git && git push -f origin --tags master

# Breezy-builder
brz push --overwrite --lossy -d $DATA/breezy-builder/trunk file:$DATA/breezy-builder.git,branch=master
cd $DATA/breezy-builder.git && git push -f origin --tags master

# Breezy-loom
brz push --overwrite --lossy -d $DATA/breezy-loom/trunk file:$DATA/breezy-loom.git,branch=master
cd $DATA/breezy-loom.git && git push -f origin --tags master

# Loggerhead
brz push --overwrite --lossy -d $DATA/loggerhead/trunk file:$DATA/loggerhead.git,branch=master
cd $DATA/loggerhead.git && git push -f origin --tags master

# Breezy-svn
brz push --overwrite --lossy -d $DATA/breezy-svn/trunk file:$DATA/breezy-svn.git,branch=master
cd $DATA/breezy-svn.git && git push -f origin master

# Breezy-hg
brz push --overwrite --lossy -d $DATA/breezy-hg/trunk file:$DATA/breezy-hg.git,branch=master
cd $DATA/breezy-hg.git && git push -f origin master

# qbrz
brz push --overwrite --lossy -d $DATA/qbrz/trunk file:$DATA/qbrz.git,branch=master
cd $DATA/qbrz.git && git push -f origin master

if [ -n "${PUSHGATEWAY}" ]; then
    cat <<EOF | curl --data-binary @- ${PUSHGATEWAY}/metrics/job/breezy-sync-githu0WWb
# TYPE job_last_success_unixtime gauge
job_last_success_unixtime $(date +%s).0
EOF
fi