From Fedora Project Wiki
No edit summary
mNo edit summary
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
= Update Zlib-ng to version 2.2.x =
= Update Zlib-ng to version 2.2.x =


{{Change_Proposal_Banner}}


== Summary ==
== Summary ==
Line 26: Line 25:


== Current status ==
== Current status ==
[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF42]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
Line 43: Line 42:
ON_QA -> change is fully code complete
ON_QA -> change is fully code complete
-->
-->
* [Announced]
* [https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/thread/TDIL7TRE66MHEFAVI4X4YSETSG7MUMNL/ Announced]
* [<will be assigned by the Wrangler> Discussion thread]
* [https://discussion.fedoraproject.org/t/f42-change-proposal-zlibng-2-2-system-wide/133141 Discussion thread]
* FESCo issue: <will be assigned by the Wrangler>
* FESCo issue: [https://pagure.io/fesco/issue/3283 #3283]
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: <will be assigned by the Wrangler>
* Release notes tracker: <will be assigned by the Wrangler>
* Release notes tracker: <will be assigned by the Wrangler>
Line 54: Line 53:


The PR for the rebase: https://src.fedoraproject.org/rpms/zlib-ng/pull-request/26
The PR for the rebase: https://src.fedoraproject.org/rpms/zlib-ng/pull-request/26
=== Notable changes ===
* On x86-64 compression speedup of ~12% on default level
* Single memory allocation deflate or inflate, ensuring fewer system calls
* Optimizations throughout the functions


== Feedback ==
== Feedback ==
<!-- Summarize the feedback from the community and address why you chose not to accept proposed alternatives. This section is optional for all change proposals but is strongly suggested. Incorporating feedback here as it is raised gives FESCo a clearer view of your proposal and leaves a good record for the future. If you get no feedback, that is useful to note in this section as well. For innovative or possibly controversial ideas, consider collecting feedback before you file the change proposal. -->
<!-- Summarize the feedback from the community and address why you chose not to accept proposed alternatives. This section is optional for all change proposals but is strongly suggested. Incorporating feedback here as it is raised gives FESCo a clearer view of your proposal and leaves a good record for the future. If you get no feedback, that is useful to note in this section as well. For innovative or possibly controversial ideas, consider collecting feedback before you file the change proposal. -->
Early feedback from community in [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/RMR7YMJ646V6CJOKQNXUMDCK6NFNZZGX/ fedora devel mailing list]


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 189: Line 198:
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- TODO: Write this -->
<!-- TODO: Write this -->
Release notes added to the upstream tags mentioned in "Benefits" part of this change.


== Release Notes ==
== Release Notes ==

Revision as of 11:28, 13 November 2024


Update Zlib-ng to version 2.2.x

Summary

Update Zlib-ng on Fedora 42 to version 2.2.x. Currently, Fedora distributes Zlib-ng 2.1.7.

Owner


Current status

Detailed Description

Update zlib-ng to the latest version from branch 2.2.x. Currently, that's version 2.2.2, but it could change until the release considering that updates on the same branch are expected to be API/ABI stable.

The PR for the rebase: https://src.fedoraproject.org/rpms/zlib-ng/pull-request/26

Notable changes

  • On x86-64 compression speedup of ~12% on default level
  • Single memory allocation deflate or inflate, ensuring fewer system calls
  • Optimizations throughout the functions

Feedback

Early feedback from community in fedora devel mailing list

Benefit to Fedora

Major version 2.2.x provides new optimizations, rewrites deflate memory allocation and improves the buildsystem and tests.

More details are available in the following pages:

Discussion about changes is in:

Scope

  • Proposal owners: New zlib-ng packages will be built. The SONAME version was not bumped (no side-tag rebase needed).
  • Other developers: Check if their packages continue to work as expected and report issues using Bugzilla.
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with the Fedora Strategy:

Upgrade/compatibility impact

Considering that API and ABI are expected to be kept the same, no impacts are expected.

Early Testing (Optional)

Do you require 'QA Blueprint' support? N

An initial test has already been executed on CentOS Stream 10 Copr.

Further testing for Fedora in Fedora Copr

How To Test

User Experience

Dependencies

There are 1300 packages that depends on zlib-ng library, thus listing them here would spam the whole page.

The list was gathered using command (on the Fedora Rawhide machine): repoquery --whatdepends zlib-* --source | pkgname

All of these dependencies are being rebuilt against the new zlib-ng version in Fedora Copr project

Contingency Plan

If we find zlib-ng 2.2.x is not suitable for Fedora 42, we will revert back to version 2.1.x.

  • Contingency mechanism: Revert back to version 2.1.x and increment to epoch
  • Contingency deadline: Fedora 42 branching from Rawhide.
  • Blocks release? No


Documentation

Release notes added to the upstream tags mentioned in "Benefits" part of this change.

Release Notes