Fred Hebert
1328a9a204
Merge pull request #2099 from ferd/gracious-shell-reloading
Gracious loading of unloaded but blacklisted mods
il y a 5 ans
Fred Hebert
dec3aeb6c5
Merge pull request #2100 from ferd/lint-on-compile
Only lint app files when compiling
il y a 5 ans
Fred Hebert
22b221d073
Merge pull request #2098 from tsloughter/cirrus-new-tags
try CIRRUS_TAG != '' for triggering cirrus for new tags
il y a 5 ans
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.
il y a 5 ans
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
il y a 5 ans
Tristan Sloughter
cbde30baf1
try CIRRUS_TAG != '' for triggering cirrus for new tags
il y a 6 ans
Tristan Sloughter
2a38e6bdae
back to git-based versioning
il y a 6 ans
Tristan Sloughter
2d63f7d273
Bump to 3.11.1
il y a 6 ans
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
il y a 6 ans
Tristan Sloughter
662b1a834d
bump relx to 3.32.1 and providers to 1.8.1
il y a 6 ans
Fred Hebert
19aa7d3afb
Merge pull request #2075 from tsloughter/tmpl-usage
add support for usage message after template is done
il y a 6 ans
Tristan Sloughter
eea09f1306
Merge pull request #2094 from tsloughter/cirrus-s3cmd
fix install of s3cmd for publishing releases in cirrus
il y a 6 ans
Tristan Sloughter
68b407e763
Merge pull request #2095 from tsloughter/up-ssl-verify-fun
upgrade ssl_verify_fun to 1.1.5
il y a 6 ans
Tristan Sloughter
6ac2adfdba
upgrade ssl_veirfy_fun to 1.1.5
il y a 6 ans
Tristan Sloughter
53328d2854
fix install of s3cmd for publishing releases in cirrus
il y a 6 ans
Tristan Sloughter
f47947c834
back to git-based versioning
il y a 6 ans
Tristan Sloughter
0860d9f9f3
Bump to 3.11.0
il y a 6 ans
Fred Hebert
311ba9e48d
Merge pull request #2093 from anderswei/master
bug when reread_config running on OTP 17
il y a 6 ans
Anders Wei
29f88cfcd3
bug when reread_config from OTP 17
il y a 6 ans
Fred Hebert
6c677cddbf
Merge pull request #2090 from tsloughter/env-file
add support for reading in environment variables from a file
il y a 6 ans
Tristan Sloughter
ca22249d7c
Update src/rebar_prv_shell.erl
Co-Authored-By: Fred Hebert <mononcqc@ferd.ca>
il y a 6 ans
Fred Hebert
9ae20ec782
Merge pull request #2092 from tsloughter/relx-3.32.0
upgrade relx to 3.32.0
il y a 6 ans
Tristan Sloughter
82ed837002
upgrade relx to 3.32.0
il y a 6 ans
Tristan Sloughter
9d4a440c12
add support for reading in environment variables from a file
il y a 6 ans
Fred Hebert
08958857c1
Merge pull request #2091 from tsloughter/cirrus-uploads
add nightly and release upload tasks to cirrus and remove travis
il y a 6 ans
Tristan Sloughter
f9f0b424b9
add nightly and release upload tasks to cirrus and remove travis
il y a 6 ans
Fred Hebert
4b7330101d
Merge pull request #2083 from ferd/dont-apply-overrides-to-root
Do not apply overrides to a root application.
il y a 6 ans
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.
il y a 6 ans
Fred Hebert
cf51007d9c
Merge pull request #2078 from ferd/otp-22.0
OTP-22.0 readiness
il y a 6 ans
Fred Hebert
8653a95ae5
Remove pre-17 namespaced types workaround
il y a 6 ans
Fred Hebert
7be6db3f61
Add OTP-22 to CI, deprecate OTP-17
il y a 6 ans
Fred Hebert
725c900219
Make test suite pass on OTP-22
- fix some bad typespec
- bump the meck version for good fortune
il y a 6 ans
Tristan Sloughter
1467cd61fd
add support for usage message after template is done
il y a 6 ans
Fred Hebert
3a16cf3763
Merge pull request #2074 from tsloughter/git-ref
add support for git ref and file content as app version
il y a 6 ans
Tristan Sloughter
67026e0891
add support for git ref and file content as app version
il y a 6 ans
Fred Hebert
cbe3292b52
Merge pull request #2073 from max-au/missing_comma_sup
supervisor template: add missing comma
il y a 6 ans
Maxim Fedorov
137cc48768
supervisor template: add missing comma
il y a 6 ans
Fred Hebert
203b0de4e4
Merge pull request #2069 from tsloughter/tmpl-comments
remove large comment blocks from templates and use maps in sup
il y a 6 ans
Tristan Sloughter
052a4e8428
remove large comment blocks from templates and use maps in sup
il y a 6 ans
Fred Hebert
af9d2086b3
Merge pull request #2065 from erlang/fix-cth_readable-lager-crash
Fix cth_readable crash with bad lager interaction
il y a 6 ans
Fred Hebert
9ad4440547
Merge pull request #2068 from ferd/disable-windows-cirrus
Disable windows on Cirrus CI
il y a 6 ans
Fred Hebert
f5c0a9cb22
Disable windows on Cirrus CI
This never passes even if it works on Windows 10 machines and on Circle
CI's runs.
il y a 6 ans
Fred Hebert
4b610f56e6
Merge pull request #2032 from fenollp/p-hex
format hex packages in a nice/human way
il y a 6 ans
Pierre Fenoll
199705762c
maybe a bit too exhaustive pattern matching to pass tests
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
il y a 6 ans
Pierre Fenoll
2c5f95aceb
format hex packages in a nice/human way
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
il y a 6 ans
Fred Hebert
538898c41f
Fix cth_readable crash with bad lager interaction
fixed #2063
il y a 6 ans
Fred Hebert
ec224b7921
Merge pull request #2054 from tolbrino/fix-parallel-edoc-test
Fix duplicate module naming in edoc test suite data
il y a 6 ans
Fred Hebert
45aaba22b4
Merge pull request #2035 from ankhers/lint_app_file
Add basic linting for .app file
il y a 6 ans
Tino Breddin
33e4c8a079
Fix duplicate module naming in edoc test suite data
il y a 6 ans
Justin Wood
cb881390dc
An empty list on applications key should not be treated as missing
il y a 6 ans