Jimmy Berry
f51dc98850
osclib/memoize: provide memoize_session_reset().
...
Allows all session caches to be reset.
2018-04-27 15:35:48 -05:00
Jimmy Berry
e39a51821e
osclib/memoize: include first argument, sometimes instance, in cache key.
...
Otherwise, multiple StagingAPI instances which are unique per project
will share caches for short-hand projects. For example:
StagingAPI.project_status('adi:1') called on two different instances will
share a cache.
2017-10-25 17:43:17 -05:00
Alberto Planas
f5e1d88dcf
Use better parameter name.
2015-08-28 10:46:04 +02:00
Alberto Planas
66b0d346a3
Add external invalidation mechanism to memoize.
2015-08-03 13:21:44 +02:00
Ludwig Nussel
ce2ffdcaf2
add fallback for missing save_cache_path
...
python-xdg on sle11 lacks save_cache_path so add fallback. Needed for
changelog-checker which runs on sle11 atm.
2015-06-09 11:32:55 +02:00
fd6ed0d813
Memoize can now store the cache in memory
2014-09-18 16:05:50 +02:00
Ludwig Nussel
a8d7bdddae
use XDG_CACHE_HOME for cache dir
2014-09-03 16:00:48 +02:00
e96f85dc38
More refactoring:
...
- Extract all the graph and cycle logic.
- Extract memoize.
- Start with CheckRepo.
2014-06-04 11:04:37 +02:00