summaryrefslogtreecommitdiff
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* bump to 3.5.3Fred Hebert2018-05-091-1/+1
|
* Bump to 3.5.2Fred Hebert2018-05-031-1/+1
|
* bump to 3.5.1Fred Hebert2018-05-031-1/+1
|
* Work around OTP-21 deprecation of get_stacktrace()Fred Hebert2018-05-031-0/+1
| | | | Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783
* Make rebar3 work with dialyzer internallyFred Hebert2018-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We got funny interactions since PR #1656: - the last `debug_info`-related option seen in a list of options after profile merge is kept, allowing later profiles from overtaking earlier ones - if you go `rebar3 as a,b,c compile`, the options from profile A come before B, which come before C, so C's options win - overrides are applied in order of profile as well, giving a priority to a later profile than an earlier one - The values in overrides are prepended rather than suffixed to the existing list - this means if we have to overrides adding options, such as `default` adding `no_debug_info', and `dialyze` adding `debug_info`, the results are `[debug_info]` as `dialyze` is applied first, and then `[no_debug_info, debug_info]` as `default` overrides are applied - the final result is `no_debug_info` always winning when erl_opts are overriden specifically. only `debug_info` options are going to suffer this, and in the context of overrides. Other `erl_opts` should be fine. I'm not sure how that can be fixed at all. In the meanwhile, we can add support back while leaving the default to not having debug information. This is done by: - moving all `no_debug_info` options to the `prod` profile - forcing `prod` to be called by `./bootstrap` so that most people keep getting no debug info - anyone calling `rebar3 clean -a` and then rebuilding with `rebar3 escriptize` (i.e. rebar3 devs) get debug info going This is up for review and discussion.
* Bump to 3.5.0Fred Hebert2017-12-221-1/+1
|
* Fix repeated bootstrap runsFred Hebert2017-12-131-3/+4
| | | | | | | | Updating the bootstrap script in #1689 made it so symlinks that already exist return `exist` rather than ok, in line with the regular code. However the bootstrap module wouldn't handle this case. This fixes the problem by ensuring that `exists` is as valid as `ok`.
* Update bootstrap script // fix windows issuesFred Hebert2017-12-081-28/+265
| | | | | | | | | | | | The bootstrap script has been mostly unchanged for a long period of time, and has not benefited from all the changes and improvements that rebar3 itself had, including (but not limited to) path escaping, handling of directories on windows, and edge case management when it comes to file and symlink handling. This patch brings the updates seen in rebar_string_utils, rebar_utils, and rebar_dir into the bootstrap script so that fewer people have build issues when starting from source, from scratch.
* Bump to 3.4.7Fred Hebert2017-11-221-1/+1
|
* Bump to 3.4.6Fred Hebert2017-11-171-1/+1
| | | | Updates relx (windows fixes) and erlware commons (strings)
* Bump to 3.4.5Fred Hebert2017-11-171-1/+1
| | | | | | | | | | | | | | | - OTP-21 readiness, Full Unicode support, massive dep upgrade - fixed handling of proxy username and password when fetching registry - git versions from tag made consistent and all strip 'v' prefix - Prevent hard crash on duplicate plugin paths - Fix include paths in profile multiapp edge case - Fix unlock state carry, which broke do sequences with unlock in them. - Avoid guessing on utf8 decoding of app files - Various fixes related to .app files - Warn user when an unsupported local git or hg resource is used - Corrects a fix to src_dir values - Update eunit_formatters to latest version - Changes in wording of warnings for more accuracy
* OTP-21 readiness, Full Unicode supportFred Hebert2017-11-161-6/+18
| | | | | | | | | | | | This replaces all deprecated function usage by alternative ones based on a version switch enacted at compile time, preventing all warnings. This will likely introduce some possible runtime errors in using a Rebar3 compiled on OTP-20 or OTP-21 back in versions 19 and earlier, but we can't really work around that. A bunch of dependencies have been updated to support OTP-21 without warnings as well.
* Back to git-based versioningFred Hebert2017-09-101-1/+1
|
* Bump to 3.4.3Fred Hebert2017-08-211-1/+1
|
* Upgrade certifi dependenciesFred Hebert2017-07-311-1/+1
| | | | | | | | | | Get more up-to-date root certs. This was blocked for a while because certifi wouldn't build on windows, but this is now fixed, with minimal changes to the use case -- only a small change in the bootstrap script is required. The new certifi lib is also a few megabytes lighter than before, which is good for rebar3.
* Bump to 3.4.2Fred Hebert2017-07-141-1/+1
|
* Bump to 3.4.1Fred Hebert2017-05-241-1/+1
| | | | | | Includes Relx fixes Signed-off-by: Fred Hebert <mononcqc@ferd.ca>
* Bump to 3.4.0Fred Hebert2017-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches: - Try to start epmd when distribution fails - Allow non-default profile deps upgrade - Switch default license in templates to Apache 2.0, and hook it up in the .app file - Fix git SHA comparisons for dep update - Let relx know about rebar-specified erl_opts - Use rm_rf instead of ec_file:delete, fixing some deps-related issues on Windows - Handle internal CT failures - Fix profile merging of erl_first_files options - Fix CT output in skipped test cases and failing end of function hooks - Officially drop R15 support, since its SSL libs can no longer talk to hex.pm - REBAR_COLOR supports all ec_cmd_log intensity options, allowing the none value to disable all colors without dropping termcap support - Bump relx to 3.22.4 The one new feature supported here is for the interactive shell: - Support commands in the shell such as r3:Command(), r3:Command("--args=as a string"), or r3:Command(Namespace, "--args=as a string"), instead of just r3:do(Command).
* Bump to 3.3.6Fred Hebert2017-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - [OSX tests added to CI](https://github.com/erlang/rebar3/pull/1471), joining linux and windows 10 - [upgrade relx to 3.22.3](https://github.com/erlang/rebar3/pull/1518), [fixing multiple issues](https://github.com/erlware/relx/releases/tag/v3.22.3) - [Fixing eunit errors in 19.3 when `init_per_*` isn't paired with `end_per_*`](https://github.com/erlang/rebar3/pull/1516) - [Allow single test spec in ct_opts](https://github.com/erlang/rebar3/pull/1506) - [Properly warn when missing inets at runtime](https://github.com/erlang/rebar3/pull/1505) - [rebar_utils:escape_chars handles quotes in paths](https://github.com/erlang/rebar3/pull/1504) - [Fix typo in help text for upgrade command](https://github.com/erlang/rebar3/pull/1503) - [change package version warnings to debug level](https://github.com/erlang/rebar3/pull/1502) - [Path-type sensitive .cmd creation for escripts](https://github.com/erlang/rebar3/pull/1500) - [Windows escripts get cmd autogenerated](https://github.com/erlang/rebar3/pull/1494) - [REBAR_CONFIG impacts config file for project root only](https://github.com/erlang/rebar3/pull/1497) - [Fix wildcard usage in rebar3 clean](https://github.com/erlang/rebar3/pull/1498) - [Bump cth_readable to 1.2.4](https://github.com/erlang/rebar3/pull/1496) (fixing some erroneous reports when suites get skipped) - [Add respect for src_dirs option in app_discover and app_info](https://github.com/erlang/rebar3/pull/1486) - [Add support for global plugin-defined templates](https://github.com/erlang/rebar3/pull/1473) - [catch badarg exception from eunit in `rebar_prv_eunit`](https://github.com/erlang/rebar3/pull/1472)
* WIP windows escripts get cmd autogeneratedFred Hebert2017-02-241-23/+1
|
* Bump to 3.3.5Fred Hebert2017-02-031-1/+1
|
* Bumping to 3.3.4Fred Hebert2016-12-231-1/+1
|
* Bump to 3.3.3Fred Hebert2016-12-081-1/+1
|
* 1394: added fix for rebar_utils, moved setting of http_options into ↵Artem Pervin2016-11-301-16/+13
| | | | init_config, added unit tests
* 1394: fixed handling of proxy username and passwordArtem Pervin2016-11-291-3/+26
|
* Bump version to 3.3.2Fred Hebert2016-10-141-1/+1
|
* Bump to 3.3.1Fred Hebert2016-09-021-1/+1
|
* Bumping to 3.3.0Fred Hebert2016-08-261-1/+1
|
* Bump to 3.2.0Fred Hebert2016-06-181-1/+1
|
* Expand os ENV proxy support to bootstrap scriptFred Hebert2016-06-111-1/+5
|
* Cutting 3.1.1Fred Hebert2016-05-171-1/+1
|
* fix otp-19 bootstrap compilingTristan Sloughter2016-05-131-1/+1
|
* Change to new hex.pm repo URLEric Meadows-Jönsson2016-04-211-1/+1
|
* Tag to 3.1.0Fred Hebert2016-04-041-1/+1
|
* Skip update and compilation if possible.Gleb Peregud2016-01-031-12/+28
| | | | | | | This detects existence of Hex registry at $HOME/.cache/rebar3/hex/default/registry and skips "rebar3 update" step. It also detect presence of bootstrap dependencies in _build/default/lib/ and skips fetching them.
* just delete erlware_commons rebar.config.script, it isn't needed for rebar3Tristan Sloughter2015-11-231-0/+7
|
* certifi must be compiled during initial bootstrapBenoit Chesneau2015-09-181-1/+2
| | | | fix #790
* add comment for global apply_profiles and log message for bad bootstrap lock ↵Tristan Sloughter2015-07-111-0/+1
| | | | file
* fix for empty rebar.lock during bootstrapTristan Sloughter2015-07-111-2/+11
|
* Renamed functions.CarlosEDP2015-07-031-5/+5
|
* Added rebar profile to httpc initialization and calls.CarlosEDP2015-07-031-3/+5
|
* Fix for cases with no proxy configured.CarlosEDP2015-07-031-1/+1
|
* Get proxy vars from ~/.config/rebar3/rebar.config. Variable format is ↵CarlosEDP2015-07-031-37/+22
| | | | {http_proxy, http://host:port} or {http_proxy, http://host:port}
* Added support for proxy on rebar3 based on environment variables.CarlosEDP2015-07-031-2/+0
|
* Added support to http and https proxies on bootstrap. Variables are read ↵CarlosEDP2015-07-031-0/+42
| | | | from environment vars http_proxy and https_proxy.
* add relup provider and update relxTristan Sloughter2015-06-261-0/+1
|
* use application:start(crypto) instead of crypto:start()Tristan Sloughter2015-06-211-4/+1
|
* use packages for deps and add dialyze profileTristan Sloughter2015-06-211-19/+34
|
* use bbmustache packageTristan Sloughter2015-06-211-0/+1
|
* fix failure on missing OTP_VERSION file #403Tristan Sloughter2015-05-091-21/+24
|