Fred Hebert
42c6e1a0cf
Merge pull request #1167 from tsloughter/relx_3.19
upgrade relx to 3.19.0
9 vuotta sitten
Tristan Sloughter
e895106903
upgrade relx to 3.19.0
9 vuotta sitten
Lee GiTack
b9d43cd8cd
Fix compile error case when cover compilation
Dependent libs is required for some module when cover compiling.
So all dependencies should be available on code path.
This fixes #1148 issue.
9 vuotta sitten
Heinz N. Gies
5945251fc0
Make sure not to dump in api mode
9 vuotta sitten
Heinz N. Gies
bc9746881f
Write rebar3.crashdump on errors
9 vuotta sitten
Nathaniel Waisbrot
45c9975a6d
Add a provider hook for edoc
Allows `pre_hooks` and `post_hooks` to fire for the `edoc` provider.
9 vuotta sitten
Fred Hebert
251c1447ea
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.
9 vuotta sitten
Fred Hebert
8fe2d0c8a4
Merge pull request #1155 from tsloughter/up_relx_ec
upgrade relx and erlware_commons
9 vuotta sitten
Tristan Sloughter
79d6d0bd15
upgrade relx and erlware_commons
9 vuotta sitten
Fred Hebert
0ad1113592
Merge pull request #1152 from soranoba/feature/test-distnode
supported dist_node in ct and eunit
9 vuotta sitten
soranoba
f420ccab98
Add sname, name, setcookie option in eunit, ct
9 vuotta sitten
Fred Hebert
e88aec9d32
Merge pull request #1151 from filmor/recursive-sys-config
Recursively load configurations in shell
9 vuotta sitten
soranoba
c2e9683679
supported dist_node in ct and eunit
9 vuotta sitten
Benedikt Reinartz
4ec226da34
Recursively load configurations in shell.
The sys.config loading in the shell command did not implement recursion
and thus processed the file different from a `erl -config cfg/path`.
9 vuotta sitten
Francisco Rojas
243e94391a
Read env var REBAR_CACHE_DIR on rebar3 only once
Instead of reading every time that rebar_dir:global_cache_dir/1 is
called
9 vuotta sitten
Fred Hebert
0844e27d5b
Turn back to git-based semver for post-release
9 vuotta sitten
Fred Hebert
7ec2ba05fb
Tag to 3.1.0
9 vuotta sitten
Tristan Sloughter
86054f2b22
Merge pull request #1147 from ferd/blacklist-shell-reloads
Blacklist apps to reload
9 vuotta sitten
Fred Hebert
359d486c36
Blacklist apps to reload
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)
9 vuotta sitten
Tristan Sloughter
0be32c78f0
Merge pull request #1138 from egobrain/patch-2
Fixed git version bug
9 vuotta sitten
Yakov
581a01c405
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 )
9 vuotta sitten
Fred Hebert
d07f2c0664
Merge pull request #1144 from talentdeficit/ct_opts_passthru
allow all `ct_opts` arguments to be passed through to `ct:run_test/1`
9 vuotta sitten
Fred Hebert
c5ee8e2689
Merge pull request #1132 from ferd/expand-dist
Extract dist config handling, support {dist_node, ...}
9 vuotta sitten
alisdair sullivan
876240d4ed
allow all `ct_opts` arguments to be passed through to `ct:run_test/1`
9 vuotta sitten
Fred Hebert
410de349d1
rename dist to dist_node
9 vuotta sitten
Fred Hebert
f7d88a5436
Merge pull request #1141 from tsloughter/master
change travis config to only upload escripts for tags (stable releases)
9 vuotta sitten
Tristan Sloughter
bd70160210
change travis config to only upload escripts for tags (stable releases)
9 vuotta sitten
Fred Hebert
c619921ed1
Merge pull request #1131 from leoliu/master
Cosmetic change: remove last comma-first style
9 vuotta sitten
Fred Hebert
7a1b59015f
Extract dist config handling, support {dist, ...}
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.
9 vuotta sitten
Leo Liu
04c830244d
Cosmetic change: remove last comma-first style
9 vuotta sitten
Fred Hebert
d2de55d23e
Merge pull request #1128 from fenollp/rebranding
rebranding: update links rebar/rebar3 -> erlang/rebar3
9 vuotta sitten
Fred Hebert
3d9c708391
Merge pull request #1129 from psyeugenic/egil/fix-readme-build
Fix Travis build status image in readme
9 vuotta sitten
Björn-Egil Dahlberg
401e92c63e
Fix Travis build status image in readme
9 vuotta sitten
Tristan Sloughter
3e28d3672d
Merge pull request #1125 from ferd/fix-paths-output
Support all deps & locks in rebar3 path
9 vuotta sitten
Tristan Sloughter
8698299e20
Merge pull request #1126 from ferd/single-entry-pkgs
Allow 'rebar3 pkgs <app>' to return only that app
9 vuotta sitten
Pierre Fenoll
84708eaae4
rebranding: update links rebar/rebar3 -> erlang/rebar3
9 vuotta sitten
Tristan Sloughter
4e81c84fa0
Merge pull request #1124 from ferd/improve-intermittent-shell-issues
Fix bugs/race conditions in shell
9 vuotta sitten
Fred Hebert
e9dcaeee6d
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
9 vuotta sitten
Fred Hebert
9d01c45aeb
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
9 vuotta sitten
Fred Hebert
8e6a1ad62e
Fix bugs/race conditions
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.
9 vuotta sitten
Francisco Rojas
2d1d251add
use priv_dir in rebar_dir test
9 vuotta sitten
Francisco Rojas
8b1193e4af
Add spec for global_cache_dir
9 vuotta sitten
Francisco Rojas
6c9bc2c1d5
Allows overwrite default cache dir using REBAR_CACHE_DIR
Allows overwrite the default cache directory using the environment
variable REBAR_CACHE_DIR.
9 vuotta sitten
Fred Hebert
7d29b74a22
Revert to semver for non-tagged builds.
9 vuotta sitten
Fred Hebert
a93c219d2e
Bump to 3.0.0
9 vuotta sitten
Fred Hebert
caf37f198b
Merge pull request #1110 from tsloughter/master
pass loglevel used in rebar3 to relx
9 vuotta sitten
Tristan Sloughter
c67ac9292c
pass loglevel used in rebar3 to relx
9 vuotta sitten
Fred Hebert
b47839e18b
Merge pull request #1108 from talentdeficit/make_omar_happy
make omar happy
9 vuotta sitten
alisdair sullivan
0bd5e230d2
move definition of 'EUNIT' macro to eunit provider
add definition of 'COMMON_TEST' macro to eunit provider
9 vuotta sitten
alisdair sullivan
d75fa758d8
Revert "define the 'EUNIT' macro in the test profile"
This reverts commit 4c32c52b55
.
9 vuotta sitten