3 cd /org/bugs.debian.org/versions/indices
5 ARCHIVES='ftp' # security -- should be included too, but too difficult to deal with
7 # Nuke old versions of versions.idx.new in case there's one hanging about
9 # This index is much larger and keeps track of historic versions of
10 # packages, and is used for expiring bugs
11 rm -f versions_time.idx.new
12 if [ -e versions_time.idx ]; then
13 cp versions_time.idx versions_time.idx.new;
17 ../bin/build-versions-db versions.idx.new versions_time.idx.new \
18 /srv/bugs.debian.org/versions/indices/ftp \
19 oldstable stable proposed-updates \
21 testing-proposed-updates \
25 # This removes old versions
26 ../bin/versions_time_cleanup
28 chmod 664 versions.idx.new
29 mv versions.idx.new versions.idx
31 chmod 664 versions_time.idx.new
32 mv versions_time.idx.new versions_time.idx