Tristan Sloughter
e215b64813
update erlware_commons erl_opts overrides
pirms 9 gadiem
Tristan Sloughter
ce59c92a02
upgrade erlware_commons for OTP-19 fix
pirms 9 gadiem
Fred Hebert
5ccaaa8da2
Merge pull request #1178 from kalta/fix-shell-startup
Fix shell node startup
pirms 9 gadiem
Carlos Gonzalez
66aa49c186
Fix shell node startup
pirms 9 gadiem
Fred Hebert
c9cc58d2b8
Merge pull request #1056 from lpgauth/xref_ignores
Add support for xref_ignores
pirms 9 gadiem
Tristan Sloughter
98751fa3fd
Merge pull request #1121 from frojasg/feature/config-rebar-dir-using-env-var
Allows overwrite default cache dir using REBAR_CACHE_DIR
pirms 9 gadiem
Tristan Sloughter
b11d1594c3
Merge pull request #1158 from ferd/fix-remote-shell-logger
Fixes logging from remote shells in rebar3 shell
pirms 9 gadiem
Fred Hebert
c11cf0b075
Merge pull request #1159 from waisbrot/edoc-hook
Add a provider hook for edoc
pirms 9 gadiem
Tristan Sloughter
cb7c9a41ba
Merge pull request #1169 from ericmj/emj-hex-repo
Change to new hex.pm repo URL
pirms 9 gadiem
Eric Meadows-Jönsson
c161ad0094
Change to new hex.pm repo URL
pirms 9 gadiem
Fred Hebert
42c6e1a0cf
Merge pull request #1167 from tsloughter/relx_3.19
upgrade relx to 3.19.0
pirms 9 gadiem
Tristan Sloughter
e895106903
upgrade relx to 3.19.0
pirms 9 gadiem
Nathaniel Waisbrot
45c9975a6d
Add a provider hook for edoc
Allows `pre_hooks` and `post_hooks` to fire for the `edoc` provider.
pirms 9 gadiem
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.
pirms 9 gadiem
Fred Hebert
8fe2d0c8a4
Merge pull request #1155 from tsloughter/up_relx_ec
upgrade relx and erlware_commons
pirms 9 gadiem
Tristan Sloughter
79d6d0bd15
upgrade relx and erlware_commons
pirms 9 gadiem
Fred Hebert
0ad1113592
Merge pull request #1152 from soranoba/feature/test-distnode
supported dist_node in ct and eunit
pirms 9 gadiem
soranoba
f420ccab98
Add sname, name, setcookie option in eunit, ct
pirms 9 gadiem
Fred Hebert
e88aec9d32
Merge pull request #1151 from filmor/recursive-sys-config
Recursively load configurations in shell
pirms 9 gadiem
soranoba
c2e9683679
supported dist_node in ct and eunit
pirms 9 gadiem
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`.
pirms 9 gadiem
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
pirms 9 gadiem
Fred Hebert
0844e27d5b
Turn back to git-based semver for post-release
pirms 9 gadiem
Fred Hebert
7ec2ba05fb
Tag to 3.1.0
pirms 9 gadiem
Tristan Sloughter
86054f2b22
Merge pull request #1147 from ferd/blacklist-shell-reloads
Blacklist apps to reload
pirms 9 gadiem
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)
pirms 9 gadiem
Tristan Sloughter
0be32c78f0
Merge pull request #1138 from egobrain/patch-2
Fixed git version bug
pirms 9 gadiem
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 )
pirms 9 gadiem
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`
pirms 9 gadiem
Fred Hebert
c5ee8e2689
Merge pull request #1132 from ferd/expand-dist
Extract dist config handling, support {dist_node, ...}
pirms 9 gadiem
alisdair sullivan
876240d4ed
allow all `ct_opts` arguments to be passed through to `ct:run_test/1`
pirms 9 gadiem
Fred Hebert
410de349d1
rename dist to dist_node
pirms 9 gadiem
Fred Hebert
f7d88a5436
Merge pull request #1141 from tsloughter/master
change travis config to only upload escripts for tags (stable releases)
pirms 9 gadiem
Tristan Sloughter
bd70160210
change travis config to only upload escripts for tags (stable releases)
pirms 9 gadiem
Fred Hebert
c619921ed1
Merge pull request #1131 from leoliu/master
Cosmetic change: remove last comma-first style
pirms 9 gadiem
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.
pirms 9 gadiem
Leo Liu
04c830244d
Cosmetic change: remove last comma-first style
pirms 9 gadiem
Fred Hebert
d2de55d23e
Merge pull request #1128 from fenollp/rebranding
rebranding: update links rebar/rebar3 -> erlang/rebar3
pirms 9 gadiem
Fred Hebert
3d9c708391
Merge pull request #1129 from psyeugenic/egil/fix-readme-build
Fix Travis build status image in readme
pirms 9 gadiem
Björn-Egil Dahlberg
401e92c63e
Fix Travis build status image in readme
pirms 9 gadiem
Tristan Sloughter
3e28d3672d
Merge pull request #1125 from ferd/fix-paths-output
Support all deps & locks in rebar3 path
pirms 9 gadiem
Tristan Sloughter
8698299e20
Merge pull request #1126 from ferd/single-entry-pkgs
Allow 'rebar3 pkgs <app>' to return only that app
pirms 9 gadiem
Pierre Fenoll
84708eaae4
rebranding: update links rebar/rebar3 -> erlang/rebar3
pirms 9 gadiem
Tristan Sloughter
4e81c84fa0
Merge pull request #1124 from ferd/improve-intermittent-shell-issues
Fix bugs/race conditions in shell
pirms 9 gadiem
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
pirms 9 gadiem
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
pirms 9 gadiem
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.
pirms 9 gadiem
Francisco Rojas
2d1d251add
use priv_dir in rebar_dir test
pirms 9 gadiem
Francisco Rojas
8b1193e4af
Add spec for global_cache_dir
pirms 9 gadiem
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.
pirms 9 gadiem