From Fedora Project Wiki
(Clarified plans for Erlang Guidelines)
(Updated NIF rebuild status)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= [WIP] Erlang 21 =
+
= Erlang 21 =
  
 
== Summary ==
 
== Summary ==
Line 7: Line 7:
 
* Name: [[User:Peter|Peter Lemenkov]], [[SIGs/Erlang|Fedora Erlang SIG]], [[User:bowlofeggs|Randy Barlow]], [[User:jcline|Jeremy Cline]]
 
* Name: [[User:Peter|Peter Lemenkov]], [[SIGs/Erlang|Fedora Erlang SIG]], [[User:bowlofeggs|Randy Barlow]], [[User:jcline|Jeremy Cline]]
 
* Email: lemenkov@gmail.com, erlang@lists.fedoraproject.org, bowlofeggs@fedoraproject.org, jcline@fedoraproject.org
 
* Email: lemenkov@gmail.com, erlang@lists.fedoraproject.org, bowlofeggs@fedoraproject.org, jcline@fedoraproject.org
* Release notes ticket: [https://pagure.io/fedora-docs/release-notes/issue/78 #78]
+
* Release notes ticket: TBA
 
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
 
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
 
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
 
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
Line 18: Line 18:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/30|Fedora 30]]  
 
* Targeted release: [[Releases/30|Fedora 30]]  
* Last updated: 2018-11-19
+
* Last updated: 2018-12-12
 
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
 
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
 
Bugzilla states meaning as usual:
 
Bugzilla states meaning as usual:
Line 27: Line 27:
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
-->
 
-->
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1520901 #1520901]
+
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1661637 #1661637]
 +
* Release Notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/270 #270]
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 56: Line 57:
 
== Scope ==
 
== Scope ==
 
* Proposal owners:
 
* Proposal owners:
** [https://bugzilla.redhat.com/1569499 Upgrade Erlang to the latest version (21.1)].
+
** <s>[https://bugzilla.redhat.com/1569499 Upgrade Erlang to the latest version (21.2)]</s>. DONE
** We must rebuild every package which requires NIF version (listed below in the [[#Dependencies|Dependencies]] section) against Erlang 21.x.y.
+
** <s>We must rebuild every package which requires NIF version (listed below in the [[#Dependencies|Dependencies]] section) against Erlang 21.x.y.</s> DONE
 
** Every Erlang daemon's systemd unit must require epmd.socket.
 
** Every Erlang daemon's systemd unit must require epmd.socket.
 
** We need to fill new review request for [https://github.com/travelping/ejournald erlang-ejournald]
 
** We need to fill new review request for [https://github.com/travelping/ejournald erlang-ejournald]
 
*** We have to fill new review request for [https://github.com/travelping/lager_journald_backend erlang-lager_journald_backend]
 
*** We have to fill new review request for [https://github.com/travelping/lager_journald_backend erlang-lager_journald_backend]
 
** We need to fill new review request for [https://github.com/lizenn/erlang-dbus erlang-dbus]
 
** We need to fill new review request for [https://github.com/lizenn/erlang-dbus erlang-dbus]
 +
** <s>Finish building noarch Erlang packages we've implemented previously</s>. DONE.
 
** Upgrade outdated packages:
 
** Upgrade outdated packages:
 
*** {{package|riak|Riak}}
 
*** {{package|riak|Riak}}
 
**** {{package|riak|Riak}} has has been retired. We have to re-add it back.
 
**** {{package|riak|Riak}} has has been retired. We have to re-add it back.
 
*** {{package|ejabberd|Ejabberd}}
 
*** {{package|ejabberd|Ejabberd}}
*** {{package|rabbitmq-server|RabbitMQ}}
+
*** <s>{{package|rabbitmq-server|RabbitMQ}}</s>. DONE. Upgraded to ver. 3.7.12.
 
*** {{package|couchdb|CouchDB}}
 
*** {{package|couchdb|CouchDB}}
** [https://bugzilla.redhat.com/1434779 Package rebar3] in  a separate package and provide/adjust RPM macros.
+
** <s>[https://bugzilla.redhat.com/1638743 Package rebar3] in  a separate package</s>. DONE
 +
*** Provide/adjust RPM macros for rebar3.  
 
** Package GDB macros for easier coredump debugging (see also [https://bugzilla.redhat.com/show_bug.cgi?id=663253 this ticket]).
 
** Package GDB macros for easier coredump debugging (see also [https://bugzilla.redhat.com/show_bug.cgi?id=663253 this ticket]).
 
** Enable Kerberos authentication in {{package|ejabberd|Ejabberd}} (finally).
 
** Enable Kerberos authentication in {{package|ejabberd|Ejabberd}} (finally).
 
* Other developers: N/A
 
* Other developers: N/A
* Release engineering: [https://pagure.io/releng/issue/7179 #7179]
+
* Release engineering: TBA
 
* Policies and guidelines:  
 
* Policies and guidelines:  
 
** We should promote officially [[User:Peter/Erlang_Packaging_Guidelines|Erlang Packaging Guidelines]].
 
** We should promote officially [[User:Peter/Erlang_Packaging_Guidelines|Erlang Packaging Guidelines]].
Line 79: Line 82:
 
== Upgrade/compatibility impact ==
 
== Upgrade/compatibility impact ==
 
* Every Erlang upgrade requires the rebuilding of modules which contains [http://www.erlang.org/doc/reference_manual/ports.html ports] or [http://www.erlang.org/doc/tutorial/nif.html NIFs], and we will rebuild all such modules in Fedora. However if a user has some additional modules not available in a Fedora repository, then these modules must be rebuilt manually.
 
* Every Erlang upgrade requires the rebuilding of modules which contains [http://www.erlang.org/doc/reference_manual/ports.html ports] or [http://www.erlang.org/doc/tutorial/nif.html NIFs], and we will rebuild all such modules in Fedora. However if a user has some additional modules not available in a Fedora repository, then these modules must be rebuilt manually.
 +
* Function erlang:get_stacktrace/0 was removed. Use [https://github.com/willemdj/erlsom/pull/69 the following approach] to maintain compatibility.
 +
* So-called tuple calls were removed.
  
 
== How To Test ==
 
== How To Test ==
Line 115: Line 120:
 
| '''Name''' || '''Rebuilt'''
 
| '''Name''' || '''Rebuilt'''
 
|-
 
|-
| {{package|couchdb}}  || {{no}}
+
| {{package|couchdb}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-basho_metrics}}  || {{no}}
+
| {{package|erlang-basho_metrics}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-bitcask}}  || {{no}}
+
| {{package|erlang-bitcask}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-cache_tab}}  || {{no}}
+
| {{package|erlang-cache_tab}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-cl}}  || {{no}}
+
| {{package|erlang-cl}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-ebloom}}  || {{no}}
+
| {{package|erlang-ebloom}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-eleveldb}}  || {{no}}
+
| {{package|erlang-eleveldb}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-emmap}}  || {{no}}
+
| {{package|erlang-emmap}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-erlsyslog}}  || {{no}}
+
| {{package|erlang-erlsyslog}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-esasl}}  || {{no}}
+
| {{package|erlang-esasl}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-esdl}}  || {{no}}
+
| {{package|erlang-esdl}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-esip}}  || {{no}}
+
| {{package|erlang-esip}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-fast_tls}}  || {{no}}
+
| {{package|erlang-fast_tls}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-fast_xml}}  || {{no}}
+
| {{package|erlang-fast_xml}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-fast_yaml}}  || {{no}}
+
| {{package|erlang-fast_yaml}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-hyper}}  || {{no}}
+
| {{package|erlang-hyper}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-iconv}}  || {{no}}
+
| {{package|erlang-iconv}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-jiffy}}  || {{no}}
+
| {{package|erlang-jiffy}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-js}}  || {{no}}
+
| {{package|erlang-js}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-lfe}}  || {{no}}
+
| {{package|erlang-lfe}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-riak_ensemble}}  || {{no}}
+
| {{package|erlang-riak_ensemble}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-sd_notify}}  || {{no}}
+
| {{package|erlang-sd_notify}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-skerl}}  || {{no}}
+
| {{package|erlang-skerl}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-snappy}}  || {{no}}
+
| {{package|erlang-snappy}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-stringprep}}  || {{no}}
+
| {{package|erlang-stringprep}}  || {{yes}}
 
|-
 
|-
| {{package|erlang-xmpp}}  || {{no}}
+
| {{package|erlang-xmpp}}  || {{yes}}
 
|}
 
|}
  
 
== Contingency Plan ==
 
== 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]], and  [[Changes/Erlang_20|Erlang 20]]. It should be noted that this change consists from an 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 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]], and  [[Changes/Erlang_20|Erlang 20]]). It should be noted that this change consists from an 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
 
* Contingency deadline: N/A
 
* Blocks release? N/A
 
* Blocks release? N/A
Line 182: Line 187:
 
* [http://www.erlang.org/news/123 Erlang/OTP 21.0 release notes]
 
* [http://www.erlang.org/news/123 Erlang/OTP 21.0 release notes]
 
* [http://www.erlang.org/news/124 Erlang/OTP 21.1 release notes]
 
* [http://www.erlang.org/news/124 Erlang/OTP 21.1 release notes]
 +
* [http://www.erlang.org/news/125 Erlang/OTP 21.2 release notes]
 +
* [http://www.erlang.org/news/127 Erlang/OTP 21.3 release notes]
  
 
== Release Notes ==
 
== Release Notes ==
  
Erlang/OTP 21.1 is available in Fedora 30.
+
Erlang/OTP 21.2 is available in Fedora 30.
  
[[Category:ChangePageIncomplete]]
+
[[Category:ChangeAcceptedF30]]
 
<!-- [[Category:ChangePageIncomplete]] -->
 
<!-- [[Category:ChangePageIncomplete]] -->
 
<!-- 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 -->

Latest revision as of 10:20, 17 March 2019

Erlang 21

Summary

Update Erlang/OTP to version 21.

Owner

Current status

Detailed Description

Upgrade Erlang to version 21 which brings a lot of changes. Just a few highlights:

  • The BEAM interpreter has been completely re-written.
  • The compiler is about 10-20% faster.
  • Enhanced and improved IO handling.
  • All CORBA libraries were splitted off to independent repository.
  • Insecure crypto algorithms were disabled.
  • Non-smp VM removed.
  • New API for logging, logger.
  • The zlib module has been refactored and all its operations will now yield appropriately, allowing them to be used freely in concurrent applications.

Aside from this, we plan to improve quality of Erlang and related packages. These are shortcomings we want to address:

  • Every daemon written in Erlang has its own logging solution which doesn't use neither syslog nor Journald. We should start switching them to Journald.
  • We should add ability to use D-Bus via erlang-dbus library.
  • Further improve Erlang Packaging Guidelines and promote it as the official guideline.
  • Finish building noarch Erlang packages we've implemented previously.

Benefit to Fedora

Fedora users, both developers and end-users, will have visible benefits from using Fedora-provided packages. Namely:

  • Even faster and smoother IO in Erlang.
  • Improved logging, better unified with the rest of system.

Scope

  • Proposal owners:
  • Other developers: N/A
  • Release engineering: TBA
  • Policies and guidelines:
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

  • Every Erlang upgrade requires the rebuilding of modules which contains ports or NIFs, and we will rebuild all such modules in Fedora. However if a user has some additional modules not available in a Fedora repository, then these modules must be rebuilt manually.
  • Function erlang:get_stacktrace/0 was removed. Use the following approach to maintain compatibility.
  • So-called tuple calls were removed.

How To Test

  • Ensure that high-grade Erlang applications are still working:
Name Tested
Package-x-generic-16.pngcouchdb No
Package-x-generic-16.pngejabberd No
Package-x-generic-16.pngelixir No
Package-x-generic-16.pngmochiweb No
Package-x-generic-16.pngrabbitmq-server No
Package-x-generic-16.pngriak No (package was retired :( )
Package-x-generic-16.pngwings 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.

Dependencies

The following packages must be rebuilt:

Name Rebuilt
Package-x-generic-16.pngcouchdb Yes
Package-x-generic-16.pngerlang-basho_metrics Yes
Package-x-generic-16.pngerlang-bitcask Yes
Package-x-generic-16.pngerlang-cache_tab Yes
Package-x-generic-16.pngerlang-cl Yes
Package-x-generic-16.pngerlang-ebloom Yes
Package-x-generic-16.pngerlang-eleveldb Yes
Package-x-generic-16.pngerlang-emmap Yes
Package-x-generic-16.pngerlang-erlsyslog Yes
Package-x-generic-16.pngerlang-esasl Yes
Package-x-generic-16.pngerlang-esdl Yes
Package-x-generic-16.pngerlang-esip Yes
Package-x-generic-16.pngerlang-fast_tls Yes
Package-x-generic-16.pngerlang-fast_xml Yes
Package-x-generic-16.pngerlang-fast_yaml Yes
Package-x-generic-16.pngerlang-hyper Yes
Package-x-generic-16.pngerlang-iconv Yes
Package-x-generic-16.pngerlang-jiffy Yes
Package-x-generic-16.pngerlang-js Yes
Package-x-generic-16.pngerlang-lfe Yes
Package-x-generic-16.pngerlang-riak_ensemble Yes
Package-x-generic-16.pngerlang-sd_notify Yes
Package-x-generic-16.pngerlang-skerl Yes
Package-x-generic-16.pngerlang-snappy Yes
Package-x-generic-16.pngerlang-stringprep Yes
Package-x-generic-16.pngerlang-xmpp Yes

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 Erlang R14, Erlang R15, Erlang R16, Erlang 17, Erlang 18, Erlang 19, and Erlang 20). It should be noted that this change consists from an 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? N/A
  • Blocks product? N/A

Documentation

Release Notes

Erlang/OTP 21.2 is available in Fedora 30.