summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Gracious loading of unloaded but blacklisted modsFred Hebert2019-06-021-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-compileFred Hebert2019-06-073-2/+7
|\ \ | | | | | | Only lint app files when compiling
| * | Only lint app files when compilingFred Hebert2019-06-023-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-tagsFred Hebert2019-06-021-1/+1
|\ \ | |/ |/| try CIRRUS_TAG != '' for triggering cirrus for new tags
| * try CIRRUS_TAG != '' for triggering cirrus for new tagsTristan Sloughter2019-06-011-1/+1
|/
* back to git-based versioningTristan Sloughter2019-06-011-1/+1
|
* Bump to 3.11.1Tristan Sloughter2019-06-012-2/+2
|
* Merge pull request #2097 from tsloughter/relx-3.32.1Fred Hebert2019-06-012-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.1Tristan Sloughter2019-06-012-6/+6
|/
* Merge pull request #2075 from tsloughter/tmpl-usageFred Hebert2019-05-311-1/+11
|\ | | | | add support for usage message after template is done
| * add support for usage message after template is doneTristan Sloughter2019-05-131-1/+11
| |
* | Merge pull request #2094 from tsloughter/cirrus-s3cmdTristan Sloughter2019-05-301-2/+4
|\ \ | | | | | | fix install of s3cmd for publishing releases in cirrus
| * | fix install of s3cmd for publishing releases in cirrusTristan Sloughter2019-05-301-2/+4
| | |
* | | Merge pull request #2095 from tsloughter/up-ssl-verify-funTristan Sloughter2019-05-302-3/+3
|\ \ \ | |/ / |/| | upgrade ssl_verify_fun to 1.1.5
| * | upgrade ssl_veirfy_fun to 1.1.5Tristan Sloughter2019-05-302-3/+3
|/ /
* | back to git-based versioningTristan Sloughter2019-05-301-1/+1
| |
* | Bump to 3.11.0Tristan Sloughter2019-05-302-2/+2
| |
* | Merge pull request #2093 from anderswei/masterFred Hebert2019-05-271-1/+1
|\ \ | | | | | | bug when reread_config running on OTP 17
| * | bug when reread_config from OTP 17Anders Wei2019-05-281-1/+1
|/ /
* | Merge pull request #2090 from tsloughter/env-fileFred Hebert2019-05-271-0/+43
|\ \ | | | | | | add support for reading in environment variables from a file
| * | Update src/rebar_prv_shell.erlTristan Sloughter2019-05-271-1/+1
| | | | | | | | | Co-Authored-By: Fred Hebert <mononcqc@ferd.ca>
| * | add support for reading in environment variables from a fileTristan Sloughter2019-05-271-0/+43
| | |
* | | Merge pull request #2092 from tsloughter/relx-3.32.0Fred Hebert2019-05-272-3/+3
|\ \ \ | | | | | | | | upgrade relx to 3.32.0
| * | | upgrade relx to 3.32.0Tristan Sloughter2019-05-272-3/+3
|/ / /
* | | Merge pull request #2091 from tsloughter/cirrus-uploadsFred Hebert2019-05-263-49/+39
|\ \ \ | |/ / |/| | add nightly and release upload tasks to cirrus and remove travis
| * | add nightly and release upload tasks to cirrus and remove travisTristan Sloughter2019-05-253-49/+39
|/ /
* | Merge pull request #2083 from ferd/dont-apply-overrides-to-rootFred Hebert2019-05-212-25/+61
|\ \ | | | | | | Do not apply overrides to a root application.
| * | Do not apply overrides to a root application.Fred Hebert2019-05-192-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.0Fred Hebert2019-05-195-21/+6
|\ \ | | | | | | OTP-22.0 readiness
| * | Remove pre-17 namespaced types workaroundFred Hebert2019-05-142-16/+1
| | |
| * | Add OTP-22 to CI, deprecate OTP-17Fred Hebert2019-05-142-3/+3
| | |
| * | Make test suite pass on OTP-22Fred Hebert2019-05-142-2/+2
|/ / | | | | | | | | - fix some bad typespec - bump the meck version for good fortune
* | Merge pull request #2074 from tsloughter/git-refFred Hebert2019-05-123-5/+36
|\ \ | | | | | | add support for git ref and file content as app version
| * | add support for git ref and file content as app versionTristan Sloughter2019-05-123-5/+36
|/ /
* | Merge pull request #2073 from max-au/missing_comma_supFred Hebert2019-05-101-1/+1
|\ \ | | | | | | supervisor template: add missing comma
| * | supervisor template: add missing commaMaxim Fedorov2019-05-091-1/+1
|/ /
* | Merge pull request #2069 from tsloughter/tmpl-commentsFred Hebert2019-05-093-37/+16
|\ \ | |/ |/| remove large comment blocks from templates and use maps in sup
| * remove large comment blocks from templates and use maps in supTristan Sloughter2019-05-083-37/+16
|/
* Merge pull request #2065 from erlang/fix-cth_readable-lager-crashFred Hebert2019-05-072-3/+3
|\ | | | | Fix cth_readable crash with bad lager interaction
| * Fix cth_readable crash with bad lager interactionFred Hebert2019-05-042-3/+3
| | | | | | | | fixed #2063
* | Merge pull request #2068 from ferd/disable-windows-cirrusFred Hebert2019-05-071-8/+9
|\ \ | | | | | | Disable windows on Cirrus CI
| * | Disable windows on Cirrus CIFred Hebert2019-05-071-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-hexFred Hebert2019-05-064-20/+29
|\ \ | |/ |/| format hex packages in a nice/human way
| * maybe a bit too exhaustive pattern matching to pass testsPierre Fenoll2019-05-062-8/+14
| | | | | | | | Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
| * format hex packages in a nice/human wayPierre Fenoll2019-05-062-12/+15
|/ | | | Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
* Merge pull request #2054 from tolbrino/fix-parallel-edoc-testFred Hebert2019-04-1814-25/+26
|\ | | | | Fix duplicate module naming in edoc test suite data
| * Fix duplicate module naming in edoc test suite dataTino Breddin2019-04-1614-25/+26
| |
* | Merge pull request #2035 from ankhers/lint_app_fileFred Hebert2019-04-162-2/+49
|\ \ | |/ |/| Add basic linting for .app file
| * An empty list on applications key should not be treated as missingJustin Wood2019-04-161-2/+2
| |
| * Remove debuggingJustin Wood2019-04-161-2/+0
| |