Ubuntu Pastebin

Paste from cjwatson at Thu, 6 Aug 2015 22:04:27 +0000

Download as text
 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
<cjwatson@niejwein ~ (master)>$ ssh snakefruit cat /srv/chroots/trusty-transitions/srv/transitions/transition-tracker/go
#! /bin/sh
set -e

cd /srv/transitions/transition-tracker
if [ -d config ]; then
    bzr up -q config
else
    bzr co lp:~ubuntu-transition-trackers/ubuntu-transition-tracker/configs config
fi

# Don't use ben's download scripts - need to merge proposed and release
MIRROR=/srv/transitions/mirror/ubuntu/dists
SERIES=wily

for arch in i386 amd64 armhf arm64 powerpc ppc64el; do
    OUTPUT=Packages_${arch}
    [ -e $OUTPUT ] && rm $OUTPUT
    for series in $SERIES-proposed $SERIES; do
        for component in main universe multiverse restricted; do
            zcat ${MIRROR}/${series}/${component}/binary-${arch}/Packages.gz \
                >> $OUTPUT
        done
    done
done

[ -e Sources ] && rm Sources
for series in $SERIES-proposed $SERIES; do
    for component in main universe multiverse restricted; do
	zcat ${MIRROR}/${series}/${component}/source/Sources.gz >> Sources
    done
done

rm -rf html text

ben tracker --quiet --update

mkdir -p text
for ben in config/monitor/*/*.ben; do
    case $ben in
        config/monitor/old/*) ;;
        config/monitor/finished/*) ;;
        *)
            base="$(basename "$ben" .ben)"
            ben monitor --quiet --text --use-cache --run-debcheck --config "$ben" >"text/$base.txt"
            ;;
    esac
done
ln -nsf . ../www/html
ln -nsf . ../www/text
cp -a index.html html/* text/* ../www/
rsync -aqL media/ ../www/media/

mkdir -p /srv/transitions/attic/
find /srv/transitions/www/ -maxdepth 1 -type f -mtime +1 -exec mv {} /srv/transitions/attic/ \;
Download as text