Bug#671854: devscripts: grep-excuses should cache excuses files

May 07th, 2012 - 11:00 am ET by Julian Gilbey | Report spam
Package: devscripts
Version: 2.11.6
Severity: wishlist

The excuses files come to a total of over 1MB. It would be great for
grep-excuses to cache them in the same way that bts caches its bug
reports so that they are not repeatedly downloaded if multiple queries
are executed in separate commands.

Thanks!

Julian



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 James McCoy
May 07th, 2012 - 06:00 pm ET | Report spam

On Mon, May 07, 2012 at 03:46:52PM +0100, Julian Gilbey wrote:
The excuses files come to a total of over 1MB. It would be great for
grep-excuses to cache them in the same way that bts caches its bug
reports so that they are not repeatedly downloaded if multiple queries
are executed in separate commands.



We actually used to do that, but it was removed for #309802. We were
even honoring the Last-Modified header so it wouldn't be re-downloaded
unnecessarily.

I think the correct fix for that bug would've been to use a tempfile
instead of the cache directory if the cache directory wasn't writable,
so let's do that now.

James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics