Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Type specifications and edocs improvements | Fred Hebert | 2016-11-27 | 1 | -2/+77 |
| | | | | | | Includes improvments and function documentation for all modules (in alphabetical order) up to rebar_core, and may have included more in other modules as I saw fit to dig and understand more of the internals. | ||||
* | Fix crash when doing hash check with missing index | Fred Hebert | 2016-08-27 | 1 | -1/+10 |
| | | | | | | | | | | Specifically, when fetching an application where the expected hash is unknown, the hash is validated from the hex index; when the index is available, the hash is fetched fine and later inserted in the lock file. However, if the index is not available, the call would simply crash. This patch fixes thing so that instead, the index is refreshed before giving up and failing. | ||||
* | Equivalent trim_all in bin split for <17.x | Fred Hebert | 2016-08-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The trim_all option used in binary:split/3 is not supported in 17.x. This patch makes an equivalent operation by eliminating empty split fragments. From the docs: trim Removes trailing empty parts of the result (as does trim in re:split/3. trim_all Removes all empty parts of the result. The new expression is therefore equivalent to the old one, but with the added benefit of compatibility. Fixes #1275 | ||||
* | Merge pull request #1207 from ferd/pkg-local-hash-lock | Fred Hebert | 2016-06-22 | 1 | -7/+16 |
|\ | | | | | lock file contains expected hash for pkg dependencies | ||||
| * | Fetch hashes from index prior to fetching | Fred Hebert | 2016-05-24 | 1 | -1/+8 |
| | | |||||
| * | Support package hashes in structure and lockfile | Fred Hebert | 2016-05-24 | 1 | -7/+9 |
| | | | | | | | | | | | | | | | | | | - the internal representation for package locks moves from `{Name, {pkg, PkgName, Vsn}, Lvl}` to `{Name, {pkg, PkgName, Vsn, Hash}, Lvl}` - the internal representation for packages moves from `{pkg, PkgName, Vsn}` to `{pkg, PkgName, Vsn, Hash}` - the hash can be `undefined`, meaning no check will be done - no checking is done yet. | ||||
* | | Don't die when source deps with [raw] are used | Fred Hebert | 2016-05-27 | 1 | -1/+6 |
|/ | | | | | This adds support for their format both on the first read and when looking for modifications to dependencies. | ||||
* | only apply default and prod profile to dependencies | Tristan Sloughter | 2016-01-09 | 1 | -1/+3 |
| | |||||
* | convert ~> versions to highest matching | Tristan Sloughter | 2015-12-26 | 1 | -24/+14 |
| | |||||
* | parse versions in deps tree output and support checkouts | Tristan Sloughter | 2015-09-12 | 1 | -1/+1 |
| | |||||
* | fix dialyzer warnings | Tristan Sloughter | 2015-09-09 | 1 | -1/+1 |
| | |||||
* | support _checkouts overriding package dep that doesn't exist in registry | Tristan Sloughter | 2015-09-03 | 1 | -27/+38 |
| | |||||
* | fixes for overrides of deps | Tristan Sloughter | 2015-08-31 | 1 | -2/+4 |
| | |||||
* | update use of hooks and plugins with state in app_info | Tristan Sloughter | 2015-08-31 | 1 | -1/+1 |
| | |||||
* | build on already created AppInfo instead of having to do copy | Tristan Sloughter | 2015-08-31 | 1 | -5/+0 |
| | |||||
* | fix erl_opts to not be inherited | Tristan Sloughter | 2015-08-31 | 1 | -6/+6 |
| | |||||
* | remove state record from app_info record | Tristan Sloughter | 2015-08-31 | 1 | -1/+0 |
| | |||||
* | wip: move state into app_info | Tristan Sloughter | 2015-08-31 | 1 | -17/+19 |
| | |||||
* | set parent on already fetched apps so tree works | Tristan Sloughter | 2015-08-29 | 1 | -1/+1 |
| | |||||
* | simplify package dep parsing and handling | Tristan Sloughter | 2015-08-25 | 1 | -69/+21 |
| | |||||
* | support pkg attribute on dep to declare package name different from app name | Tristan Sloughter | 2015-08-23 | 1 | -4/+31 |
| | |||||
* | improve error messages for packages by checking its existance before fetching | Tristan Sloughter | 2015-08-23 | 1 | -2/+16 |
| | |||||
* | replace use of dict of packages and registry with single ets table | Tristan Sloughter | 2015-08-21 | 1 | -7/+2 |
| | |||||
* | this patch treats pkg and src deps as equals, so level decides winner | Tristan Sloughter | 2015-08-21 | 1 | -2/+127 |
| | | | | | | | | Instead fetching and resolving src deps (which could depend on pkg deps) and then pkg deps this patch combines the two into a single set of iterations by level. The only difference between src and pkg deps in this new install_deps is how their deps list is found -- from the config or lock file for src deps and from the neighbors of the vertex for pkg. | ||||
* | Fix some unknown functions/types dialyzer warnings | James Fish | 2015-08-09 | 1 | -1/+2 |
| | |||||
* | include app.src.script in app discover and always use if available | Tristan Sloughter | 2015-07-26 | 1 | -1/+8 |
| | |||||
* | include applications list in compile sort | Tristan Sloughter | 2015-04-15 | 1 | -1/+0 |
| | |||||
* | copy project apps to deps output dir for compilation | Tristan Sloughter | 2015-02-28 | 1 | -5/+8 |
| | |||||
* | remove unneeded get_modules_list function | Tristan Sloughter | 2015-02-22 | 1 | -17/+6 |
| | |||||
* | consolidate app validation and exist checks | Tristan Sloughter | 2015-02-22 | 1 | -77/+39 |
| | |||||
* | remove unused functions from app utils | Tristan Sloughter | 2015-02-17 | 1 | -26/+5 |
| | |||||
* | return an error when an app file is missing | nuex | 2015-02-07 | 1 | -0/+1 |
| | |||||
* | move dir functions from utils to new module rebar_dir | Tristan Sloughter | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | slowly widdling away at dialyzer errors | Tristan Sloughter | 2014-09-20 | 1 | -50/+1 |
| | |||||
* | more efficient check for existing dep | Tristan Sloughter | 2014-09-20 | 1 | -0/+3 |
| | |||||
* | inefficient way, but safer, of checking if an app is already downloaded | Tristan Sloughter | 2014-09-20 | 1 | -1/+13 |
| | |||||
* | remove use of 17+ function lists:droplast/1 | Tristan Sloughter | 2014-09-17 | 1 | -1/+1 |
| | |||||
* | start of moving to splitting state from config parsing | Tristan Sloughter | 2014-08-17 | 1 | -8/+8 |
| | |||||
* | large refactoring | Tristan Sloughter | 2014-08-16 | 1 | -1/+4 |
| | | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands | ||||
* | Remove experimental flags | Tuncer Ayaz | 2014-01-14 | 1 | -9/+0 |
| | | | | | | | | Remove experimental flag from: * qc compile_only=true * eunit compile_only=true * src/foo.app.src.script * eunit tests= | ||||
* | Allow script to be evaluated when app file is loaded | Eric Merritt | 2012-09-07 | 1 | -1/+23 |
| | | | | | | This allows an <app-name>.app.src.script to be defined and evaluated when <app-name>.app.src or <app-name>.app are loaded. This allows the user to add project specific manipulations to app metadata. | ||||
* | Finalize app=, skip_app=, suite= deprecations | Tuncer Ayaz | 2012-07-23 | 1 | -2/+2 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -9/+9 |
| | |||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -45/+50 |
| | |||||
* | Cleanup and simplify deprecated option handling | Tuncer Ayaz | 2012-01-01 | 1 | -22/+2 |
| | |||||
* | Move vcs_vsn/2 to rebar_utils | Tuncer Ayaz | 2011-12-28 | 1 | -56/+1 |
| | |||||
* | Universally support apps=/skip_apps= | Tuncer Ayaz | 2011-12-12 | 1 | -33/+63 |
| | |||||
* | Move is_skipped_app/0 to rebar_app_utils | Tuncer Ayaz | 2011-12-12 | 1 | -1/+37 |
| | |||||
* | rebar_app_utils: fix git hook for Windows | Jan Klötzke | 2011-10-20 | 1 | -1/+8 |
| | |||||
* | Support for custom version commands | Tim Watson | 2011-10-11 | 1 | -0/+3 |
| | | | | | | | | | | | | | | This patch adds support for customising the way in which rebar generates version numbers for app.src files using the `{vsn,Spec}` approach. Whilst the existing `{vsn,ScmName::atom()}` syntax will continue to work, users can also pass `{vsn,{cmd,Cmd::string()}}` in which case the provided *command* will be used. For example: ```erlang {application, doodah, [ {vsn, {cmd, "git rev-parse --short HEAD"}}]}. ``` |