Nathaniel Waisbrot
45c9975a6d
Add a provider hook for edoc
Allows `pre_hooks` and `post_hooks` to fire for the `edoc` provider.
9 лет назад
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 лет назад
Fred Hebert
8fe2d0c8a4
Merge pull request #1155 from tsloughter/up_relx_ec
upgrade relx and erlware_commons
9 лет назад
Tristan Sloughter
79d6d0bd15
upgrade relx and erlware_commons
9 лет назад
Fred Hebert
0ad1113592
Merge pull request #1152 from soranoba/feature/test-distnode
supported dist_node in ct and eunit
9 лет назад
soranoba
f420ccab98
Add sname, name, setcookie option in eunit, ct
9 лет назад
Fred Hebert
e88aec9d32
Merge pull request #1151 from filmor/recursive-sys-config
Recursively load configurations in shell
9 лет назад
soranoba
c2e9683679
supported dist_node in ct and eunit
9 лет назад
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 лет назад
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 лет назад
Fred Hebert
0844e27d5b
Turn back to git-based semver for post-release
9 лет назад
Fred Hebert
7ec2ba05fb
Tag to 3.1.0
9 лет назад
Tristan Sloughter
86054f2b22
Merge pull request #1147 from ferd/blacklist-shell-reloads
Blacklist apps to reload
9 лет назад
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 лет назад
Tristan Sloughter
0be32c78f0
Merge pull request #1138 from egobrain/patch-2
Fixed git version bug
9 лет назад
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 лет назад
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 лет назад
Fred Hebert
c5ee8e2689
Merge pull request #1132 from ferd/expand-dist
Extract dist config handling, support {dist_node, ...}
9 лет назад
alisdair sullivan
876240d4ed
allow all `ct_opts` arguments to be passed through to `ct:run_test/1`
9 лет назад
Fred Hebert
410de349d1
rename dist to dist_node
9 лет назад
Fred Hebert
f7d88a5436
Merge pull request #1141 from tsloughter/master
change travis config to only upload escripts for tags (stable releases)
9 лет назад
Tristan Sloughter
bd70160210
change travis config to only upload escripts for tags (stable releases)
9 лет назад
Fred Hebert
c619921ed1
Merge pull request #1131 from leoliu/master
Cosmetic change: remove last comma-first style
9 лет назад
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 лет назад
Leo Liu
04c830244d
Cosmetic change: remove last comma-first style
9 лет назад
Fred Hebert
d2de55d23e
Merge pull request #1128 from fenollp/rebranding
rebranding: update links rebar/rebar3 -> erlang/rebar3
9 лет назад
Fred Hebert
3d9c708391
Merge pull request #1129 from psyeugenic/egil/fix-readme-build
Fix Travis build status image in readme
9 лет назад
Björn-Egil Dahlberg
401e92c63e
Fix Travis build status image in readme
9 лет назад
Tristan Sloughter
3e28d3672d
Merge pull request #1125 from ferd/fix-paths-output
Support all deps & locks in rebar3 path
9 лет назад
Tristan Sloughter
8698299e20
Merge pull request #1126 from ferd/single-entry-pkgs
Allow 'rebar3 pkgs <app>' to return only that app
9 лет назад
Pierre Fenoll
84708eaae4
rebranding: update links rebar/rebar3 -> erlang/rebar3
9 лет назад
Tristan Sloughter
4e81c84fa0
Merge pull request #1124 from ferd/improve-intermittent-shell-issues
Fix bugs/race conditions in shell
9 лет назад
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 лет назад
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 лет назад
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 лет назад
Francisco Rojas
2d1d251add
use priv_dir in rebar_dir test
9 лет назад
Francisco Rojas
8b1193e4af
Add spec for global_cache_dir
9 лет назад
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 лет назад
Fred Hebert
7d29b74a22
Revert to semver for non-tagged builds.
9 лет назад
Fred Hebert
a93c219d2e
Bump to 3.0.0
9 лет назад
Fred Hebert
caf37f198b
Merge pull request #1110 from tsloughter/master
pass loglevel used in rebar3 to relx
9 лет назад
Tristan Sloughter
c67ac9292c
pass loglevel used in rebar3 to relx
9 лет назад
Fred Hebert
b47839e18b
Merge pull request #1108 from talentdeficit/make_omar_happy
make omar happy
9 лет назад
alisdair sullivan
0bd5e230d2
move definition of 'EUNIT' macro to eunit provider
add definition of 'COMMON_TEST' macro to eunit provider
9 лет назад
alisdair sullivan
d75fa758d8
Revert "define the 'EUNIT' macro in the test profile"
This reverts commit 4c32c52b55
.
9 лет назад
Fred Hebert
925ecefc12
Merge pull request #1107 from tsloughter/master
upgrade cth_readable
9 лет назад
Tristan Sloughter
43889344fc
upgrade cth_readable
9 лет назад
Tristan Sloughter
33011a2779
Merge pull request #1106 from talentdeficit/EUNIT
define the 'EUNIT' macro in the test profile
9 лет назад
alisdair sullivan
4c32c52b55
define the 'EUNIT' macro in the test profile
9 лет назад
Fred Hebert
e389238d8a
Merge pull request #1104 from tsloughter/master
move dialyze setting of debug_info to overrides in profile
9 лет назад