[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Fwd: Re: Where to submit feature requests?
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-06-07 13:55:08
[Download RAW message or body]

On Thursday 07 June 2001 14:54, Richard Bos wrote:
> From the kde-user list.  Is the bug database downloadable so people with a 
> slow connection can work it oflline.  It should be possible to download per 
> package/application otherwise the file be immens.

That's already possible, by mail.

See http://bugs.kde.org/server-request.html#introduction
it's all explained there.
Although, you get either indexes (per package, per maintainer etc.)
or details of a particular bug...
Well, you could parse the index and ask for the details of all those bugs
in one request mail, then sort all this out.

Another way is to wget the pages. I did that some time ago, when I had very
limited connection.

 wgetbug.sh:       (to get the index for a given package)
#!/bin/sh
wget http://bugs.kde.org/db/pa/l$1.html && mv -f l$1.html bugs.kde.org/db/pa/

 getallbugs.sh:     (to get all bugs for a given package)
#!/bin/sh
grep '#[0-9]*' bugs.kde.org/db/pa/l$1.html | keep '[0-9][0-9][0-9][0-9]' | sort | uniq | ./getbug.sh

getbug.sh:      (used by the script above)
#!/bin/sh
while read a; do
  prefix=`echo $a | sed -e 's/\([0-9][0-9]\).*/\1/'`;
  if [ ! -f  bugs.kde.org/db/$prefix/$a.html ]; then
    wget -c http://bugs.kde.org/db/$prefix/$a.html
    mkdir -p bugs.kde.org/db/$prefix
    mv $a.html bugs.kde.org/db/$prefix
  fi
done

Then you can browse bugs offline with Konqueror :)

viewbugs.sh:
#!/bin/sh
konqueror bugs.kde.org/db/pa/l$1.html

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic