Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: downgraded (and masked) application shows end-of-life notification on update #5805

Open
4 tasks done
Mershl opened this issue May 4, 2024 · 0 comments
Open
4 tasks done

Comments

@Mershl
Copy link

Mershl commented May 4, 2024

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).

Flatpak version

1.15.8

What Linux distribution are you using?

Fedora Linux

Linux distribution version

40

What architecture are you using?

x86_64

How to reproduce

  1. Find an application which's branch is marked EOL
  2. Downgrade the application to an commit of this branch that is not marked EOL
  3. Lock the commit using flatpak mask
  4. Run flatpak update
  5. flatpak update shows: app org.some.appid branch stable is end-of-life, with reason

Commands to reproduce with org.yuzu_emu.yuzu as an example (shortened to just the app, skipping the locale):

$ flatpak remote-info --log flathub org.yuzu_emu.yuzu
     Commit: cb48bfe2bb3ffcdc42c970d67aa2050a5e03c7da74ad45409ffd17dc1dd71fdb
End-of-life: This application is no longer maintained. See https://yuzu-emu.org/ for details.
    Subject: Update yuzu-mainline.git to mainline-0-1734 (4abf1d23)
       Date: 2024-03-04 17:00:01 +0000
    History: 

     Commit: 810b9c3f6b2e4b0bd0eaa99a3d1a222c01b1a3813d4ecf4ce9193d686fb1ec07
    Subject: Update yuzu-mainline.git to mainline-0-1734 (4abf1d23)
       Date: 2024-03-04 17:00:01 +0000
$ sudo flatpak update org.yuzu_emu.yuzu --commit 810b9c3f6b2e4b0bd0eaa99a3d1a222c01b1a3813d4ecf4ce9193d686fb1ec07
$ sudo flatpak mask org.yuzu_emu.yuzu
$ flatpak update
Info: app org.yuzu_emu.yuzu branch stable is end-of-life, with reason:

Expected Behavior

An EOL notice on flatpak update is unexpected as the locked-on commit (using flatpak mask) is not marked EOL.

Actual Behavior

flatpak update reports Info: app org.some.appid branch stable is end-of-life, with reason.

Important to note: the report changes from "commit" to "branch". I'd not expect a branch EOL notice for a locked-on non-EOL commit.

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant