Description of problem:
When testing if Fedora 36 can upgrade to the Fedora 37 pre-release, following the test case instructions (https://fedoraproject.org/wiki/QA:Testcase_upgrade_gnome-software_current_workstation) should result in GNOME Software showing a notification to upgrade.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot a Fedora 36 VM
2. Do a system update via GNOME Software and reboot
3. Log in/out or reboot
4. Run gsettings set org.gnome.software show-upgrade-prerelease true and optionally set upgrade-notification-timestamp
5. Wait for notification. If no notification appears, open GNOME Software and click the refresh button manually
No notification appears. No prompt to upgrade appears when refreshing the updates tab.
Prompt or notification to upgrade appears.
Thanks for a bug report. The problem is that the
returns version `devel`, instead of `37`, for the pre-release.
I opened this there:
Please see it for any further updates.
This is a Beta blocker:
Reopening for blocker-tracking purposes.
https://pagure.io/fedora-infra/ansible/pull-request/1180 is merged and https://admin.fedoraproject.org/pkgdb/api/collections/ looks correct to me. @kparal can you verify?
Works fine for me now, but I'll keep the final word to Kamil.
One note, the gnome-software does not refresh the info every time it's asked for, there is set some delay between downloads of the data from the server. If it won't offer you the pre-release, close the gnome-software (`gnome-software --quit`) and then move away ~/.cache/gnome-software/fedora-pkgdb-collections/fedora.json , the file will be re-downloaded the next start. The file had been updated automatically for me, no file playing needed, because I had gnome-software off for a day or more.
I can confirm that on both F35 and F36, gnome-software now detects F37 Beta (after following the testcase instructions), packages can be downloaded and the upgrade process started.