Skip to content

update: Fix OCI updates in the system repo - #2891

Closed
alexlarsson wants to merge 4 commits into
flatpak:masterfrom
alexlarsson:fix-oci-update
Closed

alexlarsson wants to merge 4 commits into
flatpak:masterfrom
alexlarsson:fix-oci-update

Conversation

@alexlarsson

Copy link
Copy Markdown
Member

We need to check whether the remote is gpg verified after handling the oci case, because OCI is fine to update systemwide without gpg verification (in fact it doesn't support verification).

This just reorders the code, matching what is done in the install case already.

This also adds test for this (that are broken before the last commit, and ok after it).

@owtaylor Does this look right to you?

This tests dependencies and stuff too. Also we run it to make sure it works.
This is currently failing with:
  Can't pull from untrusted non-gpg verified remote
We need to check whether the remote is gpg verified after handling
the oci case, because OCI is fine to update systemwide without gpg
verification (in fact it doesn't support verification).

This just reorders the code, matching what is done in the install
case already.
@alexlarsson

Copy link
Copy Markdown
Member Author

@kalev Once this lands you should probably cherry-pick the last commit to the fedora package, as if fixes updates (https://lists.fedoraproject.org/archives/list/[email protected]/thread/5RNHD5GRFNPIR54QBOXFFHFBSVQQVWA57)

@kalev

kalev commented May 8, 2019

Copy link
Copy Markdown
Contributor

Will do! Thanks Alex.

@alexlarsson

Copy link
Copy Markdown
Member Author

@rh-atomic-bot r+

@rh-atomic-bot

Copy link
Copy Markdown

📌 Commit bf7a604 has been approved by alexlarsson

@rh-atomic-bot

Copy link
Copy Markdown

⌛ Testing commit bf7a604 with merge 4c4c80b...

rh-atomic-bot pushed a commit that referenced this pull request May 9, 2019
rh-atomic-bot pushed a commit that referenced this pull request May 9, 2019
This is currently failing with:
  Can't pull from untrusted non-gpg verified remote

Closes: #2891
Approved by: alexlarsson
rh-atomic-bot pushed a commit that referenced this pull request May 9, 2019
We need to check whether the remote is gpg verified after handling
the oci case, because OCI is fine to update systemwide without gpg
verification (in fact it doesn't support verification).

This just reorders the code, matching what is done in the install
case already.

Closes: #2891
Approved by: alexlarsson
@rh-atomic-bot

Copy link
Copy Markdown

☀️ Test successful - status-papr
Approved by: alexlarsson
Pushing 4c4c80b to master...

alexlarsson added a commit to alexlarsson/flatpak that referenced this pull request Sep 19, 2019
We need to check whether the remote is gpg verified after handling
the oci case, because OCI is fine to update systemwide without gpg
verification (in fact it doesn't support verification).

This just reorders the code, matching what is done in the install
case already.

Closes: flatpak#2891
Approved by: alexlarsson

(cherry picked from commit 4c4c80b)
rh-atomic-bot pushed a commit that referenced this pull request Sep 19, 2019
We need to check whether the remote is gpg verified after handling
the oci case, because OCI is fine to update systemwide without gpg
verification (in fact it doesn't support verification).

This just reorders the code, matching what is done in the install
case already.

Closes: #2891
Approved by: alexlarsson

(cherry picked from commit 4c4c80b)

Closes: #3115
Approved by: alexlarsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants