| 1 |
#!/bin/sh |
#!/bin/sh |
| 2 |
|
|
| 3 |
# Copyright 2002 Raphaël Hertzog |
# Copyright 2002-2008 Raphaël Hertzog |
| 4 |
|
# Copyright 2007-2008 Stefano Zacchiroli <zack@debian.org> |
| 5 |
|
|
| 6 |
# This file is distributed under the terms of the General Public License |
# This file is distributed under the terms of the General Public License |
| 7 |
# version 2 or (at your option) any later version. |
# version 2 or (at your option) any later version. |
| 8 |
|
|
| 9 |
#mirror="http://gluck.debian.org/debian" |
#mirror="http://gluck.debian.org/debian" |
| 10 |
mirror="http://ftp.us.debian.org/debian" |
mirror="http://ftp.us.debian.org/debian" |
| 11 |
#mirror="http://ftp.debian.org/debian" |
security="http://security.debian.org" |
| 12 |
|
volatile="http://volatile.debian.org" |
| 13 |
|
|
| 14 |
|
official_distros="oldstable stable testing unstable experimental" |
| 15 |
|
pu_distros="stable-proposed-updates testing-proposed-updates" |
| 16 |
|
security_distros="oldstable stable" |
| 17 |
|
|
| 18 |
umask 002 |
umask 002 |
| 19 |
set -e |
set -e |
| 57 |
# Download all Sources.gz |
# Download all Sources.gz |
| 58 |
for comp in main contrib non-free |
for comp in main contrib non-free |
| 59 |
do |
do |
| 60 |
for dist in oldstable stable testing unstable experimental |
for dist in $official_distros ; do |
| 61 |
do |
nice_wget $mirror/dists/$dist/$comp/source/Sources.gz \ |
| 62 |
nice_wget $mirror/dists/$dist/$comp/source/Sources.gz \ |
Sources-${dist}_$comp.gz |
| 63 |
Sources_${dist}_$comp.gz |
done |
| 64 |
|
for dist in $pu_distros ; do |
| 65 |
|
nice_wget $mirror/dists/$dist/$comp/source/Sources.gz \ |
| 66 |
|
Sources-${dist}_$comp.gz |
| 67 |
done |
done |
| 68 |
nice_wget $mirror/dists/stable-proposed-updates/$comp/source/Sources.gz \ |
for dist in $security_distros ; do |
| 69 |
Sources-spu_$comp.gz |
nice_wget $security/dists/$dist/updates/$comp/source/Sources.gz \ |
| 70 |
nice_wget $mirror/dists/testing-proposed-updates/$comp/source/Sources.gz \ |
Sources-security-${dist}_$comp.gz |
| 71 |
Sources-tpu_$comp.gz |
done |
| 72 |
nice_wget http://security.debian.org/dists/oldstable/updates/$comp/source/Sources.gz \ |
nice_wget $volatile/debian-volatile/dists/stable/volatile/$comp/source/Sources.gz \ |
|
Sources-security-oldstable_$comp.gz |
|
|
nice_wget http://security.debian.org/dists/stable/updates/$comp/source/Sources.gz \ |
|
|
Sources-security-stable_$comp.gz |
|
|
#nice_wget http://security.debian.org/dists/testing/updates/$comp/source/Sources.gz \ |
|
|
#Sources-security-testing_$comp.gz |
|
|
nice_wget http://volatile.debian.org/debian-volatile/dists/stable/volatile/$comp/source/Sources.gz \ |
|
| 73 |
Sources-volatile_$comp.gz |
Sources-volatile_$comp.gz |
| 74 |
done |
done |
| 75 |
|
|
| 80 |
Sources-mentors_$comp.gz |
Sources-mentors_$comp.gz |
| 81 |
done |
done |
| 82 |
|
|
|
|
|
| 83 |
# Download update_excuses.html |
# Download update_excuses.html |
| 84 |
nice_wget http://ftp-master.debian.org/testing/update_excuses.html.gz \ |
nice_wget http://ftp-master.debian.org/testing/update_excuses.html.gz \ |
| 85 |
update_excuses.html.gz |
update_excuses.html.gz |
| 86 |
|
|
| 87 |
# Download PTS subscription count |
# Download PTS subscription count |
| 88 |
nice_wget http://packages.qa.debian.org/data/pts-subscription-count.txt count.txt |
nice_wget http://packages.qa.debian.org/data/pts-subscription-count.txt \ |
| 89 |
|
count.txt |
| 90 |
|
|
| 91 |
# Download override disparities |
# Download override disparities |
| 92 |
nice_wget http://qa.debian.org/data/ftp/override-disparities.unstable \ |
nice_wget http://qa.debian.org/data/ftp/override-disparities.unstable \ |
| 128 |
# get patches from ubuntu |
# get patches from ubuntu |
| 129 |
nice_wget http://patches.ubuntu.com/PATCHES patches.ubuntu |
nice_wget http://patches.ubuntu.com/PATCHES patches.ubuntu |
| 130 |
# get packages version in Ubuntu (preprocessed by Lucas on merkel) |
# get packages version in Ubuntu (preprocessed by Lucas on merkel) |
| 131 |
nice_wget http://qa.debian.org/~lucas/ubuntu/sources-versions.txt versions.ubuntu |
nice_wget http://qa.debian.org/~lucas/ubuntu/sources-versions.txt \ |
| 132 |
|
versions.ubuntu |
| 133 |
# get bugs in Ubuntu (preprocessed by Lucas on merkel) |
# get bugs in Ubuntu (preprocessed by Lucas on merkel) |
| 134 |
nice_wget http://qa.debian.org/~lucas/ubuntu/ubuntu-bugs.txt bugs.ubuntu |
nice_wget http://qa.debian.org/~lucas/ubuntu/ubuntu-bugs.txt bugs.ubuntu |
| 135 |
|
|