#231 Document how to use minorbump with %autorelease
Closed: Invalid 4 months ago by nphilipp. Opened 8 months ago by mattia.

The docs miss the important part on how to push a minorbump to an older release without having to bump pkgrel to all newer releases.

Example: I have foo-1.0.0-1.fc36 and foo-1.0.0-1.fc35
I want to bump the F35 package to foo-1.0.0-1.fc35.1
How can I do that? I can add the .1 after %autorelease, but after committing to the F35 branch I suppose I will have a pkgrel bump...

Sorry for responding this late.

This is a downside of the simplified "bump the release for each commit" algorithm which FESCO asked us to use rather than the (supposedly more sophisticated but also much more complicated and less robust) algorithm we started implementing in the prototype which should have done what you want without intervention of the package maintainer. However, we don't need minor bumps because there is no requirement for a clean E-V-R upgrades between Fedora releases anymore, i.e. the upgrade mechanisms essentially do something like dnf distro-sync which would in this case simply downgrade the package from -2.fc35 to -1.fc36.

Metadata Update from @nphilipp:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

4 months ago

Login to comment on this ticket.