GNU bug report logs - #35683
wishlist: addessing statefulness of .cache(s)

Previous Next

Package: guix;

Reported by: Giovanni Biscuolo <g <at> xelera.eu>

Date: Sat, 11 May 2019 07:34:01 UTC

Severity: wishlist

Full log


Message #26 received at 35683 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Giovanni Biscuolo <g <at> xelera.eu>
Cc: 35683 <at> debbugs.gnu.org
Subject: Re: bug#35683: wishlist: addessing statefulness of .cache(s)
Date: Sun, 12 May 2019 11:32:42 +0200
[Message part 1 (text/plain, inline)]
> --8<---------------cut here---------------start------------->8---
> What should we do about this?  For gdm I think it would make sense to
> add an activation service extension that clears the gdm user’s home
> directory.  And more generally, maybe we should offer a generic cache
> cleaner service.

I don't like that workaround much.  I mean for the time being I guess it's
OK, but let's file bug reports upstream so they are aware of the problem.

Better would be if the cache directory contained a "cache-protocol-version"
file or something and make the client program heed it and make it clear the
cache if it's the wrong version, without any Guix special case (the problem
is not not Guix-specific anyway).

It's not exactly difficult.   Most of the time the bug reports just don't
get filed--and cache invalidation is always an afterthought when 
implementing a cache (sadly).

If they say no we can still keep the workaround.
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 6 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.