Tristan Sloughter
6e9df6cc57
parse old format of OTP versions
vor 9 Jahren
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".
vor 10 Jahren
Tristan Sloughter
5cbc22c45d
Merge pull request #640 from pvmart/master
Fix plugin upgrade when plugin mentioned only by its name
vor 9 Jahren
pvmart
a757b68e28
Fix plugin upgrade when plugin mentioned only by its name
vor 9 Jahren
Tristan Sloughter
16bbb4744b
Merge pull request #635 from RJ/tidy-linking-message
Tidy up "Linking.." messages during compile
vor 9 Jahren
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.
vor 9 Jahren
Fred Hebert
b393c8bc9b
Merge pull request #632 from tsloughter/docs_profile
run edoc provider in docs provider
vor 9 Jahren
Tristan Sloughter
6fad6efe68
support atom for branch names like rebar2
vor 9 Jahren
Tristan Sloughter
45578aedfc
run edoc provider in docs provider
vor 9 Jahren
Tristan Sloughter
d5ed09b248
Merge pull request #628 from joedevivo/master
Bumped relx to 3.4.0 and erlware_commons to 0.15.0
vor 9 Jahren
Joe DeVivo
6f3d75278f
Bumped relx to 3.4.0 and erlware_commons to 0.15.0
vor 9 Jahren
Fred Hebert
365e986880
Merge pull request #625 from tsloughter/global_config_fail
handle global config file that can't be read
vor 9 Jahren
Fred Hebert
9929eadc34
Merge pull request #622 from tsloughter/profile_deps_deps
do not install profile deps of deps
vor 9 Jahren
Tristan Sloughter
0097a841a3
handle global config file that can't be read
vor 9 Jahren
Tristan Sloughter
93c000d02a
fix ssl_opts list in httpc request to not be doubel list
vor 9 Jahren
Fred Hebert
65878f6bdd
Merge pull request #624 from tsloughter/ssl_check
add ssl cert validation, unless OTP version is too old
vor 9 Jahren
Tristan Sloughter
45a47ee036
Merge pull request #623 from ferd/update-config-sample
Making the file up to date
vor 9 Jahren
Tristan Sloughter
63f588a677
add ssl_opts/1 to rebar_api so rebar3 hex plugin can use it
vor 9 Jahren
Fred Hebert
342e217ac0
Making the sample file up to date
vor 9 Jahren
Tristan Sloughter
3485f08a03
add ssl cert validation, unless OTP version is too old
vor 9 Jahren
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
vor 9 Jahren
Tristan Sloughter
3551c64bdf
Merge pull request #621 from ferd/escape-paths
Escape paths and args in shell commands
vor 9 Jahren
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
vor 9 Jahren
Fred Hebert
0a4b43f678
Merge pull request #619 from tsloughter/app_find
only look for top level apps and those directly under apps/ or lib/
vor 9 Jahren
Tristan Sloughter
6f95911d32
only look for top level apps and those directly under apps/ or lib/
vor 9 Jahren
Fred Hebert
88067b1b88
Merge pull request #616 from qrilka/patch-1
Fixed erln8 link
vor 9 Jahren
Kirill Zaborsky
b5dbf7b951
Fixed erln8 link
vor 9 Jahren
Fred Hebert
296f868294
Merge pull request #613 from tsloughter/plugins_fix_path
keep plugins in path after compile provider run
vor 9 Jahren
Tristan Sloughter
7797a66e88
keep plugins in path after compileprovider run
vor 9 Jahren
Tristan Sloughter
57b2b988a1
Merge pull request #611 from talentdeficit/eunit_tests_run_twice
Revert "don't add `{extra_src_dirs, ["test"]}` to `test` profile"
vor 9 Jahren
alisdair sullivan
360834dd40
Revert "don't add `{extra_src_dirs, ["test"]}` to `test` profile"
This reverts commit b06a6ecadd
.
vor 9 Jahren
Fred Hebert
3ef93babc1
Merge pull request #609 from tsloughter/global_plugin_bug
Global plugin bug
vor 9 Jahren
Tristan Sloughter
a67ce27ac1
add comment for global apply_profiles and log message for bad bootstrap lock file
vor 9 Jahren
Tristan Sloughter
a06a2f8917
handle global plugins installing plugins to build deps
vor 9 Jahren
Tristan Sloughter
8dc0fafb36
fix for empty rebar.lock during bootstrap
vor 9 Jahren
Tristan Sloughter
83fa49ed3c
Merge pull request #606 from ferd/more-git-cding
Fix missing 'cd' that depended on cwd changes
vor 9 Jahren
Fred Hebert
0c53658087
Fix missing 'cd' that depended on cwd changes
vor 9 Jahren
Fred Hebert
749bf58260
Merge pull request #526 from rebar/jem-add-release-notes-tool
Add pr2relnotes tool to generate release notes
vor 9 Jahren
Fred Hebert
41a9a7b855
Merge pull request #605 from tsloughter/pkg_cull_fix
bug fix: was using outer LevelsAcc variable in inner foldl
vor 9 Jahren
Tristan Sloughter
8aaff65d6b
bug fix: was using outer LevelsAcc variable in inner foldl
vor 9 Jahren
Tristan Sloughter
333a102bcf
Merge pull request #604 from ferd/fix-readme-links
Fix links in README
vor 9 Jahren
Fred Hebert
2937aed15d
Merge pull request #551 from tsloughter/travis_update
update travis to test on 18 and 17.5
vor 9 Jahren
Fred Hebert
c62d50ce28
Fix links in README
vor 9 Jahren
Fred Hebert
0d21047389
Merge pull request #602 from tsloughter/level_fix
pass failing upgrade case where levels are increased
vor 9 Jahren
Tristan Sloughter
39518139d0
Merge pull request #603 from ferd/display-undefs
Fix reporting of error:undef exceptions
vor 9 Jahren
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.
vor 9 Jahren
Tristan Sloughter
f59efebf56
pass failing upgrade case where levels are increased
vor 9 Jahren
Fred Hebert
81bf52501d
Failing case for unstable upgrade lock files
vor 9 Jahren
Fred Hebert
9affae5c00
Merge pull request #600 from tsloughter/upgarde_deps
upgrade erlware_commons, bbmustache and relx
vor 9 Jahren
Tristan Sloughter
3716c347a5
upgrade erlware_commons, bbmustache and relx
vor 9 Jahren