Fred Hebert
bcad4ddc4b
Bump cth_readable to fix lager on OTP-21+
5 jaren geleden
Serge Aleynikov
185f885f69
Refine the error cause
5 jaren geleden
Serge Aleynikov
d6195601e9
Fix 'rebar3 compile' crash when a dependency is missing app file
5 jaren geleden
Fred Hebert
0d9e5bb37d
Merge pull request #2060 from starbelly/rebar_config_env_variable
Support rebar config dir env var
5 jaren geleden
Bryan Paxton
4fdf2fe089
Support rebar config dir env var
6 jaren geleden
Jamu Kakar
68985ea883
Use better warning message.
5 jaren geleden
Jamu Kakar
1aa2a26a34
rebar3 dialyzer: Warn when debug_info is disable
5 jaren geleden
Tristan Sloughter
d752e27870
Merge pull request #2110 from saleyn/master
Make missing file report more comprehensive
5 jaren geleden
Serge Aleynikov
86bc08d164
Add format_error/1 to print errors nicely
5 jaren geleden
Serge Aleynikov
d518809351
Make missing file report more comprehensive
5 jaren geleden
Tristan Sloughter
f23e5a4233
Merge pull request #2010 from relayr/check_hash
Warn when there's mismatch between rebar.lock & original package checksum
5 jaren geleden
Kuba Odias
c8f7d2af53
Warn when there's mismatch between rebar.lock & original package checksum
6 jaren geleden
Fred Hebert
1328a9a204
Merge pull request #2099 from ferd/gracious-shell-reloading
Gracious loading of unloaded but blacklisted mods
5 jaren geleden
Fred Hebert
dec3aeb6c5
Merge pull request #2100 from ferd/lint-on-compile
Only lint app files when compiling
5 jaren geleden
Fred Hebert
22b221d073
Merge pull request #2098 from tsloughter/cirrus-new-tags
try CIRRUS_TAG != '' for triggering cirrus for new tags
5 jaren geleden
Fred Hebert
5c89f25d10
Only lint app files when compiling
This allows to reduce the number of noise to only checking deps' app
files when they're built, rather than on every run.
Since main apps and checkouts are still compiled every time, the linting
takes place there and then with a higher frequency.
5 jaren geleden
Fred Hebert
a399fd0b33
Gracious loading of unloaded but blacklisted mods
rebar3's shell allows people to set applications as blacklisted to
prevent them from being reloaded because that can cause crashes.
However, as part of its normal operations, rebar_paths unloads all
modules that are currently not "owned" by at least one process,
considering them safe to do so.
These two behaviours, put together, lead to an odd thing where some
modules are suddenly unloaded and not in path, and that can be
confusing.
This calls for a unification of both features. We could decide to be
pushing the complexity of rebar3's shell into rebar_path so it knows of
blacklists, but this would be a bad idea because rebar_agent already
owns all the damn hack.
So instead this fix adds an optional call within rebar_agent's
blacklisted applications handling that calls `code:ensure_loaded/1` on
their modules. This avoids forcing any code change that would cause a
crash, but reinstates unloaded paths that could be confusing.
Addresses some comments in #2013
5 jaren geleden
Tristan Sloughter
cbde30baf1
try CIRRUS_TAG != '' for triggering cirrus for new tags
5 jaren geleden
Tristan Sloughter
2a38e6bdae
back to git-based versioning
5 jaren geleden
Tristan Sloughter
2d63f7d273
Bump to 3.11.1
5 jaren geleden
Fred Hebert
3231a2954f
Merge pull request #2097 from tsloughter/relx-3.32.1
bump relx to 3.32.1 and providers to 1.8.1
5 jaren geleden
Tristan Sloughter
662b1a834d
bump relx to 3.32.1 and providers to 1.8.1
5 jaren geleden
Fred Hebert
19aa7d3afb
Merge pull request #2075 from tsloughter/tmpl-usage
add support for usage message after template is done
5 jaren geleden
Tristan Sloughter
eea09f1306
Merge pull request #2094 from tsloughter/cirrus-s3cmd
fix install of s3cmd for publishing releases in cirrus
6 jaren geleden
Tristan Sloughter
68b407e763
Merge pull request #2095 from tsloughter/up-ssl-verify-fun
upgrade ssl_verify_fun to 1.1.5
6 jaren geleden
Tristan Sloughter
6ac2adfdba
upgrade ssl_veirfy_fun to 1.1.5
6 jaren geleden
Tristan Sloughter
53328d2854
fix install of s3cmd for publishing releases in cirrus
6 jaren geleden
Tristan Sloughter
f47947c834
back to git-based versioning
6 jaren geleden
Tristan Sloughter
0860d9f9f3
Bump to 3.11.0
6 jaren geleden
Fred Hebert
311ba9e48d
Merge pull request #2093 from anderswei/master
bug when reread_config running on OTP 17
6 jaren geleden
Anders Wei
29f88cfcd3
bug when reread_config from OTP 17
6 jaren geleden
Fred Hebert
6c677cddbf
Merge pull request #2090 from tsloughter/env-file
add support for reading in environment variables from a file
6 jaren geleden
Tristan Sloughter
ca22249d7c
Update src/rebar_prv_shell.erl
Co-Authored-By: Fred Hebert <mononcqc@ferd.ca>
6 jaren geleden
Fred Hebert
9ae20ec782
Merge pull request #2092 from tsloughter/relx-3.32.0
upgrade relx to 3.32.0
6 jaren geleden
Tristan Sloughter
82ed837002
upgrade relx to 3.32.0
6 jaren geleden
Tristan Sloughter
9d4a440c12
add support for reading in environment variables from a file
6 jaren geleden
Fred Hebert
08958857c1
Merge pull request #2091 from tsloughter/cirrus-uploads
add nightly and release upload tasks to cirrus and remove travis
6 jaren geleden
Tristan Sloughter
f9f0b424b9
add nightly and release upload tasks to cirrus and remove travis
6 jaren geleden
Fred Hebert
4b7330101d
Merge pull request #2083 from ferd/dont-apply-overrides-to-root
Do not apply overrides to a root application.
6 jaren geleden
Fred Hebert
d607bbf0d6
Do not apply overrides to a root application.
Overrides should apply to a layer below where they are declared. This
patch makes it so if the project root is an application (i.e. it isn't
'root' and therefore not an umbrella project), we omit applying
overrides in rebar_app_discover.
This in turn required changing a bunch of tests, because all the tests
worked with the idea that all overrides applied to all apps to validate
that they get inherited properly. The changes re-structure the cases so
they are written with an umbrella app, demonstrating that the changes
stick.
6 jaren geleden
Fred Hebert
cf51007d9c
Merge pull request #2078 from ferd/otp-22.0
OTP-22.0 readiness
6 jaren geleden
Fred Hebert
8653a95ae5
Remove pre-17 namespaced types workaround
6 jaren geleden
Fred Hebert
7be6db3f61
Add OTP-22 to CI, deprecate OTP-17
6 jaren geleden
Fred Hebert
725c900219
Make test suite pass on OTP-22
- fix some bad typespec
- bump the meck version for good fortune
6 jaren geleden
Tristan Sloughter
1467cd61fd
add support for usage message after template is done
6 jaren geleden
Fred Hebert
3a16cf3763
Merge pull request #2074 from tsloughter/git-ref
add support for git ref and file content as app version
6 jaren geleden
Tristan Sloughter
67026e0891
add support for git ref and file content as app version
6 jaren geleden
Fred Hebert
cbe3292b52
Merge pull request #2073 from max-au/missing_comma_sup
supervisor template: add missing comma
6 jaren geleden
Maxim Fedorov
137cc48768
supervisor template: add missing comma
6 jaren geleden
Fred Hebert
203b0de4e4
Merge pull request #2069 from tsloughter/tmpl-comments
remove large comment blocks from templates and use maps in sup
6 jaren geleden