Page MenuHomeFreeBSD

devel/erlang-rebar3_hex: Deprecate and set expiration date
AcceptedPublic

Authored by olgeni on Tue, Aug 25, 4:03 PM.
Tags
None
Referenced Files
F170917560: D59183.diff
Mon, Sep 7, 2:02 PM
Unknown Object (File)
Sun, Sep 6, 10:02 AM
Unknown Object (File)
Sun, Sep 6, 8:19 AM
Unknown Object (File)
Sun, Sep 6, 2:09 AM
Unknown Object (File)
Sat, Sep 5, 10:32 AM
Unknown Object (File)
Sat, Sep 5, 6:01 AM
Unknown Object (File)
Sat, Sep 5, 12:47 AM
Unknown Object (File)
Fri, Sep 4, 8:23 AM
Subscribers
None

Details

Reviewers
dch
Summary

The port has been stuck at 2.5.0 since 2016. Upstream 7.x is a rebar3
plugin that pulls in hex_core and verl, and the supported way to use it
is {project_plugins, [rebar3_hex]} fetched from hex.pm at build time.
rebar3 itself already vendors hex_core as r3_hex_* for fetching
dependencies.

Nothing in the tree depends on this port: a grep over every category
Makefile plus Mk/ turns up no consumer other than the port itself.

Bringing the port up to 7.2.0 instead would mean adding two new ports
(devel/erlang-hex_core and devel/erlang-verl, both pure Erlang with no
runtime dependencies) and converting this one from USES=erlang:rebar to
erlang:rebar3, with the {deps,...} entry patched out and ERL_LIBS
pointed at the installed copies so rebar3 does not try to reach hex.pm
from the build jail. That seems like poor value for a plugin that
consumers are expected to fetch themselves.

EXPIRATION_DATE is set six months out, 2027-02-28.

Test Plan

poudriere testport, 15.1-RELEASE amd64, x11 set: build succeeds,
"No pkg-plist issues found (check-plist)", Failed: 0. The port still
builds and packages normally with the DEPRECATED/EXPIRATION_DATE lines
in place.

portlint -AC is clean apart from the pre-existing one-line pkg-descr
warning; portclippy Makefile is clean.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76156
Build 73039: arc lint + arc unit

Event Timeline

olgeni held this revision as a draft.
olgeni published this revision for review.Tue, Aug 25, 4:18 PM
This revision is now accepted and ready to land.Thu, Aug 27, 12:05 PM