Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #140 and preserve erl_first_files order | Martin Karlsson | 2015-02-13 | 1 | -5/+20 |
| | | | | | | Match erl_first_files properly against all files needing compilation and make sure the order of erl_first_files as specified in rebar.config is preserved (rebar/rebar#445) | ||||
* | Warnings for Deletions and friendly errors | Fred Hebert | 2015-02-12 | 1 | -10/+28 |
| | | | | | | | | | Apps that are no longer used are not automatically deleted, but we tell users it can be done. This is safer while we're not sure of the correctness of these messages. Error messages are added for transient dependencies and dependencies not found. | ||||
* | Support multiple app upgrade & lock tests | Fred Hebert | 2015-02-11 | 1 | -19/+19 |
| | | | | | | - Many apps is supported through and through - Not mentioning any app upgrades all apps - Locks are refreshed on disk and tested as such after an upgrade | ||||
* | Fix testcases, add multi-app upgrade support | Fred Hebert | 2015-02-11 | 2 | -22/+75 |
| | | | | | | | | todo: - relock stuff - default to all apps needing upgrade - more tests? - pkgs? | ||||
* | Refactor install_deps to match 'upgrade' ideas | Fred Hebert | 2015-02-11 | 1 | -52/+61 |
| | | | | | | - rename 'update' to 'upgrade' -- 'update' stands for package list updates, not dependencies upgrades - extracting some deeply nested code | ||||
* | More progress on upgrades | Fred Hebert | 2015-02-11 | 2 | -13/+19 |
| | | | | | | Only the most complex case is failing, where cross-dependencies would need to be refetched as an update clears an app of its dependencies and a different subtree should override it. | ||||
* | Partial work + Failing tests | Fred Hebert | 2015-02-11 | 1 | -1/+1 |
| | | | | | The problem with the current effort is handling of transitive dependency upgrades and possible values. | ||||
* | Alternative attempt | Fred Hebert | 2015-02-11 | 2 | -34/+36 |
| | |||||
* | WIP | Fred Hebert | 2015-02-11 | 4 | -18/+42 |
| | | | | | | Test that all the correct locks are set for an upgrade run. Now to actually re-run the install deps and prove it works | ||||
* | Merge pull request #138 from talentdeficit/args_to_tasks | Fred Hebert | 2015-02-11 | 2 | -7/+56 |
|\ | | | | | factor out task/args parsing from `do` for use in other meta commands | ||||
| * | factor out task/args parsing from `do` for use in other meta | alisdair sullivan | 2015-02-08 | 2 | -7/+56 |
| | | | | | | | | commands | ||||
* | | Merge pull request #132 from fishcakez/dialyzer_fail | Tristan Sloughter | 2015-02-08 | 1 | -28/+51 |
|\ \ | | | | | | | Dialyzer fails if any warnings | ||||
| * | | Fix dialyzer plt checking typo | James Fish | 2015-02-07 | 1 | -1/+1 |
| | | | |||||
| * | | Display full path in dialyzer warningss | James Fish | 2015-02-07 | 1 | -1/+1 |
| | | | |||||
| * | | Fail if any dialyzer warnings aren't unknowns | James Fish | 2015-02-07 | 1 | -25/+48 |
| | | | |||||
* | | | Merge pull request #135 from fishcakez/dialyzer_erts_app | Tristan Sloughter | 2015-02-08 | 1 | -0/+7 |
|\ \ \ | | | | | | | | | Fix dialyzer erts file lookup for releases prior to R16B02 | ||||
| * | | | Fix dialyzer erts file lookup for releases prior to R16B02 | James Fish | 2015-02-08 | 1 | -0/+7 |
| |/ / | | | | | | | | | | | | | erts.app was introduced in R16B02 so read all beam files from the erts ebin directory if erts.app file does not exist. | ||||
* | | | return an error when an app file is missing | nuex | 2015-02-07 | 1 | -0/+1 |
|/ / | |||||
* | | Change mock_pkg_resource to create ebin directory | Kelly McLaughlin | 2015-02-06 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | | | Change mock_pkg_resource to use rebar_test_utils:create_empty_app so that an ebin directory is created which is a good expectation for a package. Also revert the check in rebar_fetch:download_source to check for an ebin directory before adding it to the code path for package installs. If a package does not have an ebin directory it is probably a good for an exception to be thrown. | ||||
* | | Ensure package ebin directory exists prior to adding to code path | Kelly McLaughlin | 2015-02-06 | 1 | -1/+6 |
| | | |||||
* | | Add packages to code path after installation | Kelly McLaughlin | 2015-02-06 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Fix a bug where packages are not added to the code path after installation. Dependent applications that build from source are not affected by this issue since the build_apps function in rebar_prv_compiler takes care of the code path changes for them. It is only the precompiled packages that suffer from this issue. | ||||
* | | Add xref support for multi-app projects | Kelly McLaughlin | 2015-02-05 | 1 | -1/+2 |
| | | | | | | | | | | | | | | Add xref support for multi-app projects. Instead of only adding the top-level ebin directory to the xref server use rebar_state:project_apps/1 to enumerate the applications for the project and add the ebin directory for each one. | ||||
* | | Merge pull request #123 from tsloughter/pkg_deps | Tristan Sloughter | 2015-02-05 | 2 | -10/+10 |
|\ \ | | | | | | | package dep names are binary, fix install deps and related tests | ||||
| * | | package dep names are binary, fix install deps and related tests | Tristan Sloughter | 2015-02-03 | 2 | -10/+10 |
| |/ | |||||
* | | Add xref provider for cross reference analysis | Kelly McLaughlin | 2015-02-05 | 2 | -0/+297 |
|/ | | | | | | | | | | | * Add a provider for the xref tool for running cross reference analysis on a project. Most of the code has been ported directly from the rebar2 rebar_xref module with some modification and cleanup to support testing. * Port over the eunit test suite from rebar2, but convert it to common_test. The testing is the same, but now the erlang term output is examined to determine if the test run is successful instead of scanning the console output for the expected strings. | ||||
* | clean up create_logic_providers function | Tristan Sloughter | 2015-02-02 | 1 | -9/+9 |
| | |||||
* | fix find_apps when searching for invalid apps | Tristan Sloughter | 2015-02-02 | 2 | -9/+9 |
| | |||||
* | support for provider_hooks in config | Tristan Sloughter | 2015-01-31 | 3 | -30/+50 |
| | |||||
* | app_info:valid needs to return a boolean and not throw an exception | Tristan Sloughter | 2015-01-27 | 1 | -1/+6 |
| | |||||
* | use processed app file for validation | Tristan Sloughter | 2015-01-26 | 2 | -3/+6 |
| | |||||
* | fix typo in error tuple and throw error in install_deps | Tristan Sloughter | 2015-01-26 | 1 | -2/+2 |
| | |||||
* | Merge pull request #112 from tsloughter/stuff | Fred Hebert | 2015-01-26 | 5 | -98/+79 |
|\ | | | | | Clean up and backwards compatability | ||||
| * | refactor rebar_otp_app for smaller/cleaner functions | Tristan Sloughter | 2015-01-26 | 1 | -26/+33 |
| | | |||||
| * | add warning that dep options like raw are being ignored | Tristan Sloughter | 2015-01-24 | 1 | -1/+2 |
| | | |||||
| * | clean up and better error messages when validating apps | Tristan Sloughter | 2015-01-24 | 3 | -92/+62 |
| | | |||||
| * | ignore opts list in src dep is it is there | Tristan Sloughter | 2015-01-24 | 1 | -0/+3 |
| | | |||||
| * | fix for rebar deps dir path in hooks, making it absolute | Tristan Sloughter | 2015-01-24 | 1 | -1/+1 |
| | | |||||
* | | check locks before locking a dep to not have duplicates | Tristan Sloughter | 2015-01-25 | 1 | -2/+9 |
|/ | |||||
* | don't lose erl_opts when compiling for tests | Tristan Sloughter | 2015-01-23 | 2 | -7/+7 |
| | |||||
* | error message for failing to parse a dep | Tristan Sloughter | 2015-01-21 | 1 | -4/+7 |
| | |||||
* | remove extra newline in clean | Tristan Sloughter | 2015-01-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #101 from talentdeficit/file_utils | Tristan Sloughter | 2015-01-19 | 3 | -21/+35 |
|\ | | | | | generalize some temporary directory handling and add it to `rebar_file_utils` | ||||
| * | use new `rebar_file_utils` functions in `eunit` and `ct` providers | alisdair sullivan | 2015-01-16 | 2 | -20/+4 |
| | | |||||
| * | add functions `system_tmpdir/0,1` and `reset_dir/1` | alisdair sullivan | 2015-01-15 | 1 | -1/+31 |
| | | | | | | | | (in `rebar_file_utils`) | ||||
* | | do provider returns the error of the first provider to fail and stops | Tristan Sloughter | 2015-01-18 | 1 | -7/+15 |
| | | |||||
* | | no skip warning for seen dep that has locked version | Tristan Sloughter | 2015-01-17 | 1 | -2/+9 |
|/ | |||||
* | change more instances of mistyped `erl_first_modules` to | alisdair sullivan | 2015-01-15 | 2 | -2/+2 |
| | | | | | | `erl_first_files` fixes #99 | ||||
* | don't mark dep as seen before calling handle_dep | Tristan Sloughter | 2015-01-13 | 1 | -1/+1 |
| | |||||
* | replace single profile atom in providers with list of profiles | Tristan Sloughter | 2015-01-11 | 4 | -14/+13 |
| | |||||
* | when compiling `common_test` or `eunit` use the same tmp dir | alisdair sullivan | 2015-01-09 | 2 | -10/+34 |
| | | | | from run to run |