[Bug 797323] cerbero: Store local sources in a user-wide location
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Oct 23 09:11:36 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797323
--- Comment #3 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #2)
> Review of attachment 374007 [details] [review]:
>
> ::: cerbero/config.py
> @@ +560,3 @@
> + else:
> + cache_dir = Path.home() / '.cache'
> + return (cache_dir / 'cerbero-sources').resolve().as_posix()
>
> Is there nothing like g_get_user_cache_dir()? For macOS and Windows there's
> AFAIU a default place for these things (on Windows where also Internet
> Explorer stores its cache, for example).
There isn't afaik, and we also don't want to use those dirs since they're
usually hard to find (esp on Windows) and it is a common use-case to want to
edit the sources in local_sources while doing development with Cerbero.
It also makes it simpler to document the location where they will be found.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list