Tristan Sloughter
0097a841a3
handle global config file that can't be read
9 years ago
Tristan Sloughter
93c000d02a
fix ssl_opts list in httpc request to not be doubel list
9 years ago
Tristan Sloughter
63f588a677
add ssl_opts/1 to rebar_api so rebar3 hex plugin can use it
9 years ago
Tristan Sloughter
3485f08a03
add ssl cert validation, unless OTP version is too old
9 years ago
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
9 years ago
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 years ago
Tristan Sloughter
6f95911d32
only look for top level apps and those directly under apps/ or lib/
9 years ago
Tristan Sloughter
7797a66e88
keep plugins in path after compileprovider run
9 years ago
alisdair sullivan
360834dd40
Revert "don't add `{extra_src_dirs, ["test"]}` to `test` profile"
This reverts commit b06a6ecadd
.
9 years ago
Tristan Sloughter
a67ce27ac1
add comment for global apply_profiles and log message for bad bootstrap lock file
9 years ago
Tristan Sloughter
a06a2f8917
handle global plugins installing plugins to build deps
9 years ago
Fred Hebert
0c53658087
Fix missing 'cd' that depended on cwd changes
9 years ago
Tristan Sloughter
8aaff65d6b
bug fix: was using outer LevelsAcc variable in inner foldl
9 years ago
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 years ago
Tristan Sloughter
f59efebf56
pass failing upgrade case where levels are increased
9 years ago
Fred Hebert
d05019ad0c
Only have the port cd, not rebar3 as a whole
9 years ago
Tristan Sloughter
a5569f00e0
don't run unnecessary code if hooks are empty list
9 years ago
Tristan Sloughter
6430039bb6
handle http:// git deps in check fif upgrade needed
9 years ago
Tristan Sloughter
b6b32fc64e
ensure necessary directories exist to compile mibs files
9 years ago
Tristan Sloughter
d64cb0f863
always close port when done with it. fixes #589
9 years ago
Daniel Widgren
80bfb0dd29
Changed cases on robocopy so it uses variables in a better way
9 years ago
CarlosEDP
eb2d31be26
Use rebar own method to read global config file.
10 years ago
CarlosEDP
4a25a4d9d5
Renamed functions.
10 years ago
CarlosEDP
38cc32c40a
Added rebar profile to httpc initialization and calls.
10 years ago
CarlosEDP
46ca2bb6b0
Fix for cases with no proxy configured.
10 years ago
CarlosEDP
9a20d3b56a
No need to use profile hex. Proxy settings are applied globally.
10 years ago
CarlosEDP
60265aba34
Get proxy vars from ~/.config/rebar3/rebar.config. Variable format is {http_proxy, http://host:port } or {http_proxy, http://host:port }
10 years ago
CarlosEDP
8de84f1af0
Added support for proxy on rebar3 based on environment variables.
10 years ago
Fred Hebert
f48340039f
Run agent as current process & hibernate
This tries to reduce memory usage when running `rebar3 shell` by running
the agent in the current process (and avoiding to copy state
cross-boundaries), and using frequent hibernation after each run to
force a full GC and compaction of the current process.
10 years ago
Fred Hebert
7840a93e85
Minor refactors
10 years ago
Fred Hebert
cfea721d98
wip: deps install refactor
10 years ago
alisdair sullivan
77a85b4a68
remove `cover_print_enabled` and `cover_data_dir` config options
and replace with `cover_opts`
10 years ago
CarlosEDP
6d3fa8dd66
Fix for different robocopy behaviour when moving files or folders.
10 years ago
CarlosEDP
299fe33e39
Fix for robocopy command
10 years ago
Fred Hebert
35f2a479b1
Apply profiles properly & load all paths
The old run didn't necessarily apply all profiles well, and would only
reload modules in the app file. However, since adding extra_src_dirs,
modules can be compiled without ending up in the app file; this lets
the rebar3 shell agent handle that case.
10 years ago
Garret Smith
f8728fea2d
Read and process .app.src.script if present
10 years ago
Tristan Sloughter
1c66f0eb9f
setup hex httpc profile and http opts. needed also for proxy
10 years ago
Tristan Sloughter
4e410b6d6e
update contributing, readme and app.src for beta-1
10 years ago
Tristan Sloughter
da7e15c9a5
only reverse some relx args, fixes profile usage for relx
10 years ago
Tristan Sloughter
5402199d88
expand plugins for profile after applying profiles
10 years ago
Viacheslav V. Kovalev
9a83c35a6f
Rewrite code around remove_links/1 to make it clearer
10 years ago
Daniel Widgren
ebfdbc695e
Fixed review comments
10 years ago
Viacheslav V. Kovalev
44272e23b6
Some fixes after review
10 years ago
alisdair sullivan
f51d7f2048
add an (almost) unique reference to message sent from the ct provider
to itself so a selective receive can be used to retrieve it
fixes #547
10 years ago
Tristan Sloughter
b85d827c80
add relup provider and update relx
10 years ago
Viacheslav V. Kovalev
ab98bc15a8
Fix rebar_utils:sh on windows
10 years ago
Viacheslav Kovalev
a753bbeafc
Fix common test run duplication on windows
10 years ago
Daniel Widgren
a029e957fd
Fixed two tests for windows 8.1 and added touch functionality
10 years ago
Viacheslav V. Kovalev
d734beb850
Fix dialyzer tests on windows
10 years ago
Viacheslav V. Kovalev
8138bb92b2
Fix windows-related issues
10 years ago