Skip to content

Added system cache

Benjamin Winger requested to merge bmwinger/portmod:system_cache into master

Allows invalidating caches which are dependent on external changes and may change over time.

This is primarily meant for !430 (closed), as long-running GUI processes might easily lead to caches becoming out of date (user could edit a file manually, etc.). I'm not sure how exactly it should be integrated, but the system cache should be cleared at the very least prior to any major operation such as installation.

I also got typing set up for the custom cache functions so that the cache_clear function is properly recognised.

Merge request reports