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;
16 ../bin/build-versions-db versions.idx.new versions_time.idx.new \
17 /srv/bugs.debian.org/versions/indices/ftp \
18 oldstable stable proposed-updates \
20 testing-proposed-updates \
24 # This removes old versions
25 ../bin/versions_time_cleanup
27 chmod 664 versions.idx.new
28 mv versions.idx.new versions.idx
30 chmod 664 versions_time.idx.new
31 mv versions_time.idx.new versions_time.idx