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 711801 - giomodule: Allow overriding source directory gio modules are loaded from
giomodule: Allow overriding source directory gio modules are loaded from
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 634045 (view as bug list)
Depends on:
Blocks: 711799
 
 
Reported: 2013-11-10 21:02 UTC by Stef Walter
Modified: 2013-11-23 06:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
giomodule: Allow overriding source directory gio modules are loaded from (1.21 KB, patch)
2013-11-10 21:03 UTC, Stef Walter
needs-work Details | Review
giomodule: Allow overriding source directory gio modules are loaded from (2.24 KB, patch)
2013-11-11 07:40 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-11-10 21:02:57 UTC
This keeps coming up ... but we need a way to override the location that gio
loads its modules from. This is especially important when doing testing,
as it's otherwise not possible to build a predictable environment.

In particular this causes leaks from the installed version of gvfs to
prevent testing for leaks in gio.
Comment 1 Stef Walter 2013-11-10 21:03:03 UTC
Created attachment 259471 [details] [review]
giomodule: Allow overriding source directory gio modules are loaded from

When testing (and valgrinding) we need to have a known set of modules
loaded.
Comment 2 Matthias Clasen 2013-11-11 02:22:14 UTC
Review of attachment 259471 [details] [review]:

This is missing the documentation part. We have a list of all env vars affecting GIO operation in docs/reference/gio/overview.xml, in the section 'Running GIO applications'.
Comment 3 Stef Walter 2013-11-11 07:40:08 UTC
Created attachment 259531 [details] [review]
giomodule: Allow overriding source directory gio modules are loaded from

When testing (and valgrinding) we need to have a known set of modules
loaded.
Comment 4 Stef Walter 2013-11-11 07:40:37 UTC
(In reply to comment #2)
> This is missing the documentation part. We have a list of all env vars
> affecting GIO operation in docs/reference/gio/overview.xml, in the section
> 'Running GIO applications'.

Done.
Comment 5 Matthias Clasen 2013-11-11 13:46:57 UTC
Review of attachment 259531 [details] [review]:

ok
Comment 6 Matthias Clasen 2013-11-23 06:18:15 UTC
Attachment 259531 [details] pushed as e3babb3 - giomodule: Allow overriding source directory gio modules are loaded from
Comment 7 A. Walton 2013-11-23 06:42:08 UTC
*** Bug 634045 has been marked as a duplicate of this bug. ***