summaryrefslogtreecommitdiff
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Bump to 3.7.0-rc1Tristan Sloughter2018-09-131-1/+1
|
* support for hex v2, multiple repository fetching, private organizations (#1884)Tristan Sloughter2018-09-131-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update to hex_core for hex-v2 repo support (#1865) * update to hex_core for hex-v2 repo support This patch adds only single repo hex-v2 support through hex_core. Packages no longer filtered out by buildtool metadata and the package index is updated per-package instead of fetched as one large ets dump. * tell travis to also build hex_core branch * support list of repos for hex packages (#1866) * support list of repos for hex packages repos are defined under the hex key in rebar configs. They can be defined at the top level of a project or globally, but not in profiles and the repos configured in dependencies are also ignored. Searching for packages involves first checking for a match in the local repo index cache, in the order repos are defined. If not found each repo is checked through the hex api for any known versions of the package and the first repo with a version that fits the constraint is used. * add {repos, replace, []} for overriding the global & default repos * add hex auth handling for repos (#1874) auth token are kept in a hex.config file that is modified by the rebar3 hex plugin. Repo names that have a : separating a parent and child are considered organizations. The parent repo's auth will be included with the child. So an organization named hexpm:rebar3_test will include any hexpm auth tokens found in the rebar3_test organization's configuration. * move packages to top level of of hexpm cache dir (#1876) * move packages to top level of of hexpm cache dir * append organization name to parent's repo_url when parsing repos * only eval config scripts and apply overrides once per app (#1879) * only eval config scripts and apply overrides once per app * move new resource behaviour to rebar_resource_v2 and keep v1 * cleanup use of rebar_resource module and unused functions * cleanup error messages and unused code * when discovering apps support mix packages as unbuilt apps (#1882) * use hex_core tarball unpacking support in pkg resource (#1883) * use hex_core tarball unpacking support in pkg resource * ignore etag if package doesn't exist and delete if checksum fails * add back tests for bad package checksums * improve bad registry checksum error message
* Bump to 3.6.2Fred Hebert2018-09-131-1/+1
|
* Bump certifiFred Hebert2018-08-021-1/+3
| | | | Includes an update to parse_trans on an OTP-21 friendly version
* Bump to 3.6.1 -- fixing eperm issuesFred Hebert2018-06-251-1/+1
|
* Bump to 3.6.0Fred Hebert2018-06-191-1/+1
|
* Revert "upgrade certifi to 2.3.1"Tristan Sloughter2018-06-191-4/+1
|
* upgrade certifi to 2.3.1Tristan Sloughter2018-06-121-1/+4
|
* 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
|