James Fish
fc6cc368c3
Fix some unknown functions/types dialyzer warnings
9 anos atrás
Tristan Sloughter
ecf6ad5524
fix no_return warnings
9 anos atrás
Tristan Sloughter
6fde1748b9
fix dialyzer warnings, except 'no local return' warnings
9 anos atrás
Fred Hebert
28a3f9849b
Detect missing EPMD, error, fallback and advise.
9 anos atrás
Tristan Sloughter
4bcab8ef96
add to deps tree help message that only packages are supported
9 anos atrás
Tristan Sloughter
125ff06b74
add tree option to deps command that prints pkg deps tree
9 anos atrás
Sean Cribbs
a9aca6190c
Fix description in "rebar3 new"
`template` is not a kv-style argument, but a plain argument. If you give `template=app` on the command line, you get "template not found."
9 anos atrás
Tristan Sloughter
6d01729c68
upgrade depends on the lock provider and lock prv sets state
9 anos atrás
Tristan Sloughter
c7bb13f29b
keep correct Level for pkg deps of scm deps
9 anos atrás
Tristan Sloughter
8b24b49739
only use upgrade on default deps
9 anos atrás
Tristan Sloughter
4e966a6e67
sort versions of packages when printing
9 anos atrás
Tristan Sloughter
238442b57b
add ; to escaped chars in path
9 anos atrás
Tristan Sloughter
1e38bc0d0f
keep plugins dir as deps dir when compiling plugins+deps
9 anos atrás
Tristan Sloughter
f77457343a
fix find of deps for clean all
9 anos atrás
Tristan Sloughter
806f7f9219
include app.src.script in app discover and always use if available
9 anos atrás
Tristan Sloughter
7e4747109c
escape & in paths
9 anos atrás
pvmart
55d6aa2789
Fix duplicate function clause in rebar_prv_install_deps:parse_dep/5
9 anos atrás
Tristan Sloughter
e64671686f
fix upgrade of newly added pkg dep from scm locked dep
9 anos atrás
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
9 anos atrás
Tristan Sloughter
6e9df6cc57
parse old format of OTP versions
9 anos atrás
Derek Brown
04fedc7422
Add functions to validate OTP release in use
In the spirit of Original Rebar's "require_min_otp_vsn", this adds
rebar_utils:check_min_otp_version/1 (taking a string containing the
minimum version) and rebar_utils:check_blacklisted_otp_versions/1
(taking a list of regular expression strings), as well as tests in
rebar_utils_SUITE. They're currently only called by the tests-
how/where to best place calls to them from non-test code needs to be
determined (at which point two corresponding rebar.config keys can be
supported). For example, the version probably shouldn't be enforced when
just running "rebar3 help".
10 anos atrás
pvmart
a757b68e28
Fix plugin upgrade when plugin mentioned only by its name
9 anos atrás
Richard Jones
9263b95f82
Tidy up "Linking.." messages during compile
Linking message will only be printed the first time the link or copy
actually happens.
Note:
rebar_file_utils:symlink_or_copy will now return 'exists'
instead of ok, if it did nothing because the link exists.
Nothing was checking the return value yet, so seemed reasonable.
9 anos atrás
Tristan Sloughter
6fad6efe68
support atom for branch names like rebar2
9 anos atrás
Tristan Sloughter
45578aedfc
run edoc provider in docs provider
9 anos atrás
Tristan Sloughter
0097a841a3
handle global config file that can't be read
9 anos atrás
Tristan Sloughter
93c000d02a
fix ssl_opts list in httpc request to not be doubel list
9 anos atrás
Tristan Sloughter
63f588a677
add ssl_opts/1 to rebar_api so rebar3 hex plugin can use it
9 anos atrás
Tristan Sloughter
3485f08a03
add ssl cert validation, unless OTP version is too old
9 anos atrás
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
9 anos atrás
Fred Hebert
87a57f0432
Escape paths and args in shell commands
Basic escaping is done only. Fancy hex sequences are not covered, but
this should otherwise take care of the most common issues.
Fixes #497
9 anos atrás
Tristan Sloughter
6f95911d32
only look for top level apps and those directly under apps/ or lib/
9 anos atrás
Tristan Sloughter
7797a66e88
keep plugins in path after compileprovider run
9 anos atrás
alisdair sullivan
360834dd40
Revert "don't add `{extra_src_dirs, ["test"]}` to `test` profile"
This reverts commit b06a6ecadd
.
9 anos atrás
Tristan Sloughter
a67ce27ac1
add comment for global apply_profiles and log message for bad bootstrap lock file
9 anos atrás
Tristan Sloughter
a06a2f8917
handle global plugins installing plugins to build deps
9 anos atrás
Fred Hebert
0c53658087
Fix missing 'cd' that depended on cwd changes
9 anos atrás
Tristan Sloughter
8aaff65d6b
bug fix: was using outer LevelsAcc variable in inner foldl
9 anos atrás
Fred Hebert
05e22e4d5c
Fix reporting of error:undef exceptions
The wide-cast catching of undef errors would make it so any provider
calling an undefined function would be reported as a missing 'do' for
the provider.
This patch inspects the stacktrace to know if `Provider:do/1` is indeed
the missing callback, and reports the rest properly.
9 anos atrás
Tristan Sloughter
f59efebf56
pass failing upgrade case where levels are increased
9 anos atrás
Fred Hebert
d05019ad0c
Only have the port cd, not rebar3 as a whole
9 anos atrás
Tristan Sloughter
a5569f00e0
don't run unnecessary code if hooks are empty list
9 anos atrás
Tristan Sloughter
6430039bb6
handle http:// git deps in check fif upgrade needed
9 anos atrás
Tristan Sloughter
b6b32fc64e
ensure necessary directories exist to compile mibs files
9 anos atrás
Tristan Sloughter
d64cb0f863
always close port when done with it. fixes #589
9 anos atrás
Daniel Widgren
80bfb0dd29
Changed cases on robocopy so it uses variables in a better way
9 anos atrás
CarlosEDP
eb2d31be26
Use rebar own method to read global config file.
10 anos atrás
CarlosEDP
4a25a4d9d5
Renamed functions.
10 anos atrás
CarlosEDP
38cc32c40a
Added rebar profile to httpc initialization and calls.
10 anos atrás
CarlosEDP
46ca2bb6b0
Fix for cases with no proxy configured.
10 anos atrás