RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1850025 - Add appstream metainfo for flatpak runtime and SDK in rhel OCI remote
Summary: Add appstream metainfo for flatpak runtime and SDK in rhel OCI remote
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: flatpak-runtime-container
Version: 8.3
Hardware: x86_64
OS: All
high
high
Target Milestone: rc
: 8.0
Assignee: Kalev Lember
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1815502
TreeView+ depends on / blocked
 
Reported: 2020-06-23 12:13 UTC by Martin Krajnak
Modified: 2021-08-07 05:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-05 12:56:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Richard Hughes 2020-06-30 10:57:30 UTC
Does this even work if you include them in appstream-data? There's no code in gnoem-software to read screenshots out of /usr for flatpaks. It's not something we've ever considered, nor do I think it's a good idea.

Comment 3 Martin Krajnak 2020-06-30 11:41:54 UTC
Hi kalev, I think the question regarding screenshots is something you can possibly answer, so adding needinfo.

Comment 4 Kalev Lember 2020-07-20 10:44:48 UTC
(In reply to Martin Krajnak from comment #3)
> Hi kalev, I think the question regarding screenshots is something you can
> possibly answer, so adding needinfo.

Hi Martin -- sorry for the delay, I was on PTO. I am indeed the right person to answer this :)

What we need is for the flatpak runtime and sdk to include the correct metainfo. This should get picked up automatically and automatically included as appstream data in the flatpak remote. We shouldn't need any appstream-data package changes here.

I'll investigate a bit how to do this best. appstream-data isn't the correct component here but I am not entirely sure yet where the fix should live. I'll update the component when we have come up with a plan for this.

Comment 5 Kalev Lember 2020-08-01 11:06:12 UTC
I discussed this with Owen and we came up with a plan to include the appstream metainfo in flatpak-runtime-config.

I went ahead and did that in Fedora (https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/520c65dbf85190cbfdc37a0390a2250cacadac53?branch=f32), and rebuilt the runtime and SDK flatpaks (https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2020-b63ed36598, https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2020-095cafd498)

For RHEL, I commited a similar change to flatpak-runtime-config (with a slightly more useful license field, <project_license>https://www.redhat.com/en/about/red-hat-end-user-license-agreements#</project_license>). I'd link to the commit if I could remember where the RHEL dist-git web UI lives :)

Anyway, what's missing here is that we need new flatpak runtime and SDK builds that include the flatpak-runtime-config changes. I'll be on PTO for two weeks and back on 17 August, and I can do them then, or if there's urgency in getting them out, Owen Taylor should be able to help here.

Comment 6 Owen Taylor 2020-08-20 18:37:24 UTC
Sorry, missed this earlier - I think we can still get the module rebuilt and signed. Could someone explain, however, how this blocks #1815502 - should't GNOME Software still be able to update an installed Flatpak runtime without appstream data?

Comment 7 Martin Krajnak 2020-08-21 04:54:51 UTC
If I understand correctly, this blocks bz1815502 because without appstream metadata I am not able to install a flatpak/runtime from the redhat remote, thus I am not able to verify the newly added webauth support that was introduced to gnome-software. I am not sure about updates, I think Kalev will know the answer for this.

Comment 8 Kalev Lember 2020-08-21 07:11:29 UTC
Yep, I think it only blocks the QA testing for https://bugzilla.redhat.com/show_bug.cgi?id=1815502 but nothing else. Updates should work just fine without the extra metadata.

Comment 9 Martin Krajnak 2020-08-24 10:18:31 UTC
(In reply to Kalev Lember from comment #5)

> Anyway, what's missing here is that we need new flatpak runtime and SDK
> builds that include the flatpak-runtime-config changes. I'll be on PTO for
> two weeks and back on 17 August, and I can do them then, or if there's
> urgency in getting them out, Owen Taylor should be able to help here.

Hi Kalev, please what is the status on this ?

Comment 10 Kalev Lember 2020-08-24 12:30:52 UTC
Still the same -- the appdata file is commited to git; I don't know how to do the actual build for the runtime and sdk and need to find Owen to figure out how to do that.


Note You need to log in before you can comment on or make changes to this bug.