Fedora 31 Self-Contained Change proposal: Erlang 22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedoraproject.org/wiki/Changes/Erlang_22

== Summary ==
Update Erlang/OTP to version 22.

== Owner ==
* Name: [[User:Peter|Peter Lemenkov]], [[SIGs/Erlang|Fedora Erlang
SIG]], [[User:bowlofeggs|Randy Barlow]], [[User:jcline|Jeremy Cline]]
* Email: lemenkov@xxxxxxxxx, erlang@xxxxxxxxxxxxxxxxxxxxxxx,
bowlofeggs@xxxxxxxxxxxxxxxxx, jcline@xxxxxxxxxxxxxxxxx

== Detailed Description ==
Upgrade Erlang to version 22 which brings a lot of changes. Just a few
highlights:

* Better and faster compiler. Faster string operations which Elixir
users will benefit.
* A new experimental low-level socket API.
* Even faster SSL/TLS operations.
* Improved [http://erlang.org/doc/apps/erts/erl_dist_protocol.html
Erlang Distribution Protocol] handling when it comes to a huge
messages (splitting into smaller ones, no longer blocking).


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
[https://github.com/lizenn/erlang-dbus erlang-dbus] library.
* Further improve [[User:Peter/Erlang_Packaging_Guidelines|Erlang
Packaging Guidelines]] and promote it as the official guideline.
* Switch to rebar3 as a main build tool.

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

* Improved logging, better unified with the rest of system.

== Scope ==
* Proposal owners:
** [https://bugzilla.redhat.com/1683660 Upgrade Erlang to the latest
version (22.0)].
** We must rebuild every package which requires NIF version (listed
below in the [[#Dependencies|Dependencies]] section) against Erlang
22.x.y.
** 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 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]
** Upgrade outdated packages:
*** {{package|riak|Riak}}
**** {{package|riak|Riak}} has has been retired. We have to re-add it back.
*** {{package|ejabberd|Ejabberd}}
*** {{package|rabbitmq-server|RabbitMQ}}.
*** {{package|couchdb|CouchDB}}
** {{package|erlang-rebar3|rebar3}}
*** 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]).
** Enable Kerberos authentication in {{package|ejabberd|Ejabberd}} (finally).
* Other developers: N/A
* Release engineering: TBA
* Policies and guidelines:
** We should promote officially
[[User:Peter/Erlang_Packaging_Guidelines|Erlang Packaging
Guidelines]].
* Trademark approval: N/A (not needed for this Change)

== 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.
* So-called [http://erlang.org/doc/man/HiPE_app.html HiPE] continues
to deteriorate. In this version it's barely functional and likely is
going to be removed in the next one.

== How To Test ==

* Ensure that high-grade Erlang applications are still working:
{| border="1"
|-
| '''Name''' || '''Tested'''
|-
| {{package|couchdb}}  || {{no}}
|-
| {{package|ejabberd}} || {{no}}
|-
| {{package|elixir}} || {{no}}
|-
| {{package|mochiweb}} || {{no}}
|-
| {{package|rabbitmq-server}} || {{no}}
|-
| {{package|riak}} || {{no}} (package was retired :( )
|-
| {{package|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:

{| border="1"
|-
| '''Name''' || '''Rebuilt'''
|-
| {{package|couchdb}}  || {{no}}
|-
| {{package|erlang-basho_metrics}}  || {{no}}
|-
| {{package|erlang-bitcask}}  || {{no}}
|-
| {{package|erlang-cache_tab}}  || {{no}}
|-
| {{package|erlang-cl}}  || {{no}}
|-
| {{package|erlang-ebloom}}  || {{no}}
|-
| {{package|erlang-eleveldb}}  || {{no}}
|-
| {{package|erlang-emmap}}  || {{no}}
|-
| {{package|erlang-erlsyslog}}  || {{no}}
|-
| {{package|erlang-esasl}}  || {{no}}
|-
| {{package|erlang-esdl}}  || {{no}}
|-
| {{package|erlang-esip}}  || {{no}}
|-
| {{package|erlang-fast_tls}}  || {{no}}
|-
| {{package|erlang-fast_xml}}  || {{no}}
|-
| {{package|erlang-fast_yaml}}  || {{no}}
|-
| {{package|erlang-hyper}}  || {{no}}
|-
| {{package|erlang-iconv}}  || {{no}}
|-
| {{package|erlang-jiffy}}  || {{no}}
|-
| {{package|erlang-js}}  || {{no}}
|-
| {{package|erlang-lfe}}  || {{no}}
|-
| {{package|erlang-riak_ensemble}}  || {{no}}
|-
| {{package|erlang-sd_notify}}  || {{no}}
|-
| {{package|erlang-skerl}}  || {{no}}
|-
| {{package|erlang-snappy}}  || {{no}}
|-
| {{package|erlang-stringprep}}  || {{no}}
|-
| {{package|erlang-xmpp}}  || {{no}}
|}

== 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]], and [[Changes/Erlang_21|Erlang 21]]).
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 ==
* [http://www.erlang.org/news/132 Erlang/OTP 22.0 release notes]

== Release Notes ==

Erlang/OTP 22.0 is available in Fedora 31.

-- 
Ben Cotton
He / Him / His
Fedora Program Manager
Red Hat
TZ=America/Indiana/Indianapolis
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux