Bug 436539 - Display next rebase to next ref button only when next release is stable
Summary: Display next rebase to next ref button only when next release is stable
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: rpm-ostree Backend (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Timothée Ravier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-03 15:38 UTC by Timothée Ravier
Modified: 2022-11-08 23:00 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.27
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.