Skip to content

OCI: correctly handle locally present icons - #3048

Closed
owtaylor wants to merge 1 commit into
flatpak:masterfrom
owtaylor:oci-icon-caching
Closed

owtaylor wants to merge 1 commit into
flatpak:masterfrom
owtaylor:oci-icon-caching

Conversation

@owtaylor

@owtaylor owtaylor commented Aug 7, 2019

Copy link
Copy Markdown
Contributor

If the download URL for an icon was already cached locally, the HTTP
code returned FLATPAK_OCI_ERROR_NOT_CHANGED - this was treated as a real
error, and after downloading missing icons, all present icons were
deleted!

See https://bugzilla.redhat.com/show_bug.cgi?id=1683375

If the download URL for an icon was already cached locally, the HTTP
code returned FLATPAK_OCI_ERROR_NOT_CHANGED - this was treated as a real
error, and after downloading missing icons, all present icons were
deleted!

See https://bugzilla.redhat.com/show_bug.cgi?id=1683375
@rh-atomic-bot

Copy link
Copy Markdown

Can one of the admins verify this patch?
I understand the following commands:

  • bot, add author to whitelist
  • bot, test pull request
  • bot, test pull request once

@alexlarsson

Copy link
Copy Markdown
Member

@rh-atomic-bot r+

@rh-atomic-bot

Copy link
Copy Markdown

📌 Commit e71b7d5 has been approved by alexlarsson

@rh-atomic-bot

Copy link
Copy Markdown

⌛ Testing commit e71b7d5 with merge a794c07...

@rh-atomic-bot

Copy link
Copy Markdown

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

alexlarsson pushed a commit to alexlarsson/flatpak that referenced this pull request Sep 18, 2019
If the download URL for an icon was already cached locally, the HTTP
code returned FLATPAK_OCI_ERROR_NOT_CHANGED - this was treated as a real
error, and after downloading missing icons, all present icons were
deleted!

See https://bugzilla.redhat.com/show_bug.cgi?id=1683375

Closes: flatpak#3048
Approved by: alexlarsson

(cherry picked from commit a794c07)
rh-atomic-bot pushed a commit that referenced this pull request Sep 18, 2019
If the download URL for an icon was already cached locally, the HTTP
code returned FLATPAK_OCI_ERROR_NOT_CHANGED - this was treated as a real
error, and after downloading missing icons, all present icons were
deleted!

See https://bugzilla.redhat.com/show_bug.cgi?id=1683375

Closes: #3048
Approved by: alexlarsson

(cherry picked from commit a794c07)

Closes: #3111
Approved by: alexlarsson
alexlarsson pushed a commit that referenced this pull request Sep 18, 2019
If the download URL for an icon was already cached locally, the HTTP
code returned FLATPAK_OCI_ERROR_NOT_CHANGED - this was treated as a real
error, and after downloading missing icons, all present icons were
deleted!

See https://bugzilla.redhat.com/show_bug.cgi?id=1683375

Closes: #3048
Approved by: alexlarsson

(cherry picked from commit a794c07)
alexlarsson pushed a commit to alexlarsson/flatpak that referenced this pull request Sep 19, 2019
If the download URL for an icon was already cached locally, the HTTP
code returned FLATPAK_OCI_ERROR_NOT_CHANGED - this was treated as a real
error, and after downloading missing icons, all present icons were
deleted!

See https://bugzilla.redhat.com/show_bug.cgi?id=1683375

Closes: flatpak#3048
Approved by: alexlarsson

(cherry picked from commit a794c07)
(cherry picked from commit 767a9d5)
rh-atomic-bot pushed a commit that referenced this pull request Sep 19, 2019
If the download URL for an icon was already cached locally, the HTTP
code returned FLATPAK_OCI_ERROR_NOT_CHANGED - this was treated as a real
error, and after downloading missing icons, all present icons were
deleted!

See https://bugzilla.redhat.com/show_bug.cgi?id=1683375

Closes: #3048
Approved by: alexlarsson

(cherry picked from commit a794c07)
(cherry picked from commit 767a9d5)

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