From Fedora Project Wiki
m (typo)
(Updated current Erlang 19 status)
 
(22 intermediate revisions by 3 users not shown)
Line 5: Line 5:


== Owner ==
== Owner ==
* Name: [[User:Peter|Peter Lemenkov]], [[SIGs/Erlang|Fedora Erlang SIG]], [[User:rbarlow|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, rbarlow@fedoraproject.org, jcline@fedoraproject.org
* Email: lemenkov@gmail.com, erlang@lists.fedoraproject.org, bowlofeggs@fedoraproject.org, jcline@fedoraproject.org
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->[mailto:sclark@fedoraproject.org Simon Clark] ([[User:sclark|sclark]])
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
<!--- 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 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
-->
-->
* Tracking bug: <will be assigned by the Wrangler>
* Tracking bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1357387 #1357387]


== Detailed Description ==
== Detailed Description ==
Line 55: Line 55:
== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
** [https://bugzilla.redhat.com/1348957 Upgrade Erlang to the latest version (19.0.1)].
** <s>[https://bugzilla.redhat.com/1348957 Upgrade Erlang to the latest version (19.0.2)]</s>. Done!
** We must rebuild every package which requires NIF or Driver version (listed below in the [[#Dependencies|Dependencies]] section) against Erlang 19.x.y.
** <s>We must rebuild every package which requires NIF version (listed below in the [[#Dependencies|Dependencies]] section) against Erlang 19.x.y. THis time Erlang uses the same Driver version API/ABI as in a previous release so driver libraries rebuild isn't necessary</s>. Done!
** Every Erlang daemon's systemd unit must require epmd.socket.
** <s>Upgrade erlang-rebar to the recently released version 2.6.2 and rebase/drop unneeded patches</s>. Done.
** Make Erlang RPM build macros more consistent with Golang RPM macros.
** Every Erlang daemon's systemd unit should require epmd.socket.
** Consider allowing EPMD implementation switching. Erlang is about choice!
** Consider allowing EPMD implementation switching. Erlang is about choice!
** 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]
Line 84: Line 86:
|-
|-
| {{package|ejabberd}} || {{no}}
| {{package|ejabberd}} || {{no}}
|-
| {{package|elixir}} || {{no}}
|-
|-
| {{package|mochiweb}} || {{no}}
| {{package|mochiweb}} || {{no}}
Line 90: Line 94:
|-
|-
| {{package|riak}} || {{no}} (package was retired :( )
| {{package|riak}} || {{no}} (package was retired :( )
|-
| {{package|tsung}} || {{no}}
|-
|-
| {{package|wings}} || {{no}}
| {{package|wings}} || {{no}}
Line 107: Line 113:
| '''Name''' || '''Rebuilt'''
| '''Name''' || '''Rebuilt'''
|-
|-
| {{package|couchdb}}  || {{no}}
| {{package|couchdb}}  || {{yes}}
|-
| {{package|erlang-basho_metrics}}  || {{yes}}
|-
| {{package|erlang-bitcask}}  || {{Yes}}
|-
| {{package|erlang-cl}}  || {{yes}}
|-
| {{package|erlang-ebloom}}  || {{yes}}
|-
| {{package|erlang-eleveldb}}  || {{yes}}
|-
| {{package|erlang-emmap}}  || {{yes}}
|-
| {{package|erlang-erlsyslog}}  || n/a
|-
|-
| {{package|ejabberd}}  || {{no}}
| {{package|erlang-esasl}}  || n/a
|-
|-
| {{package|erlang-basho_metrics}}  || {{no}}
| {{package|erlang-esdl}}  || n/a
|-
|-
| {{package|erlang-bitcask}}  || {{no}}
| {{package|erlang-esip}}  || {{yes}}
|-
|-
| {{package|erlang-cl}}  || {{no}}
| {{package|erlang-fast_tls}}  || {{yes}}
|-
|-
| {{package|erlang-ebloom}}  || {{no}}
| {{package|erlang-fast_xml}}  || {{yes}}
|-
|-
| {{package|erlang-eleveldb}}  || {{no}}
| {{package|erlang-fast_yaml}}  || {{yes}}
|-
|-
| {{package|erlang-emmap}}  || {{no}}
| {{package|erlang-iconv}}  || {{yes}}
|-
|-
| {{package|erlang-erlsyslog}}  || {{no}}
| {{package|erlang-jiffy}}  || {{yes}}
|-
|-
| {{package|erlang-esasl}}  || {{no}}
| {{package|erlang-js}}  || n/a
|-
|-
| {{package|erlang-esdl}}  || {{no}}
| {{package|erlang-lfe}}  || n/a
|-
|-
| {{package|erlang-js}}  || {{no}}
| {{package|erlang-riak_ensemble}}  || {{yes}}
|-
|-
| {{package|erlang-lfe}}  || {{no}}
| {{package|erlang-sd_notify}}  || {{yes}}
|-
|-
| {{package|erlang-sd_notify}}  || {{no}}
| {{package|erlang-skerl}}  || {{yes}}
|-
|-
| {{package|erlang-skerl}}  || {{no}}
| {{package|erlang-snappy}}  || {{yes}}
|-
|-
| {{package|erlang-snappy}}  || {{no}}
| {{package|erlang-stringprep}}  || {{yes}}
|-
|-
| {{package|wings}}  || {{no}}
| {{package|wings}}  || n/a
|}
|}


Line 158: Line 178:
== Release Notes ==
== Release Notes ==


Erlang/OTP 19.0.1 is available in Fedora 25.
Erlang/OTP 19.0.2 is available in Fedora 25.


[[Category:ChangeAnnounced]]
[[Category:ChangeAcceptedF25]]
<!-- [[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 15:24, 4 September 2016

Erlang 19

Summary

Update Erlang/OTP to version 19, and improve Erlang support in Fedora.

Owner

Current status

Detailed Description

Upgrade Erlang to version 19 which brings a lot of good stuff. Just a few highlights:

  • A new state machine behavior - gen_statem.
  • An experimental plugin to mnesia which allows using expernal storage solutions (leveldb, for example) - mnesia_ext.
  • Cryptographic functions speedups.
  • Even better dirty NIF schedulers.
  • Experimental support for Unix Domain Sockets which opens a door for native Journald, systemd-notify, D-Bus implementations.

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

  • We should enable so-called dirty NIF scheduler which is still disabled currently.
  • 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.

Benefit to Fedora

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

  • Even faster and better EC support in Erlang. Fast enough to start experimenting with cryptocurrencies using Erlang out of the box.
  • More scalable and reliable applications with better performance.
  • Improved logging, better unified with the rest of system.
  • Packagers won't be afraid of packaging Erlang-related applications anymore. They will spend even less time on packaging and more time on actual development.

Scope

  • Proposal owners:
    • Upgrade Erlang to the latest version (19.0.2). Done!
    • We must rebuild every package which requires NIF version (listed below in the Dependencies section) against Erlang 19.x.y. THis time Erlang uses the same Driver version API/ABI as in a previous release so driver libraries rebuild isn't necessary. Done!
    • Upgrade erlang-rebar to the recently released version 2.6.2 and rebase/drop unneeded patches. Done.
    • Make Erlang RPM build macros more consistent with Golang RPM macros.
    • Every Erlang daemon's systemd unit should require epmd.socket.
    • Consider allowing EPMD implementation switching. Erlang is about choice!
    • We need to fill new review request for erlang-ejournald
    • We need to fill new review request for erlang-dbus
    • Add another default directory to look for Erlang *.beam files.
    • Upgrade outdated packages:
      • Riak
        • Riak has has been retired. We have to re-add it back.
  • Other developers: N/A
  • Release engineering: N/A
  • Policies and guidelines:

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.

How To Test

  • Ensure that high-grade Erlang applications are still working:
Name Tested
couchdb No
ejabberd No
elixir No
mochiweb No
rabbitmq-server No
riak No (package was retired :( )
tsung No
wings 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
couchdb Yes
erlang-basho_metrics Yes
erlang-bitcask Yes
erlang-cl Yes
erlang-ebloom Yes
erlang-eleveldb Yes
erlang-emmap Yes
erlang-erlsyslog n/a
erlang-esasl n/a
erlang-esdl n/a
erlang-esip Yes
erlang-fast_tls Yes
erlang-fast_xml Yes
erlang-fast_yaml Yes
erlang-iconv Yes
erlang-jiffy Yes
erlang-js n/a
erlang-lfe n/a
erlang-riak_ensemble Yes
erlang-sd_notify Yes
erlang-skerl Yes
erlang-snappy Yes
erlang-stringprep Yes
wings n/a

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, and Erlang 18). 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 19.0.2 is available in Fedora 25.