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 781826 - portal support: Read /.flatpak-info
portal support: Read /.flatpak-info
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2017-04-27 11:23 UTC by Matthias Clasen
Modified: 2017-05-01 18:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
portal support: Read /.flatpak-info (1.25 KB, patch)
2017-04-27 11:23 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2017-04-27 11:23:38 UTC
The flatpak-info file was moved to a different location a while
ago, we should read it from there instead of relying on the
compat symlink. One advantage is that this is a fixed, short
path, we don't have to construct one dynamically.
Comment 1 Matthias Clasen 2017-04-27 11:23:47 UTC
Created attachment 350542 [details] [review]
portal support: Read /.flatpak-info
Comment 2 Philip Withnall 2017-05-01 07:42:59 UTC
Review of attachment 350542 [details] [review]:

> The flatpak-info file was moved to a different location a while ago

How many releases ago?

The code looks fine to me; I don’t know anything about the flatpak side of things here though.
Comment 3 Matthias Clasen 2017-05-01 18:12:21 UTC
This change happened in 0.6.10. All stable distros (debian, rhel, etc) ship 0.8 at this point.
Comment 4 Matthias Clasen 2017-05-01 18:16:08 UTC
Attachment 350542 [details] pushed as 82e31de - portal support: Read /.flatpak-info