| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The previous iteration of the patch worked somewhat by accident. After
digging in and figuring out why the two dep sources are the way they
are, the patch is now properly working with a well-documented
explanatiion inline.
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Formatted errors can accidentally contain substrings which are control
sequences for io:format/2. This is a naive attempt to handle such cases.
One example is running xref on the following module
(assuming module m does not exist)
```
-module(handle_error).
-export([f/0]).
f() -> m:'bobby~stables'().
```
```
$ rebar3 xref
===> Verifying dependencies...
===> Compiling myapp
===> Running cross reference analysis...
escript: exception error: bad argument
in function io:format/3
called as io:format(<0.23.0>,
"\e[0;31m===> \e[1mWarning: handle_error:f/0 is unused export (Xref)\nWarning: handle_error:f/0 calls undefined function m:bobby~stables/0 (Xref)\n\n\e[0m\e[0m",
[])
in call from rebar3:handle_error/1 (/Users/gomoripeti/git/rebar3/_build/default/lib/rebar/src/rebar3.erl, line 279)
```
|
|\ \ \ \
| | | | |
| | | | | |
Don't die when source deps with [raw] are used
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
This adds support for their format both on the first read and when
looking for modifications to dependencies.
|
|/ / / |
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
fix issue #1185 git working directory issues due to command line options in Windows
|
|\ \ \
| | | |
| | | | |
don't needlessly update the code path twice if no hooks to run
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
closes #1057 and #1179
|
| |/
|/| |
|
|\ \
| | |
| | | |
Add support for xref_ignores
|
| | | |
|
|\ \ \
| | | |
| | | | |
Allows overwrite default cache dir using REBAR_CACHE_DIR
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of reading every time that rebar_dir:global_cache_dir/1 is
called
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Allows overwrite the default cache directory using the environment
variable REBAR_CACHE_DIR.
|
|\ \ \ \
| | | | |
| | | | | |
Fixes logging from remote shells in rebar3 shell
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
Somehow swapping the tty handler once more fixes everything. I guess we
were missing a step somehow.
|
|\ \ \ \
| | | | |
| | | | | |
Add a provider hook for edoc
|
| |/ / /
| | | |
| | | |
| | | | |
Allows `pre_hooks` and `post_hooks` to fire for the `edoc` provider.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
supported dist_node in ct and eunit
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The sys.config loading in the shell command did not implement recursion
and thus processed the file different from a `erl -config cfg/path`.
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When an app contains one of the modules we can't afford to get upgraded
without breakage (i.e. erlware_commons, providers, getopt), skip
reloading that application from the rebar3 agent, such that it can keep
on working in subsequent calls.
Blacklisted:
- erlware_commons (broke on ec_cmd_log)
- providers (core to functionality)
- cf (useful to not explode on colors)
- cth_readable (only used for CT suites, but incompatibilities may break
whole runs)
|
|\ \ \
| | | |
| | | | |
Fixed git version bug
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've tried to compile project with git in .app.src vsn
Project was tagged as 1.0.0, but resulting .app vsn becomes 1.0.0+build.6.reff0aec24
```git lg
* f0aec24 - (80 минут назад) Fixed ct — Kozlov Yakov (HEAD -> master, tag: 1.0.0, origin/master)
... 5 commits before
```
```
$ git log --oneline --no-walk --tags --decorate
f0aec24 (HEAD -> master, tag: 1.0.0, origin/master) Fixed ct
```
I've found that `HEAD -> master` doest match pattern in [rebar_git_resource](https://github.com/erlang/rebar3/blob/master/src/rebar_git_resource.erl#L204)
|
|\ \ \ \
| | | | |
| | | | | |
allow all `ct_opts` arguments to be passed through to `ct:run_test/1`
|
| |/ / / |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit moves the handling of distribution config and starting out
of rebar_prv_shell and into rebar_dist_utils. The module is able to
handle standard config options and boot a distributed node mode. This
could be used in plugins (once it is exposed) and other providers like
CT.
Configuration is also expanded so that options like:
{dist, [{sname, atom()}, {name, atom()}, {setcookie, term()}]}
can be used and will be handled as a default. The config handler
supports similar terms from the command line being parsed in if the
calling provider supports them.
A test suite is added for configuration handling.
|
|\ \ \
| | | |
| | | | |
rebranding: update links rebar/rebar3 -> erlang/rebar3
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Support all deps & locks in rebar3 path
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default, the dependency only handled versioned packages and top-level
source dependencies, and locks were being ignored.
This patch makes it so locks and package deps are being considered,
generating full-blown path lists.
Should fix #1117
|
|\ \ \
| | | |
| | | | |
Allow 'rebar3 pkgs <app>' to return only that app
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Unsure if this should be a final supported format or if we should
support other ways to match instead.
This is a demo to solve the issue hilighted in
https://github.com/erlang/rebar3/pull/1072
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Following suggestions from @psyeugenic, this code terminates and waits
for the termination of the port handling IO before booting our own,
which should get rid of annoying warnings.
We also allow for the failure to shutdown the user worker under
kernel_sup, since it is likely not there anymore in many scenarios,
preventing crashes.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
pass loglevel used in rebar3 to relx
|
| | | |
|
| | |
| | |
| | |
| | | |
add definition of 'COMMON_TEST' macro to eunit provider
|
|/ /
| |
| |
| | |
This reverts commit 4c32c52b557c66ac6e6764efb1ed9135c00a3c20.
|