From Fedora Project Wiki
(→‎Upgrade/compatibility impact: More precise description)
Line 57: Line 57:
== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==


Using some of the new feature may break forward compatibility. Packages using these features will not be able be build or be installed on older Fedora versions. Backward compatibility is expected to be kept.
Using some of the new feature will break forward compatibility. Packages using these features will not be able be build or be installed on older Fedora versions. Backward compatibility is expected to be maintained.


== How To Test ==
== How To Test ==

Revision as of 08:47, 2 April 2014

RPM-4.12

Summary

Update RPM to the upcoming 4.12 release.

Owner

Current status

  • Targeted release: Fedora 21
  • Last updated: 2014/04/01
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

The current upstream repository contains several improvements that need to get released and integrated into Fedora:

  • Support for weak dependencies
  • Support for files > 4GB
  • New API for accessing files and file contents
  • New tool for converting rpm packages to tar files
  • Internal plugin interface
    • Improved SELinux handling

Updating to the new version will allow using these features in the upcoming Fedora releases.

Benefit to Fedora

The above plus closing the gap between RPM upstream and the Fedora version.

Scope

  • Proposal owners: The RPM code base needs to get stabilized and release ready. The release candidates need to be tested in rawhide.
  • Other developers: Will test the release candidates during normal operation in raw hide. Need to report issues and bugs.
  • Release engineering: Check infrastructure for compatibility. Check for 64bit readiness as soon as builders are updated, too (F22 time frame).
  • Policies and guidelines: Packaging policies might need reconsidering in the light of the new options (F22 or even F23 time frame).

Upgrade/compatibility impact

Using some of the new feature will break forward compatibility. Packages using these features will not be able be build or be installed on older Fedora versions. Backward compatibility is expected to be maintained.

How To Test

Testing is done in full operation.

User Experience

  • Packagers will be able to package files >4GB
  • Packagers will be able to use weak dependencies
  • API users will be able to access file data more cleanly and access payload data for the first time
  • XXX SELinux

Dependencies

  • Weak dependencies need to be supported by create_repo, and the updaters (and may be the packaging policy) to be useful
  • >4GB support requires the infrastructure to support those file sizes to be usable. Especially it requires the builders to be updated to rpm-4.12, too

Those features not being useful from the start is not a blocker for the change, though. Actual use of those features can (and is expected to) be postponed to upcoming Fedora releases.

Contingency Plan

Go back to rpm-4.11. It is unlikely that this requires reverting some changes in other packages as the new features will probably not already be used in F21.

In case something really bad happens it might be necessary to rebuild all packages built with the broken version - although there are no new features that suggest such thing being likely.

Documentation

Add link to upstream release notes here.

Release Notes