/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
#!/bin/bash

cd $DATA

bzr pull --overwrite -d breezy/trunk lp:brz
bzr pull --overwrite -d breezy/3.0 lp:brz/3.0
bzr pull --overwrite -d breezy/3.1 lp:brz/3.1
bzr pull --overwrite -d breezy/3.2 lp:brz/3.2
bzr pull --overwrite -d breezy/unstable https://code.breezy-vcs.org/breezy/unstable
bzr pull --overwrite -d breezy-debian/trunk lp:brz-debian
bzr pull --overwrite -d breezy-svn/trunk lp:brz-svn
bzr pull --overwrite -d breezy-hg/trunk lp:brz-hg
bzr pull --overwrite -d breezy-loom/trunk lp:brz-loom
bzr pull --overwrite -d breezy-builder/trunk lp:brz-builder
bzr pull --overwrite -d loggerhead/trunk lp:loggerhead
bzr pull --overwrite -d bazaar/trunk lp:bzr
bzr pull --overwrite -d qbrz/trunk lp:qbrz
make -C $HOME/breezy/trunk

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