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

Commits on Nov 13, 2024

  1. Remove packages.v2.tsv

    Most users surely have upgraded Erlang.mk since then.
    essen committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    4d3d3fa View commit details
    Browse the repository at this point in the history
  2. Greatly speed up test speed with -j

    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
    essen committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    e903cc8 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Remove most packages

    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 committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    72e1709 View commit details
    Browse the repository at this point in the history
  2. Update hex_core to v0.10.1

    essen committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    0f8643b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    59683de View commit details
    Browse the repository at this point in the history
  4. Update changelog

    essen committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    66e970f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8aa6ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe711b7 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. CI: Use parallel Make

    essen committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    9a1490f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49213b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9323fa2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8312df7 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. CI: Also test with CACHE_DEPS=1

    essen committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    a5f3234 View commit details
    Browse the repository at this point in the history
  2. Use hex_core to fetch Hex packages

    This should both be more solid and more secure.
    essen committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4953400 View commit details
    Browse the repository at this point in the history
  3. Remove deprecated dep_fetch, dep_name, dep_repo, dep_commit

    Use the query_* equivalents instead.
    essen committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    7bf0e7b View commit details
    Browse the repository at this point in the history
  4. Remove legacy fetch method

    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.
    essen committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    acce704 View commit details
    Browse the repository at this point in the history
  5. Use short variable names when possible

    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))).
    essen committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    e507a7c View commit details
    Browse the repository at this point in the history
  6. Update hex_core to current master

    This includes the SSL security fix for OTP-25+.
    essen committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9376f53 View commit details
    Browse the repository at this point in the history