RPM Upgrade SOP

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m
(redirect page to new infra-docs)
 
Line 1: Line 1:
== Description ==
+
{{header|infra}}
When upgrading rpm with backwards incompatible changes we need to take a few steps to ensure that we transition smoothly. For both users and the buildsystem.
+
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/rpmupgrade.txt
  
== Action ==
+
For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.  
* build the rpm with new features in rawhide (we need to wait 2 (two) weeks before defaulting to new features.)
+
* build a new rpm with the new features for the buildsystem (we need to test that it wont break anything for older releases).  the buildsystem host rpm installs the packages into the chroot. so it needs to be able to handle the new rpms.
+
* issue updates for stable release that support the new features where possible.
+
* After 2 weeks in rawhide and the buildsystem has been tested and verified to be ok with the change can the changes to rpm macros be triggered.
+
  
=== Build system Verification ===
 
* setup a test koji instance
 
* install new rpm on host and setup external repos for supported releases.
 
* build the needed redhat-rpm-macros in a rawhide tag
 
* build packages in all releases.
 
 
== Verification ==
 
* check the rpms from the test buildsystem to make sure that they have the needed rpm features.
 
 
== Consider Before Running ==
 
* Should SRPMS be changed? if not try to keep backwards compatibility.
 
* will buildsystem code changes be needed to support the new feature (i.e. noarch subpackages).  If so this needs much longer planning  and coordination with the koji devs.
 
  
 
[[Category:Infrastructure SOPs]]
 
[[Category:Infrastructure SOPs]]
[[Category:Release Engineering SOPs]]
 

Latest revision as of 18:08, 19 December 2011

Infrastructure InfrastructureTeamN1.png

This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/rpmupgrade.txt

For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.