After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777196 - geocode-nominatim: Allow the cache path to be adjusted
geocode-nominatim: Allow the cache path to be adjusted
Status: RESOLVED OBSOLETE
Product: geocode-glib
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: geocode-glib maintainer(s)
geocode-glib maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-01-12 23:36 UTC by Philip Withnall
Modified: 2019-03-20 10:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
geocode-nominatim: Allow the cache path to be adjusted (19.51 KB, patch)
2017-01-12 23:37 UTC, Philip Withnall
none Details | Review

Description Philip Withnall 2017-01-12 23:36:56 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.
Comment 1 Philip Withnall 2017-01-12 23:37:01 UTC
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
Comment 2 GNOME Infrastructure Team 2019-03-20 10:41:47 UTC
-- 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.