summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2167 from ferd/clear-bootstrap-failuresHEADmasterFred Hebert2019-10-111-4/+15
|\ | | | | Handle missing OTP apps better
| * Handle missing OTP apps betterFred Hebert2019-10-111-4/+15
|/ | | | | Otherwise we only get silent failures. This has been fixed a while ago in mainline rebar3 but never in the bootstrap script.
* Merge pull request #2155 from g-andrade/feature/profile-string-overlay-varFred Hebert2019-10-044-14/+39
|\ | | | | Support `profile_string` overlay var in releases
| * Fix function overspec.Guilherme Andrade2019-09-021-1/+1
| |
| * Add missing function spec.Guilherme Andrade2019-09-021-0/+1
| |
| * Don't export internal function definitionGuilherme Andrade2019-09-011-6/+7
| |
| * Indulge in self-aggrandizementGuilherme Andrade2019-08-311-0/+1
| |
| * Add test coverage of `profile_string` overlay variable usage in releasesGuilherme Andrade2019-08-311-2/+4
| |
| * Support `profile_string` overlay variable in releasesGuilherme Andrade2019-08-312-11/+31
| |
| * Fix formatting of literal expression within commentGuilherme Andrade2019-08-311-1/+1
| |
* | Merge pull request #2165 from ferd/reload-sysconfig-in-ctFred Hebert2019-10-043-4/+4
|\ \ | | | | | | Reload logger config in CT suites
| * | Reload logger config in CT suitesFred Hebert2019-10-043-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2159; this is done by force-reloading the handlers to match the config. This can create a bit of a funny effect if sys.config specifies an INFO log level (or lower) is specified. While apps are booted for config changes before the cth_failonly hook is enabled, supervision and other application log messages can start being output. They will start being suppressed once the CT run begins. This is not a bug, it's a race in instantiation of control and enabling of log levels. Nothing we can do about that. It might however surprise people a good bit. If non-default stdout handlers are added, they are similarly likely to become noisy; specifying a test-specific sys.config file may be necessary then. Also includes a bump of cth_readable version, which now checks for updates to the log formatter on every test output.
* | Merge pull request #2149 from dmitrivereshchagin/fix-logger-resetFred Hebert2019-09-011-5/+16
|\ \ | | | | | | Disable the default logger handler in shell if required
| * | Disable the default logger handler in shell if requiredDmitri Vereshchagin2019-08-281-5/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid a conflict the Kernel's default handler have to be disabled before the new default handler is added {kernel, [{logger, [{handler, default, undefined} ]} ]}, {my_app, [{logger, [{handler, default, my_handler, #{}} ]} ]} To support this behavior in shell it's necessary to process the handler-default-undefined tuple. It's not clear what to do with the simple handler (logger_simple_h) however. It's added at the start and removed if a default handler was added. Should it be added in reread_logger_config/1 if there's no default handler?
* | Merge pull request #2153 from tolbrino/tb-fix-ct-retryFred Hebert2019-09-011-2/+2
|\ \ | |/ |/| Fix case clause which used wrong element order
| * Fix case clause which used wrong element orderTino Breddin2019-08-301-2/+2
|/ | | | See http://erlang.org/doc/man/ct_hooks.html#Module:on_tc_fail-4
* Merge pull request #2143 from choptastic/masterFred Hebert2019-08-211-2/+2
|\ | | | | Fix a couple typos in readme
| * Fix a couple typos in readmeJesse Gumm2019-08-211-2/+2
|/
* back to git-based versioningTristan Sloughter2019-08-211-1/+1
|
* Bump to 3.12.0Tristan Sloughter2019-08-212-2/+2
|
* Merge pull request #2142 from tsloughter/relx-3.33.0Tristan Sloughter2019-08-202-3/+3
|\ | | | | upgrade relx 3.33.0
| * upgrade relx 3.33.0Tristan Sloughter2019-08-202-3/+3
|/
* Merge pull request #2137 from tsloughter/provider-warningFred Hebert2019-08-151-1/+4
|\ | | | | format error from provider init and print as warning
| * format error from provider init and print as warningTristan Sloughter2019-08-141-1/+4
|/
* Merge pull request #2136 from tsloughter/env-base-dirFred Hebert2019-08-122-5/+31
|\ | | | | support REBAR_BASE_DIR for setting the base_dir
| * support REBAR_BASE_DIR for setting the base_dirTristan Sloughter2019-08-112-5/+31
|/
* Merge pull request #2133 from ferd/fix-duplicate-edoc-macrosFred Hebert2019-08-062-2/+81
|\ | | | | Fixing duplicate macro definition in umbrella edoc
| * uncomment test codeFred Hebert2019-08-011-2/+2
| |
| * Fixing duplicate macro definition in umbrella edocFred Hebert2019-07-302-2/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When in umbrella mode (or through multiple profiles), users can specify macros for EDocs based on either the {def, ...} or the {macros, ...} arguments. This patch replaces the prior options merging for umbrellas to use the rebar3 tup_umerge utils to remove identical duplicates while preserving correct ordering, and manually merges the {macros, ...} definitions while ke eping the correct precedence rules since these appear (given their behaviour) to be all individually extracted and passed as `{d, ...}` to the compiler so that epp expands them. This compiler function freaks out on any re-defined macros and explodes. Do note that the macros with `{def, ...}` are edoc macros and do not suffer from that issue, safely deduplicating multiple definitions.
* | Merge pull request #2132 from starbelly/update-hex-core-to-v0.5.1Fred Hebert2019-07-3021-23/+25
|\ \ | |/ |/| Update vendored in hex_core to version 0.5.1
| * Update vendored in hex_core to version 0.5.1Bryan Paxton2019-07-3021-23/+25
|/ | | | | | | | version 0.5.1 is a maintenance release of hex_core specifically for rebar3 which contains a configuration update. Prior to v0.5.1 if no repo_organization key was set this could result in a function clause error. The behavior is to now set repo_organization to undefined in this case.
* Merge pull request #2130 from ferd/fix-edocFred Hebert2019-07-262-2/+4
|\ | | | | Repair edoc functionality on rebar3 itself
| * Repair edoc functionality on rebar3 itselfFred Hebert2019-07-252-2/+4
|/
* Merge pull request #2124 from robashton/masterFred Hebert2019-07-241-1/+1
|\ | | | | de-duplicate dependency list in rebar_compiler_erl.erl
| * Stick the usort in our termination clauseRob Ashton2019-07-241-15/+14
| |
| * De-dup inside parse_attr function itselfRob Ashton2019-07-231-15/+16
| |
| * Dedup dep listRob Ashton2019-07-161-1/+1
|/
* Merge pull request #2123 from janchochol/fix_logger_levelFred Hebert2019-07-161-1/+1
|\ | | | | Fix reloading logger_level
| * Fix reloading logger_levelJan Chochol2019-07-161-1/+1
|/ | | | | | | | | | OTP kernel application use "logger_level" configuration for configuring level in primary configuration. rebar3 uses "logger_info" for this purpose - ths is little bit confusing and probably mistake. This commit will unify behavior between kernel and rebar3o Fixes: 0303567d95f0 ("Reload logger config in shell")
* Merge pull request #2111 from jkakar/dialyzer-warn-without-debug-infoFred Hebert2019-07-091-0/+13
|\ | | | | rebar3 dialyzer: Warn when debug_info is disabled
| * Apply patch from ferd.Jamu Kakar2019-07-081-8/+10
| |
| * Use better warning message.Jamu Kakar2019-06-281-2/+2
| |
| * rebar3 dialyzer: Warn when debug_info is disableJamu Kakar2019-06-261-0/+11
| |
* | Merge pull request #2121 from tsloughter/plug-upgradesTristan Sloughter2019-07-081-1/+2
|\ \ | | | | | | keep resources in new state used in plugins upgrade
| * | keep resources in new state used in plugins upgradeTristan Sloughter2019-07-071-1/+2
| | |
* | | Merge pull request #2117 from ferd/saleyn-masterFred Hebert2019-07-073-19/+102
|\ \ \ | |/ / |/| | Fix crash when a dependency is missing app.src file
| * | Fix crash when a dependency is missing app fileFred Hebert2019-07-043-3/+79
| | | | | | | | | | | | Patch up and add tests on #2112
| * | Merge branch 'master' of https://github.com/saleyn/rebar3 into saleyn-masterFred Hebert2019-07-041-19/+26
| |\ \
| | * | Refine the error causeSerge Aleynikov2019-07-021-3/+3
| | | |
| | * | Fix 'rebar3 compile' crash when a dependency is missing app fileSerge Aleynikov2019-07-011-19/+26
| | | |