Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1757774

Summary: error: Unsupported URI scheme “oci+https”
Product: Red Hat Enterprise Linux 8 Reporter: Martin Krajnak <mkrajnak>
Component: flatpakAssignee: David King <dking>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.1CC: alexl, jkoten, mclasen, tpelka, tpopela
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1757791 (view as bug list) Environment:
Last Closed: 2020-09-09 13:56:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1739559, 1757791, 1825061    

Description Martin Krajnak 2019-10-02 12:15:19 UTC
Description of problem:
$ flatpak remote-info OCI org.mozilla.Firefox
error: Unsupported URI scheme “oci+https”


Version-Release number of selected component (if applicable):
flatpak-1.0.6-4.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1.Add OCI remote
$ flatpak remote-add --user OCI oci+https://registry.fedoraproject.org

2.Send query for info:
$ flatpak remote-info OCI org.mozilla.Firefox

Actual results:
error: Unsupported URI scheme “oci+https”

Expected results:
Command should fetch the info, I am not sure why there is "oci+https" when enabling remote but it has to be there otherwise the remote is not added

$ flatpak remote-add --user fedora https://registry.fedoraproject.org
error: GPG verification enabled, but no summary found (check that the configured URL in remote config is correct)

Additional info:

Comment 1 Matthias Clasen 2020-05-27 13:17:07 UTC
Alex points out that this is fixed in https://github.com/flatpak/flatpak/commit/cf49bd4ac80404e23ba1d4198706dc3993766c49

Comment 2 David King 2020-05-27 15:53:11 UTC
(In reply to Matthias Clasen from comment #1)
> Alex points out that this is fixed in
> https://github.com/flatpak/flatpak/commit/
> cf49bd4ac80404e23ba1d4198706dc3993766c49

Having a quick look at the merge request that this came from (as it seems like the whole series of commits would be required): https://github.com/flatpak/flatpak/pull/3597 it seems to depend on parts of the sideload feature, which in turn seems to depend on variant-schema-compiler, neither of which are on the 1.6 branch. Before I go and rebase/backport a load of stuff for just that patch, is that thinking way off? The variant-schema-compiler changes seem OK to workaround, but the sideload changes look a little complicated to me. Any idea, Alex?

Comment 3 Alexander Larsson 2020-06-01 15:05:35 UTC
I think you need essentially:
2028a5323fcf39a40c833f0311f768885d972b21
56f530ca1f18f0b10f31870251d6419be9a98e87
cf49bd4ac80404e23ba1d4198706dc3993766c49

However, these will require quite some changes to backport due to other changes in the codebase. Nothing that is fundamentally hard though, just e.g. doing the same thing with gvariant apis instead of the new apis.

Comment 4 Alexander Larsson 2020-06-17 09:21:38 UTC
I looked at this again, and there is a lot that changed in how transactions work in flatpak 1.8 that make this change work. To work in 1.6 we have to re-implement the feature, which is not impossible, but quite some work. I don't think its worth it at this point and we should rather rebase to 1.8 (out soon) with the fix instead of doing major changes to the old codebase.

Comment 5 Tomas Popela 2020-06-17 15:03:15 UTC
Thank you Alex for the update. We agreed on the SST meeting that we will move this to 8.4 and deal with it as part of the possible flatpak update.

Comment 8 Tomas Popela 2020-09-09 13:56:26 UTC
Closing as a duplicate of bug 1851958 that was created for the Flatpak 1.8 rebase. The fix for this bug will be part of the rebase.

*** This bug has been marked as a duplicate of bug 1851958 ***