The NetBSD Project

CVS log for pkgsrc/devel/rebar3/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / rebar3

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 12 15:15:25 2024 UTC (5 days, 19 hours ago) by nikita
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored) to selected 1.3 (colored)

rebar3: update to version 3.23.0

Changelog:


3.23.0

New Features:

    add a new shell completion provider
    zsh support for aliases in completion
    Add new 'shell_hooks_env' config to extend shell hooks' OS env vars
    Add (newer) Dialyzer info. about invalid_contract
    Add command rebar3 alias

Bug fixes:

    Bump relx and erlware commons versions
    REBAR_SRC_DIRS and REBAR_APP_DIRS fix by making rebar_dir:src_dirs/1 options default to ["src"]
    Eliminate use of experimental function code:lib_dir/2
    Fix "clean" hooks in non-umbrella apps and when override are presents
    Initial version of the Manifest plugin
    Make log_level entry in rebar.app work again
    Append . to --eval arg if missing
    Handle 'or' in versions in a primitive manner
    Fall back to reading versions from hex metadata
    Dedupe compiler DAG edge insertion for artifacts
    Add missing doc. for incremental on Dialyzer analysis
    rebar_utils: add metadata to primary logger config
    Prevent XRef issue when analysis runs on generated code
    Fix unicode output printed as charlist
    Rework argument parsing in do/as providers
    Fix for rebar3 shell in Erlang 26 when ShellArgs==undefined
    Erlang 26 custom shell fix
    Add app name to "OTP release ~ts or later is required" msg


3.22.1

This is a small patch release for some bugfixes:

    Defer hostname check to OTP when supported
    Print diagnostic when failing to get VSN with Git
    Add simple Erlang LS config


3.22.0

This release most importantly contains patches to fix blocking issues on Windows:

    Avoid setting a shell-encoding in OTP-26, which causes the shell command to hang on windows
    Support CRLF in shell ENV files

This release also contains an experimental and optional change that warrants a bit of explanation: Support rich compiler messages in errors and in warnings

Given the module:

-module(fake_mod).

-export([diagnostic/1]).

diagnostic(A) ->
    X = add(5 / 0),
    {X,X}.

add(X) -> X.

add(X, Y) -> X + Y.

Calling rebar3 compile can now yield:

...
===> Compiling apps/rebar/src/fake_mod.erl failed
   ãô¸äÇà apps/rebar/src/fake_mod.erl:
   ãô 5 ãô diagnostic(A) ->
   ãô            ãõ°âÇàãôvariable 'A' is unused

   ãô¸äÇà apps/rebar/src/fake_mod.erl:
   ãô 6 ãô     X = add(5 / 0),
   ãô               ãõ°âÇàãôevaluation of operator '/'/2 will fail with a 'badarith' exception

    ãô¸äÇà apps/rebar/src/fake_mod.erl:
    ãô 11 ãô add(X, Y) -> X + Y.
    ãô ãõ°âÇàãôfunction add/2 is unused

and in a terminal supporting color output:

By default, this format is turned off, but can be turned on optionally by configuring values with

{compiler_error_format, rich}.

You can get this enabled. You may want to put it in your global rebar3 config file. That being said, this may break some tooling that could parse rebar3-specific output. The default value is {compiler_error_format, minimal}. and putting that value back in should fix any breakage. We're also expecting color output to have a few bugs related to a rather naive heuristic used to delimit language constructs, but we wanted to make the feature available for feedback and this bug-fixing release was a decent opportunity.

This functionality relies on an expanded compiler API exposed by Rebar3, but since we're not yet quite sure what form we want it to take, we'll keep the new API undocumented in the short term.


3.21.0

New Features:

    Support OTP-26, Deprecate OTP-23 support.
    Add incremental dialyzer support for OTP-26

Various fixes:

    bumping a bunch of deps, including certificates, smaller patches in dependencies, and the following relx changes:
        Also set -dist_listen false for relx_nodetool calls
        Force use of nodetool if proto_dist set
        Only overwrite erl with dyn_erl if dyn_erl exists
    Add rebar_parallel pool, use in DAG scans which limits memory usage on large projects
    Maintain cth_log_redirect default in CT runs to show logger messages in HTML test logs
    Change license template to Markdown
    rebar3_dialyzer_format: Add missing message formatting
    Always dereference symbolic links when copying files in ct
    Add ?RTX_LOG macro option to top-level rebar.config
    fix help shell output, --eval is misindeted
    Ignore _vendor folder
    Do not ignore everything starting with underscore recursively
    scope local install VSN variable
    pkgs command should support empty lists

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 10 09:30:00 2022 UTC (17 months, 1 week ago) by nikita
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.7: +4 -38 lines
Diff to previous 1.7 (colored) to selected 1.3 (colored)

rebar3: update to version 3.20.0

Changelog (taken from https://github.com/erlang/rebar3/releases/tag/3.20.0):

This release took a while to build; OTP-25.1 had incompatibilities with EUnit
that interrupted the CI process, and which are corrected in later releases.

New features:
    Add --eval option to shell
    Add support for dialyzer --incremental when available
    Vendor structure

This new vendor structure should be of no impact to anyone using Rebar3 as a
built artifact, but should make the life of corporate users and
package managers much easier by having pre-bundled in all dependencies and
allowing effective offline builds. It also simplifies our bootstrap code and
reduces security issues by not having to download a certificate bundle
without certificates, at least until our oldest supported version can use
Erlang's new built-in on-host certificate lookup mechanisms.

If you do rely on Rebar3 source for your tooling or any other mechanisms,
then you will want to cd apps/rebar before running other commands.

Other fixes:
    Warn of EUnit issues on OTP-25.1
    Respect HEX_MIRROR environment variable
    Use shell:start_interactive to start shell if available
    Do not send empty If-None-Match in tarball request
    Respect rebar_packages_cdn set in rebar.config
    Dereference symbolic links when copying files from ct data folder
    Reduce warnings around bootstrap and DAG operations

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 19 20:49:18 2022 UTC (21 months, 4 weeks ago) by nikita
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.6: +13 -10 lines
Diff to previous 1.6 (colored) to selected 1.3 (colored)

rebar3: Update to 3.19.0

Changelog taken from https://github.com/erlang/rebar3/releases

3.19.0

New features:
    Add --offline option and REBAR_OFFLINE environment variable
    Add support for project-local plugins in umbrella projects only
    Add eunit --test flag

Experimental features for which we promise no backwards compatibility in
the near future:
    Experimental vendoring provider
        Support plugins in experimental vendor provider

Other changes:
    Support OTP 23..25 inclusively
    Bump Relx to 4.7.0
        Use erlexec directly in relx helper functions
        Make rlx_util:parse_vsn parse integer versions
        fix awk script check_name() in extended_bin
        avoid crash when overlay is malformed
        keep attributes when stripping beams
        Fix {include_erts,true} in Windows releases
        ensure the erl file is writable before copying dyn_erl to it
        Various tests added
    Properly carry overlay_vars settings for files in relx
    Track mib compilation artifacts
    Attempt to find apps in git subdirs (sparse checkouts)
    Do not discard parameters --system_libs and --include-erts when duplicate values exist
    Use default depth parameter for SSL
    Fix global cache config overriding
    Error out on unknown templates in 'new' command
    Fix a typo
    Bump certifi to 2.9.0
    add a debug message in internal dependency fetching code
    Use SPDX id for license in template and test
    Use default branch for git and git_subdir resources with no revision

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 25 12:25:58 2022 UTC (23 months, 3 weeks ago) by nikita
Branch: MAIN
Changes since 1.5: +23 -25 lines
Diff to previous 1.5 (colored) to selected 1.3 (colored)

rebar3: Update to 3.18.0

Changelog taken from https://github.com/erlang/rebar3/releases


3.18.0 Latest

    add support for otp24 optional applications
    use git command in non interactive mode
    git_resource: ignore stderr in get_patch_count when calling git rev-list
    fix NIF compilation on Apple M1.
    fix issue for duplicates options of 'parserfile' in 'yrl_opts'
    support for --all argument in unlock
    support for --all argument in upgrade
    support for --all argument in upgrade plugin
    add --relnames option to allow selectively building of multiple releases
    bump bbmustache to support unicode attributes
    proper respect of GLOBAL_CACHE_DIR
    bump certifi to 2.8.0
    don't crash on printing non-ASCII characters
    upgrade providers to 1.9.0


3.17.0

This release is mostly bug fixes, and repairs prior broken builds of
elixir dependencies, but also includes a couple of useful features.

New Features:
    Add escript_incl_priv so escriptize priv dir inclusion works with
    _checkouts and profiles
    Added SSL cacert patch to support Corporate MITM Proxies

Bug fixes:
    rebar3 release to honour the ignore-xref attribute
    Bump relx to 4.5.0
        use copied erts dir when tar'ing even when the user sets the erts
        improve error message when a symlink creation fails
        State extended with a filter method to filter xref_warnings
        Do not require logger
        Add default time warp mode of multi
        optionally allow static node name prefixes
        use random:uniform instead of os:pid when constructing node name in nodetool
        Fix eval command to use ERL_DIST_PORT, consistency with rpc command
        Fix bin script arguments to erlexec
    Give compiler hints when handling run-time deps in parse_transforms
    Make rebar_file_utils:system_tmpdir/1 take TMPDIR env var into account on *nix
    Handle abstract code starting with a non-file attribute
    Prefer erlang app to mix project
    Drop bootstrap URI handling functions warnings
    Prevent crashes on recursive src_dir definitions in deps
    Fix ssl check hostname options for wildcard certificate
    {xref_ignores} now properly works on module,
    Normalize Dialyzer PLT paths
    Fix optimistic registry update of plugins being upgraded

3.13.3

Security release. See
https://ferd.ca/you-ve-got-to-upgrade-rebar3.html

3.16.1

Major security fix around TLS validation. See
https://ferd.ca/you-ve-got-to-upgrade-rebar3.html

Also:
    local upgrade: extract vsn of rebar3 from downloaded escript

3.15.2

Major security fix around TLS validation. See
https://ferd.ca/you-ve-got-to-upgrade-rebar3.html

3.16.0

This release drops multiple OTP versions as officially
supported. We're aligning rebar3 development with the OTP team's
compatibility guarantees, as some deprecations from OTP-21 were
removed in OTP-24 and we just could not maintain compatible code
bases. We're using the breakage opportunity to change just how much we
support to something more sustainable.

The release also contains extra fixes that should prove useful.

    Only support 3 newest OTP versions
    add support to configure application resource naming
    Support ERL_LIBS libraries in escript building
    Fix CLI arg order in makefile template
    Increase OTP 24 readiness + move to OTP 20 min.
    Bump erlware_commons and certifi
    Treat applications and included_applications the same way when builing Dialyzer PLTs
    Strip CLI args from provider hooks
    Fix plugins upgrade for non-tuple specification

3.15.1

    Fix bad compiler path nesting

3.15.0

    Make dialyzer output file format configurable
    Fix DAG resolving for recursive directories
    Add EUnit support for sys_config options
    Catch and report missing escript dependency
    Relay unexpected relx return values
    Bump Relx and cth_readable
        relx_resolve:to_app raise error with .app file pathname
        Concurrent Builds - xref interactions refinement
        Add richer return values for nodetool rpc
        add exports of RELEASE_NAME, RELEASE_VERSION and RELEASE_PROG to script
    add an option to select the application to build an escript for
    Do not discard parameters --system_libs and --include-erts
    Have "rebar3 plugins upgrade" work without specifying plugin name
    rebar3 shell: implement various modes to print "booted" message
    More path juggling fixes in the compiler
    Fix OTP24 complaining about underscored variables
    Handle OTP-24 function location in xref
    pass no_spawn_compiler_process to compile:file/2

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 26 10:19:21 2021 UTC (2 years, 5 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.4: +13 -13 lines
Diff to previous 1.4 (colored) to selected 1.3 (colored)

archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 7 13:43:59 2021 UTC (2 years, 6 months ago) by nia
Branch: MAIN
Changes since 1.3: +1 -13 lines
Diff to previous 1.3 (colored)

devel: Remove SHA1 hashes for distfiles

Revision 1.3 / (download) - annotate - [selected], Fri Mar 19 16:42:47 2021 UTC (3 years, 1 month ago) by triaxx
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

rebar3: Update to 3.14.4

upstream changes:
-----------------

3.14.4

@github-actions github-actions released this 23 days ago

This is a point release containing various bug fixes, some performance enhancements, and adding support for OTP-24.

  o Common test: make group paths work for --group "[g1,g2],g3" option
  o Adapt to upcoming OTP 24 dialyzer output
  o Sanitize repo configuration in DEBUG output
  o Modify algorithm to decide compilation order between apps to resolve header dependencies
  o Use rebar_packages_cdn for fetching package resource
  o bump relx to 4.3.0
  o Compile nothing if there are no extra virtual apps (performance increase)
  o Print actural download repo in DEBUG output
  o bump cth readable to 1.5.0
  o Make sure dialyzer static analysis is performed at least once, in CI
  o Use "git rev-list --count" to count refs (performance increase)
  o OTP-24 Readiness
  o fix injection of cth_readable to allow for hook configuration
  o Fixed link to list of plugins.
  o rebar_compiler: fix DAG and speed-up analysis for large repositories
  o use newest certifi release

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 16 00:06:09 2021 UTC (3 years, 3 months ago) by triaxx
Branch: MAIN
Changes since 1.1: +41 -41 lines
Diff to previous 1.1 (colored) to selected 1.3 (colored)

rebar3: Update to 3.14.3

No changelog is provided upstream. Changes can be observed through git log:
https://github.com/erlang/rebar3/commits/master

Revision 1.1 / (download) - annotate - [select for diffs], Thu Sep 13 14:56:43 2018 UTC (5 years, 7 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to selected 1.3 (colored)

devel/rebar3: Import rebar 3.6.1 as devel/rebar3.

Rebar3 is an Erlang tool that makes it easy to create, develop,
and release Erlang libraries, applications, and systems in
a repeatable manner.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>