This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.
Policies and guidelines: N/A (not needed for this Change)
Trademark approval: N/A (not needed for this Change)
Alignment with Community Initiatives: None
Upgrade/compatibility impact
How To Test
Rpm receives a thorough and constant testing via every single package build, system installs and updates. New features can be tested specifically as per their documentation.
User Experience
There are no major differences in the normal user experience.
If you are in favor but have reservations, or are opposed but something could change your mind, please explain in a reply.
We want everyone to be heard, but many posts repeating the same thing actually makes that harder. If you have something new to say, please say it. If, instead, you find someone has already covered what youâd like to express, please simply giving that post a instead of reiterating. You can even do this by email, by replying with the heart emoji or just â+1â. This will make long topics easier to follow.
Please note that this is an advisory âstraw pollâ meant to gauge sentiment. It isnât a vote or a scientific survey. See About the Change Proposals category for more about the Change Process and moderation policy.
Itâs not like this is an unannounced break, rpmbuild been issuing deprecation warnings about that %patchN syntax for over a year now. So maintainers will have had plenty of time to update.
Donât try creative hacks around this, those packages will just need to be updated now.
Note that for any sort of mass-change, youâd probably want to use %patch -PN instead because thatâs 100% backwards compatible to beginning of times. Those who havenât yet updated to the new syntax might have negleted it because of compatibility concerns.
I totally agree. This is something we need to manage and get resolved before pushing the alpha into rawhide. We will probably need help from a proven packager and may be some guidance on whatâs Fedoraâs preferred way of handling this. I am going to update the change page to reflect that.
@churchyard, can you quickly see how many of those 1000+ packages have been touched at all by a maintainer in that time? (Not counting the mass rebuilds, of course.)
I did a random sampling of some 30-40 specs still using %patch[01] and none of them were what one could call actively maintained: they generally only had non-maintainer rebuilds, SPDX license updates or C99 fixes in a year or more. Iâm sure there are exceptions but Iâd say most of these are effectively unmaintained packages.
Most of them would also be better off just using %autosetup instead, but they generally also predate it by several years. Not saying that should be done here (that canât be reliably automated), just an observation.
As for the break itself, itâs regrettable of couse. Ideally this deprecation wouldâve started 15 years ago already, and ran over the course of several years and releases. I lacked the forward vision to do that back then. Now we (relatively!) abruptly found ourselves in this position where the weird hacks to implement this goofy noun/verb syntax is blocking fixes and developments on multiple fronts, and couldnât really wait for any longer to get this over with.
I added this to both the Scope and the Upgrade/compatibility impact sections. I guess the best way forward it to just have a provenpackager fix them in bulk. Is there any extra procedure needed for this? Like filing another Change request? Writing an announcement on f-d-l? Or can can we get way with just have this written down in the margins of this Change?
If another provenpackager can help here, that is great, but we should definitely sponsor at least one developer on the RPM team into the provenpackager group so they can take care of things like this in the future.
Active team members may come and go, and so may an individuals provenpackager status, so I donât know that every major infrastructure team needs to be expected to have a provenpackage as a member (that is why provenpackagers are expected to help out other teams and packages in addition to their other contributions), but I would also say that if there is someone on the team who is interested and qualified and willing to take on the additional responsibilities of provenpackager they should certainly consider doing do.
Saying that, I hope that needing things like this (changes in many packages) in the future for RPM continues to be possible, but rare.