summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Revert "sort-as: show issue more clearly"Pierre Fenoll2018-03-022-20/+3
| | | | | | | | This reverts commit 4ad1db97336a3ac070880876ada07d4c7b769327.
| * sort-as: show issue more clearlyPierre Fenoll2018-03-022-3/+20
| |
| * sort-as: found the issue. Will look into tests nowPierre Fenoll2018-03-021-4/+5
| |
| * Revert "sort-as: force an order on multiple profiles"Pierre Fenoll2018-03-021-1/+1
| | | | | | | | This reverts commit 3f8dd5eacebb913144f3615fdf44658b6223a791.
| * sort-as: force an order on multiple profilesPierre Fenoll2018-03-021-1/+1
| |
* | Merge branch 'hommeabeil-fix_skip_compile_dep'Fred Hebert2018-03-307-5/+59
|\ \ | |/ |/|
| * make systest suite work on linuxFred Hebert2018-03-301-7/+6
| |
| * add test in systesthommeabeil2018-03-246-2/+56
| |
| * remove the .app from app_infoJean Bouchard2018-03-161-3/+4
|/
* Merge pull request #1723 from tsloughter/warn-to-debugFred Hebert2018-03-021-7/+7
|\ | | | | use debug level for logs about bad package versioning
| * use debug level for logs about bad package versioningTristan Sloughter2018-02-271-7/+7
|/
* Merge pull request #1722 from tsloughter/fix-update-loopTristan Sloughter2018-02-272-1/+2
|\ | | | | don't attempt retry of missing packages when updating index
| * don't attempt retry of missing packages when updating indexTristan Sloughter2018-02-272-1/+2
|/
* Merge pull request #1706 from campanja-forks/env-for-providersFred Hebert2018-02-273-75/+91
|\ | | | | Env for providers
| * make it easier to create envCarl-Johan Kjellander2018-02-261-1/+8
| |
| * remove whitespaceCarl-Johan Kjellander2018-02-231-1/+0
| |
| * move and export create_env for use by providersCarl-Johan Kjellander2018-02-232-57/+67
| |
| * export env expansionCarl-Johan Kjellander2018-02-231-18/+18
| |
* | Merge pull request #1721 from tsloughter/no-constraint-matchFred Hebert2018-02-262-6/+19
|\ \ | |/ |/| rebar_package: do not return first package version for constraint with no match
| * rebar_package: do not return first package version for constraint with no matchTristan Sloughter2018-02-262-6/+19
|/
* Merge pull request #1718 from shino/bugfix/io-opts-unicodeFred Hebert2018-02-212-3/+2
|\ | | | | Set unicode option for standard_io at entry point
| * Set unicode option for starndard_io at entry pointShunichi Shinohara2018-02-222-3/+2
| |
* | Merge pull request #1698 from campanja-forks/run-clean-hooksFred Hebert2018-02-213-6/+34
|\ \ | |/ |/| fix hooks and plugins usage when cleaning build artifacts for deps
| * run hooks and plugins during clean for depsCarl-Johan Kjellander2018-01-192-4/+9
| | | | | | | | | | | | find_apps didn't read config files so no hooks were in the app_infos, and now that hooks are being done rebar needs plugins to be able to run clean plugin hooks in deps.
| * add test for provider_hook cleanCarl-Johan Kjellander2018-01-191-2/+25
| |
* | Merge pull request #1714 from tsloughter/up-ec-relxFred Hebert2018-02-042-6/+6
|\ \ | | | | | | upgrade erlware commons and relx
| * | upgrade erlware commons and relxTristan Sloughter2018-02-032-6/+6
|/ /
* | Merge pull request #1707 from schlagert/issue_1704Fred Hebert2018-01-302-24/+72
|\ \ | |/ |/| Issue #1704: Fix alias provider argument passing
| * Issue #1704: Fix alias provider argument passingTobias Schlager2018-01-242-24/+72
|/ | | | | | | | | | | | The way arguments are passed by the alias provider is not compatible with all rebar providers/commands. Especially the release (relx) provider does not like getting its arguments as a plain string. It expects its arguments in a pre-parsed format as returned by getopt:parse/2. Other commands, e.g. eunit, seem to be fine with both ways of argument passing. Therefore, this fix changes the alias provider argument passing to the getopt format in general.
* Back to git-based versioningFred Hebert2017-12-221-1/+1
|
* Bump to 3.5.0Fred Hebert2017-12-222-2/+2
|
* Merge pull request #1696 from ajm113/patch-1Fred Hebert2017-12-161-1/+1
|\ | | | | Corrected Erlang Solutions Download URL [skip ci]
| * Corrected Erlang Solutions Download URLAndrew Mcrobb2017-12-161-1/+1
|/ | | Current URL goes to 404 page, corrected URL to avoid confusion.
* Merge pull request #1692 from ferd/fix-bootstrap-repeatFred Hebert2017-12-151-3/+4
|\ | | | | Fix repeated bootstrap runs
| * 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`.
* | Merge pull request #1694 from ferd/escript-with-ebin-subdirFred Hebert2017-12-152-3/+27
|\ \ | |/ |/| Fix escriptize failure when ebin/ has subdirs
| * Fix escriptize failure when ebin/ has subdirsFred Hebert2017-12-142-3/+27
|/ | | | | | | | | | | Although fairly irregular, the presence of a subdirectory in ebin/ while running rebar3 escriptize would crash the run and generate a dump. Since ebin subdirectories are generally not supported (adding a path for an application only adds ebin/ and no subdirectories to the VM's path set), we just silently ignore the directory altogether. Fixes #1693
* Merge pull request #1689 from ferd/update-bootstrapFred Hebert2017-12-081-28/+265
|\ | | | | Update bootstrap script // fix windows issues
| * 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.
* | Merge pull request #1688 from ferd/update-manpagesFred Hebert2017-12-081-3/+13
|\ \ | |/ |/| Update manpages
| * Update manpagesFred Hebert2017-12-061-3/+13
|/ | | | New switches for cover, adding the alias provider, etc.
* Merge pull request #1686 from ferd/global-plugin-path-fixFred Hebert2017-12-067-2/+94
|\ | | | | Prevent plugin unloading from killing currently running command (soft-purge in-compile)
| * Safer purge switchFred Hebert2017-12-063-6/+9
| | | | | | | | | | | | | | | | | | Rather than the caller having to think of what to purge or not, use erlang:check_process_code/2 to detect if the caller (rebar3) may die because of the operation. If so, do a soft purge with a conditional delete instead of a hard purge with a mandatory delete.
| * Run a soft purge while within the compiler stepFred Hebert2017-12-058-3/+92
|/ | | | Prevents the killing of a plugin with itself
* Merge pull request #1685 from ferd/promote-aliasFred Hebert2017-12-058-5/+271
|\ | | | | Alias plugin promoted to built-in command
| * Alias plugin promoted to built-in commandFred Hebert2017-12-058-5/+271
|/ | | | | | | | | | - Uses the code at https://github.com/tsloughter/rebar_alias and brings it within rebar3 - adds safety checks to prevent redefining built-in commands or obvious circular dependencies between commands (indirect circular deps are still possible) - adds tests - adds a systest to ensure no clash with the existing plugin
* Merge pull request #1682 from ferd/win7-file-supportFred Hebert2017-12-041-2/+2
|\ | | | | Fix file handling on Windows 7
| * Drop the /is switch to robocopy for win7Fred Hebert2017-12-041-2/+2
| | | | | | | | Has no ill effect as tested on Win10
* | Merge pull request #1681 from ferd/fix-plugin-paths-againFred Hebert2017-12-044-3/+107
|\ \ | | | | | | Fix Plugin path handling (again!)
| * | Fix Plugin path handling (again!)Fred Hebert2017-12-044-3/+107
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The path reloading of plugins had been fixed properly, but the problem is that the paths it was using to re-load only considered the current compile step, rather than the overall state of plugins. As such, the reloaded paths after plugin compilation only reloaded the *latest* plugin and not the other ones. This fix forces the addition of all built plugin paths to the code paths after a plugin compile job is run. This ensures that the path is clean for initial plugin deps (only add those that are required), and is re-made total after the fact (add all the plugins possible). This commit also includes a system tests suite that can be run optionally; the problem with this plugin mechanism was impossible to find through mocked dependencies, and a working counterexample was provided to us. The systest suite can be run against real projects without conflict to make sure no regressions are hit.