Bug 436539

Summary: Display next rebase to next ref button only when next release is stable
Product: [Applications] Discover Reporter: Timothée Ravier <travier>
Component: rpm-ostree BackendAssignee: Timothée Ravier <travier>
Status: RESOLVED FIXED    
Severity: normal CC: 4wy78uwh, aleixpol, mariamfahmy66, nate, null, tim
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:

Description Timothée Ravier 2021-05-03 15:38:37 UTC
SUMMARY

The rpm-ostree backend currently shows the next refs (i.e. major version) to rebase to as soon as it is available in the upstream repo which is usually too soon (Fedora gets branched a couple of months before the release).

We should figure out how GNOME Software does the check for the next Fedora release to be able to display the rebase button only when the next version of Fedora Kinoite is effectively available.

STEPS TO REPRODUCE
1. Be on version N, have version N+1 branched (ref available) but not yet released as stable
2. Fetch updates

OBSERVED RESULT

Rebase to N+1 available

EXPECTED RESULT

No rebase offered

SOFTWARE/OS VERSIONS

Fedora Kinoite only
Comment 1 Roke Julian Lockhart Beedell 2021-11-01 16:20:52 UTC
(In reply to Timothée Ravier from comment #0)
> SUMMARY
> 
> The rpm-ostree backend currently shows the next refs (i.e. major version) to
> rebase to as soon as it is available in the upstream repo which is usually
> too soon (Fedora gets branched a couple of months before the release).
> 
> We should figure out how GNOME Software does the check for the next Fedora
> release to be able to display the rebase button only when the next version
> of Fedora Kinoite is effectively available.
> 
> STEPS TO REPRODUCE
> 1. Be on version N, have version N+1 branched (ref available) but not yet
> released as stable
> 2. Fetch updates
> 
> OBSERVED RESULT
> 
> Rebase to N+1 available
> 
> EXPECTED RESULT
> 
> No rebase offered
> 
> SOFTWARE/OS VERSIONS
> 
> Fedora Kinoite only
Comment 2 Timothée Ravier 2022-11-08 23:00:29 UTC
This has been fixed with https://invent.kde.org/plasma/discover/-/merge_requests/403 and will be in Plasma 5.27.