Package: debbugs

Hi,

Please provide the smaller-sized index.*.db files.  They are used by
apt-listbugs, to avoid downloading the full index.db.  They need to be
available on the bugs.debian.org/ webserver; preferrably as static
files to avoid overloading the webserver.

apt-listbugs will then query the soap interface for individual status
of the packages.



Following is the currently-used implementation:

update-index-db:
#!/bin/sh
# update apt-listbugs index.db on merkel.debian.org
# merkel.debian.org has 
# apt-listbugs/ -- files for apt-listbugs
#   db-h/ symlink to /org/bugs.debian.org/spool/db-h
# public_html/
#   apt-listbugs/ symlink to ~/apt-listbugs
# bin/
#   update-index.db

INDEXDB=/org/bugs.debian.org/spool/index.db
DBDIR=/org/bugs.debian.org/spool/db-h/
OUTDIR=$HOME/apt-listbugs/
OUT=$OUTDIR/index.db

SEVERITIES="critical grave important serious normal minor wishlist"

if ! test -f $OUT || test `md5sum $INDEXDB | cut -d' ' -f1` != `md5sum $OUT | 
cut -d' ' -f1`; then
  /bin/cp $INDEXDB $OUT
  gzip -c $OUT > $OUT.gz

  # index db by severity
  for sev in $SEVERITIES; do
    grep $sev $OUT > $OUT-$sev
    gzip -f $OUT-$sev
  done

fi


regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to