| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Reload apps running in shell with new config
|
| |
| |
| |
| |
| |
| |
| | |
This patch makes it so that whenever the rebar3 shell has a new
configuration for an application that is already running and would be
restarted (without risking the stability of the node or functionality of
rebar_agent), we stop and restart the app.
|
|/
|
|
|
|
| |
Since packages store etags on disk directly, the local install feature
can no longer depend on this; we instead port the etag feature back to
local providers only.
|
|\
| |
| | |
Fix precedence rules of erl_opts for test profile
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When adding the 'TEST' macro to the test profile, we mistakenly sourced
the erl_opts values from the base profile rather than the test profile
itself.
This means that in cases where the base profile set an option such as
'no_debug_info' and a profile overrode it with 'debug_info', the default
options would get injected within the test profile, and broke the
precedence rules, yielding incompatible values.
This patch fixes things by adding the macro to the values sourced from
the test profile itself, fixing the issue.
|
| |
| |
| |
| | |
Let's bundle this with another PR
|
|/
|
|
|
|
|
|
|
|
| |
This will at least display the script that failed with the stacktrace
before failing as usual, but without altering the return value.
This should make the common failure path more user-friendly without
breaking any existing behaviour that may have relied on the script file
working. If there's any unexpected side-effect, it will be visual only
rather than blocking full builds if ?ABORT were used.
|
|
|
|
|
|
|
|
|
| |
Some still remain from erl_type calls from Dialyzer, but most of them
are handled.
Decided to just ignore rebar_alias since playing with the type specs of
abstract code format is just a nightmare and hard to do cross-versions I
guess.
|
|\
| |
| |
| | |
tothlac-1743_specs
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Handle Schema-less Proxy URLs in ENV vars
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We've had multiple tickets opened because of unclear PROXY settings when
the scheme is missing form the URI. To be helpful, we instead add them
dynamically whenever they're missing.
Example issues:
- https://github.com/erlang/rebar3/issues/1747
- https://github.com/erlang/rebar3/issues/1697
|
| |/
|/|
| |
| | |
We can probably still move ahead without a cache if we must
|
|/ |
|
| |
|
|
|
|
|
| |
It makes things worse than if it weren't there.
Fixes issue #1726
|
|\
| |
| | |
sort-as: force an order on multiple profiles
|
| | |
|
| |
| |
| |
| | |
list passed to providers:create/1
|
| |
| |
| |
| | |
This reverts commit 0f7e6c31e97c238649e7ae0a1b7087e342174ecc.
|
| |
| |
| |
| | |
This reverts commit 4ad1db97336a3ac070880876ada07d4c7b769327.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 3f8dd5eacebb913144f3615fdf44658b6223a791.
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Env for providers
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Set unicode option for standard_io at entry point
|
| | |
|
|\ \
| |/
|/| |
fix hooks and plugins usage when cleaning build artifacts for deps
|
| |
| |
| |
| |
| |
| | |
find_apps didn't read config files so no hooks were in the app_infos,
and now that hooks are being done rebar needs plugins to be able
to run clean plugin hooks in deps.
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The way arguments are passed by the alias provider is not compatible
with all rebar providers/commands. Especially the release (relx)
provider does not like getting its arguments as a plain string. It
expects its arguments in a pre-parsed format as returned by
getopt:parse/2.
Other commands, e.g. eunit, seem to be fine with both ways of argument
passing. Therefore, this fix changes the alias provider argument passing
to the getopt format in general.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Although fairly irregular, the presence of a subdirectory in ebin/ while
running rebar3 escriptize would crash the run and generate a dump.
Since ebin subdirectories are generally not supported (adding a path for
an application only adds ebin/ and no subdirectories to the VM's path
set), we just silently ignore the directory altogether.
Fixes #1693
|
|
|
|
|
|
|
|
|
| |
Rather than the caller having to think of what to purge or not, use
erlang:check_process_code/2 to detect if the caller (rebar3) may die
because of the operation.
If so, do a soft purge with a conditional delete instead of a hard purge
with a mandatory delete.
|
|
|
|
| |
Prevents the killing of a plugin with itself
|
|
|
|
|
|
|
|
|
|
| |
- Uses the code at https://github.com/tsloughter/rebar_alias and brings
it within rebar3
- adds safety checks to prevent redefining built-in commands or obvious
circular dependencies between commands (indirect circular deps are
still possible)
- adds tests
- adds a systest to ensure no clash with the existing plugin
|
|\
| |
| | |
Fix file handling on Windows 7
|
| |
| |
| |
| | |
Has no ill effect as tested on Win10
|
|\ \
| | |
| | | |
Fix Plugin path handling (again!)
|