GNOME Bugzilla – Bug 777196
geocode-nominatim: Allow the cache path to be adjusted
Last modified: 2019-03-20 10:41:47 UTC
Split off from discussion in https://bugzilla.gnome.org/show_bug.cgi?id=756311#c160. I still think it’s a good idea to allow these things to be configurable on a per-object basis rather than using global shared state ($XDG_CACHE_HOME) for them, but in the case of ensuring the unit tests don’t use a common cache, setting $XDG_CACHE_HOME works fine.
Created attachment 343394 [details] [review] geocode-nominatim: Allow the cache path to be adjusted Instead of always using the cache in $XDG_CACHE_HOME/geocode-glib, allow the path to be customised, and set it to a temporary directory while running the tests so we don’t accidentally use (or pollute) the user’s actual cache. https://bugzilla.gnome.org/show_bug.cgi?id=756311
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/geocode-glib/issues/19.