[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#388992: marked as done (please provide smaller-sized index.*.db files)



Your message dated Fri, 05 Dec 2008 22:22:05 +0900
with message-id <87skp2iwoy.dancerj%dancer@netfort.gr.jp>
and subject line index.db files no longer used in apt-listbugs
has caused the Debian Bug report #388992,
regarding please provide smaller-sized index.*.db files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
388992: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388992
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project


--- End Message ---
--- Begin Message ---
Hi,


commit c98d39c07a0f333d031b3f013d191b13570140b6
Author: Junichi Uekawa <dancer@coreduo.netfort.gr.jp>
Date:   Sat Jun 23 20:24:22 2007 +0900

    * deprecate --indexdir option
    * use BTS Soap interface to obtain index file, not index.db-XXX files.



I guess I can close this bug now.


--- End Message ---

Reply to: