Wiki - https://fedoraproject.org/wiki/Changes/Erlang_27 Discussion Thread - https://discussion.fedoraproject.org/t/f45-change-proposal-erlang-27-self-contained/192436 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. == Summary == Update Erlang/OTP to version 27. == Owner == * Name: [[User:Peter|Peter Lemenkov]], [[SIGs/Erlang|Fedora Erlang SIG]] * Email: lemenkov@gmail.com, erlang@lists.fedoraproject.org == Previous Change History == * Attempted for Fedora 43 (FESCo issue: [https://pagure.io/fesco/issue/2809 #2809]) — withdrawn due to RabbitMQ not yet supporting Erlang 27. * Retargeted to Fedora 44 (FESCo issue: [https://pagure.io/fesco/issue/3433 #3433]) — rejected/deferred, same reason. * RabbitMQ 4.0.4 added full Erlang 27 support. The blocker no longer exists. == Detailed Description == Upgrade Erlang to version 27 which brings a lot of changes. Just a few highlights [https://www.erlang.org/blog/highlights-otp-27/ from many]: * Triple-Quoted strings * Sigils * The new <code>json</code> module * Process labels * New functionality in STDLIB * New SSL client-side stapling support * Lots of bugfixes Aside from this, we plan to further improve quality of Erlang and related packages. These are shortcomings we want to address: * Finish switching to rebar3 as a main build tool and deprecate rebar2. Note: the new declarative <code>BuildSystem: rebar3</code> directive is now available in F45+ via <code>erlang-srpm-macros ≥ 0.3.11</code>. * Improve [https://fedoraproject.org/wiki/User:Peter/Erlang_Packaging_Guidelines Erlang Packaging Guidelines] and promote them as the official guideline. * SELinux rules for main Erlang applications (Ejabberd, CouchDB, RabbitMQ) are still outdated or missing. == Benefit to Fedora == Fedora users, both developers and end-users, will have visible benefits from using Fedora-provided packages. Namely: * Improved scalability and robustness. * Much easier developing and debugging. * Unblocks ecosystem packages that require OTP 27 syntax (triple-quoted strings, new <code>-doc</code> attributes, <code>json</code> module, etc.). * RabbitMQ 4.2.x and 4.3.x both fully support Erlang 27 — the previous blocker is resolved. == Scope == * Proposal owners: ** Upgrade Erlang to version 27. ** Upgrade outdated packages: *** {{package|ejabberd}} *** {{package|rabbitmq-server}} ** Package GDB macros for easier coredump debugging (see also [https://bugzilla.redhat.com/show_bug.cgi?id=663253 this ticket]). * Other developers: N/A * Release engineering: No special action required. NIF-based packages will be rebuilt as part of the regular mass rebuild. * Policies and guidelines: ** We should officially promote [https://fedoraproject.org/wiki/User:Peter/Erlang_Packaging_Guidelines Erlang Packaging Guidelines]. * Trademark approval: N/A (not needed for this Change) == Upgrade/compatibility impact == N/A — Erlang 27 is backward compatible with code compiled on Erlang 26. Packages with Native Implemented Functions (NIFs) need to be rebuilt, which happens automatically during the mass rebuild. == How To Test == Ensure that high-grade Erlang applications are still working: {| class="wikitable" |- ! '''Name''' !! '''Tested''' |- | {{package|ejabberd}} || No |- | {{package|elixir}} || No |- | {{package|rabbitmq-server}} || No |} * Collect feedback from volunteers regarding their experience with this Erlang/OTP version. == User Experience == Users will get more robust, scalable, and fast Erlang applications. Developers will benefit from new language features (triple-quoted strings, sigils, the json module) without needing to install Erlang from external sources. == Dependencies == The following packages must be rebuilt: NIF-libraries (happens automatically during mass rebuild). == Contingency Plan == * Contingency mechanism: None necessary. Instead of falling back to the previous version we should fix existing packages in order to help the Community. We should also monitor upstream development process for potentially discovered issues and proactively apply patches (as we already did with [[Features/Erlang_R14|Erlang R14]], [[Features/Erlang_R15|Erlang R15]], [[Features/Erlang_R16|Erlang R16]], [[Changes/BetterErlangSupport|Erlang 17]], [[Changes/Erlang_18|Erlang 18]], [[Changes/Erlang_19|Erlang 19]], [[Changes/Erlang_20|Erlang 20]], [[Changes/Erlang_21|Erlang 21]], [[Changes/Erlang_22|Erlang 22]], [[Changes/Erlang_23|Erlang 23]], [[Changes/Erlang_24|Erlang 24]], and [[Changes/Erlang_25|Erlang 25]]). It should be noted that this change consists of independent or loosely coupled smaller changes. If we fail to deliver some changes in time, we should reschedule these exact changes to the future Fedora release while keeping already implemented ones. * Contingency deadline: N/A * Blocks release? No * Blocks product? No == Documentation == * [https://www.erlang.org/news/170 Erlang/OTP 27.0 release notes] * [https://www.erlang.org/news/171 Erlang/OTP 27.1 release notes] * [https://www.erlang.org/news/172 Erlang/OTP 27.2 release notes] * [https://www.erlang.org/news/175 Erlang/OTP 27.3 release notes] == Release Notes == Erlang/OTP 27.0 is available in Fedora 45. -- Aoife Moloney Fedora Operations Architect Fedora Project Matrix: @amoloney:fedora.im IRC: amoloney -- _______________________________________________ devel-announce mailing list -- devel-announce@lists.fedoraproject.org To unsubscribe send an email to devel-announce-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
No comments:
Post a Comment