Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Gracious loading of unloaded but blacklisted mods | Fred Hebert | 2019-06-02 | 1 | -5/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | Merge pull request #2100 from ferd/lint-on-compile | Fred Hebert | 2019-06-07 | 3 | -2/+7 | |
|\ \ | | | | | | | Only lint app files when compiling | |||||
| * | | Only lint app files when compiling | Fred Hebert | 2019-06-02 | 3 | -2/+7 | |
| |/ | | | | | | | | | | | | | | | 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. | |||||
* | | Merge pull request #2098 from tsloughter/cirrus-new-tags | Fred Hebert | 2019-06-02 | 1 | -1/+1 | |
|\ \ | |/ |/| | try CIRRUS_TAG != '' for triggering cirrus for new tags | |||||
| * | try CIRRUS_TAG != '' for triggering cirrus for new tags | Tristan Sloughter | 2019-06-01 | 1 | -1/+1 | |
|/ | ||||||
* | back to git-based versioning | Tristan Sloughter | 2019-06-01 | 1 | -1/+1 | |
| | ||||||
* | Bump to 3.11.1 | Tristan Sloughter | 2019-06-01 | 2 | -2/+2 | |
| | ||||||
* | Merge pull request #2097 from tsloughter/relx-3.32.1 | Fred Hebert | 2019-06-01 | 2 | -6/+6 | |
|\ | | | | | bump relx to 3.32.1 and providers to 1.8.1 | |||||
| * | bump relx to 3.32.1 and providers to 1.8.1 | Tristan Sloughter | 2019-06-01 | 2 | -6/+6 | |
|/ | ||||||
* | Merge pull request #2075 from tsloughter/tmpl-usage | Fred Hebert | 2019-05-31 | 1 | -1/+11 | |
|\ | | | | | add support for usage message after template is done | |||||
| * | add support for usage message after template is done | Tristan Sloughter | 2019-05-13 | 1 | -1/+11 | |
| | | ||||||
* | | Merge pull request #2094 from tsloughter/cirrus-s3cmd | Tristan Sloughter | 2019-05-30 | 1 | -2/+4 | |
|\ \ | | | | | | | fix install of s3cmd for publishing releases in cirrus | |||||
| * | | fix install of s3cmd for publishing releases in cirrus | Tristan Sloughter | 2019-05-30 | 1 | -2/+4 | |
| | | | ||||||
* | | | Merge pull request #2095 from tsloughter/up-ssl-verify-fun | Tristan Sloughter | 2019-05-30 | 2 | -3/+3 | |
|\ \ \ | |/ / |/| | | upgrade ssl_verify_fun to 1.1.5 | |||||
| * | | upgrade ssl_veirfy_fun to 1.1.5 | Tristan Sloughter | 2019-05-30 | 2 | -3/+3 | |
|/ / | ||||||
* | | back to git-based versioning | Tristan Sloughter | 2019-05-30 | 1 | -1/+1 | |
| | | ||||||
* | | Bump to 3.11.0 | Tristan Sloughter | 2019-05-30 | 2 | -2/+2 | |
| | | ||||||
* | | Merge pull request #2093 from anderswei/master | Fred Hebert | 2019-05-27 | 1 | -1/+1 | |
|\ \ | | | | | | | bug when reread_config running on OTP 17 | |||||
| * | | bug when reread_config from OTP 17 | Anders Wei | 2019-05-28 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #2090 from tsloughter/env-file | Fred Hebert | 2019-05-27 | 1 | -0/+43 | |
|\ \ | | | | | | | add support for reading in environment variables from a file | |||||
| * | | Update src/rebar_prv_shell.erl | Tristan Sloughter | 2019-05-27 | 1 | -1/+1 | |
| | | | | | | | | | Co-Authored-By: Fred Hebert <mononcqc@ferd.ca> | |||||
| * | | add support for reading in environment variables from a file | Tristan Sloughter | 2019-05-27 | 1 | -0/+43 | |
| | | | ||||||
* | | | Merge pull request #2092 from tsloughter/relx-3.32.0 | Fred Hebert | 2019-05-27 | 2 | -3/+3 | |
|\ \ \ | | | | | | | | | upgrade relx to 3.32.0 | |||||
| * | | | upgrade relx to 3.32.0 | Tristan Sloughter | 2019-05-27 | 2 | -3/+3 | |
|/ / / | ||||||
* | | | Merge pull request #2091 from tsloughter/cirrus-uploads | Fred Hebert | 2019-05-26 | 3 | -49/+39 | |
|\ \ \ | |/ / |/| | | add nightly and release upload tasks to cirrus and remove travis | |||||
| * | | add nightly and release upload tasks to cirrus and remove travis | Tristan Sloughter | 2019-05-25 | 3 | -49/+39 | |
|/ / | ||||||
* | | Merge pull request #2083 from ferd/dont-apply-overrides-to-root | Fred Hebert | 2019-05-21 | 2 | -25/+61 | |
|\ \ | | | | | | | Do not apply overrides to a root application. | |||||
| * | | Do not apply overrides to a root application. | Fred Hebert | 2019-05-19 | 2 | -25/+61 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Merge pull request #2078 from ferd/otp-22.0 | Fred Hebert | 2019-05-19 | 5 | -21/+6 | |
|\ \ | | | | | | | OTP-22.0 readiness | |||||
| * | | Remove pre-17 namespaced types workaround | Fred Hebert | 2019-05-14 | 2 | -16/+1 | |
| | | | ||||||
| * | | Add OTP-22 to CI, deprecate OTP-17 | Fred Hebert | 2019-05-14 | 2 | -3/+3 | |
| | | | ||||||
| * | | Make test suite pass on OTP-22 | Fred Hebert | 2019-05-14 | 2 | -2/+2 | |
|/ / | | | | | | | | | - fix some bad typespec - bump the meck version for good fortune | |||||
* | | Merge pull request #2074 from tsloughter/git-ref | Fred Hebert | 2019-05-12 | 3 | -5/+36 | |
|\ \ | | | | | | | add support for git ref and file content as app version | |||||
| * | | add support for git ref and file content as app version | Tristan Sloughter | 2019-05-12 | 3 | -5/+36 | |
|/ / | ||||||
* | | Merge pull request #2073 from max-au/missing_comma_sup | Fred Hebert | 2019-05-10 | 1 | -1/+1 | |
|\ \ | | | | | | | supervisor template: add missing comma | |||||
| * | | supervisor template: add missing comma | Maxim Fedorov | 2019-05-09 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #2069 from tsloughter/tmpl-comments | Fred Hebert | 2019-05-09 | 3 | -37/+16 | |
|\ \ | |/ |/| | remove large comment blocks from templates and use maps in sup | |||||
| * | remove large comment blocks from templates and use maps in sup | Tristan Sloughter | 2019-05-08 | 3 | -37/+16 | |
|/ | ||||||
* | Merge pull request #2065 from erlang/fix-cth_readable-lager-crash | Fred Hebert | 2019-05-07 | 2 | -3/+3 | |
|\ | | | | | Fix cth_readable crash with bad lager interaction | |||||
| * | Fix cth_readable crash with bad lager interaction | Fred Hebert | 2019-05-04 | 2 | -3/+3 | |
| | | | | | | | | fixed #2063 | |||||
* | | Merge pull request #2068 from ferd/disable-windows-cirrus | Fred Hebert | 2019-05-07 | 1 | -8/+9 | |
|\ \ | | | | | | | Disable windows on Cirrus CI | |||||
| * | | Disable windows on Cirrus CI | Fred Hebert | 2019-05-07 | 1 | -8/+9 | |
|/ / | | | | | | | | | This never passes even if it works on Windows 10 machines and on Circle CI's runs. | |||||
* | | Merge pull request #2032 from fenollp/p-hex | Fred Hebert | 2019-05-06 | 4 | -20/+29 | |
|\ \ | |/ |/| | format hex packages in a nice/human way | |||||
| * | maybe a bit too exhaustive pattern matching to pass tests | Pierre Fenoll | 2019-05-06 | 2 | -8/+14 | |
| | | | | | | | | Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com> | |||||
| * | format hex packages in a nice/human way | Pierre Fenoll | 2019-05-06 | 2 | -12/+15 | |
|/ | | | | Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com> | |||||
* | Merge pull request #2054 from tolbrino/fix-parallel-edoc-test | Fred Hebert | 2019-04-18 | 14 | -25/+26 | |
|\ | | | | | Fix duplicate module naming in edoc test suite data | |||||
| * | Fix duplicate module naming in edoc test suite data | Tino Breddin | 2019-04-16 | 14 | -25/+26 | |
| | | ||||||
* | | Merge pull request #2035 from ankhers/lint_app_file | Fred Hebert | 2019-04-16 | 2 | -2/+49 | |
|\ \ | |/ |/| | Add basic linting for .app file | |||||
| * | An empty list on applications key should not be treated as missing | Justin Wood | 2019-04-16 | 1 | -2/+2 | |
| | | ||||||
| * | Remove debugging | Justin Wood | 2019-04-16 | 1 | -2/+0 | |
| | |