Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove most packages #1011

Merged
merged 18 commits into from
Nov 19, 2024
Merged

Remove most packages #1011

merged 18 commits into from
Nov 19, 2024

Conversation

essen
Copy link
Member

@essen essen commented Nov 13, 2024

No description provided.

Most users surely have upgraded Erlang.mk since then.
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.

  make check -j8 -k  5790,16s user 1207,08s system 627% cpu 18:35,49 total
  make check -j8 -k  6250,13s user 1326,77s system 972% cpu 12:59,16 total
Erlang.mk will no longer feature packages out of the box,
except for the applications that we implement plugins for
(such as erlydtl, proper or relx) and the projects I work
on that are also used to test Erlang.mk (cowboy and friends).

This is a breaking change. In most cases the fix is to add
a full dep_* line for the dependencies that were used as
packages before.
@essen essen force-pushed the remove-most-packages branch 3 times, most recently from 99eb686 to 84e2a66 Compare November 14, 2024 13:55
@essen essen force-pushed the remove-most-packages branch 2 times, most recently from 2d83264 to ebe6a6f Compare November 15, 2024 15:27
This should both be more solid and more secure.
This method dates back from the beginnings of Erlang.mk
and should not have been used for around a decade by now.
Adding "git" to the offending dep lines is enough to upgrade.
We use $1 instead of $(1) or $p instead of $(p) when possible,
except when building variable names (pkg_$(p)_name for example,
but also $(dep_fetch_$(1))).
This includes the SSL security fix for OTP-25+.
@essen essen merged commit 9376f53 into master Nov 19, 2024
92 checks passed
@essen
Copy link
Member Author

essen commented Nov 19, 2024

Merged!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant