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

James McCoy jamessan at debian.org
Mon May 7 21:49:44 UTC 2012


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 <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20120507/e4a3c99c/attachment.pgp>


More information about the Devscripts-devel mailing list