summaryrefslogtreecommitdiff
path: root/src/rebar_prv_install_deps.erl
Commit message (Collapse)AuthorAgeFilesLines
* don't print skip message if dep is locked for pkgs as wellTristan Sloughter2015-05-121-7/+10
|
* verify checksums of hex packagesTristan Sloughter2015-05-121-8/+8
|
* Further restricting skipped deps warningsFred Hebert2015-05-101-5/+4
|
* improve log messages on upgradesTristan Sloughter2015-05-091-3/+5
|
* check registry for missing package that may exist for mixTristan Sloughter2015-05-091-3/+10
|
* handle missing package in registry by skippingTristan Sloughter2015-05-041-1/+1
|
* don't load package registry unless there are pkg deps to solveTristan Sloughter2015-04-281-13/+22
|
* Merge pull request #371 from tsloughter/fetch_app_detailsTristan Sloughter2015-04-251-1/+10
|\ | | | | read in application details into app_info after fetch
| * read in application details into app_info after fetchTristan Sloughter2015-04-241-1/+10
| |
* | Avoid topsorting deps twiceFred Hebert2015-04-251-16/+6
|/ | | | They can be culled and reused in one sort pass.
* fix tracking of all profiles dep pathsTristan Sloughter2015-04-221-2/+2
|
* Merge pull request #354 from tsloughter/track_code_pathTristan Sloughter2015-04-221-3/+3
|\ | | | | Track code path
| * track and cleanup code paths for different contextsTristan Sloughter2015-04-211-3/+3
| |
* | Symlink existing default deps when in new profileFred Hebert2015-04-221-8/+15
|/ | | | Should fix #360
* add to end of code path not the beginning in handle_depsTristan Sloughter2015-04-181-1/+1
|
* Default deps always to the default profileFred Hebert2015-04-171-23/+58
| | | | | | | | | | | | | | | | When fetching dependencies for the first time using a profile (`rebar3 as prod release` or `rebar3 ct`), the dependencies get fetched into the non-default profile. This has two consequences: - the files get re-downloaded on follow-up runs - the lock file includes incomplete or too many deps in its list This patch forces dependencies in the default profile to be stored in _build/default/lib even when running under other profiles, then symlinks them to the correct one. This makes it so common dependencies in 'default' be downloaded there and avoids re-downloading them. Should also fix the lock issues.
* fix bug on foundapp could have bad matchTristan Sloughter2015-04-111-4/+4
|
* store registry fetched from disk in stateTristan Sloughter2015-04-111-2/+3
|
* support single atoms for pkg deps, fetch highest version availableTristan Sloughter2015-04-111-18/+37
|
* install each deps plugins after handling dep, instead of at the endTristan Sloughter2015-04-051-7/+7
|
* move resource modules list to rebar_state, no longer staticTristan Sloughter2015-04-041-3/+3
|
* install dep plugins & run provider hooks the same as shell hooksTristan Sloughter2015-04-041-1/+4
|
* Merge pull request #283 from fishcakez/dial_warnsFred Hebert2015-03-251-2/+2
|\ | | | | Fix some dialyzer warnings
| * Fix dialyzer warningsJames Fish2015-03-181-2/+2
| |
* | treat _checkouts as deps that are always compiledTristan Sloughter2015-03-211-33/+63
|/
* include all pkg deps in list of deps returned from updateTristan Sloughter2015-03-171-7/+2
|
* handle bad package version with error messageTristan Sloughter2015-03-161-1/+3
|
* Implement deps conflicts as errorsFred Hebert2015-03-151-9/+17
| | | | | | | | The option {deps_error_on_conflict, true} will make it so conflicts in deps being fetched interrupts the operation rather than just display a warning. Defaults to `false'.
* fix code path update for depsTristan Sloughter2015-03-061-0/+2
|
* use same symlink or copy function for deps linksTristan Sloughter2015-02-281-1/+1
|
* make base_dir for a run include the profiles in path, link to shared depsTristan Sloughter2015-02-281-1/+13
|
* remove old info function from install_deps, it is a bare providerTristan Sloughter2015-02-251-35/+2
|
* Add tests and fixes for packages upgradesFred Hebert2015-02-231-4/+8
| | | | | | | | | | - Track level of packages properly, they're not level 0 anymore (this could yield an issue where a src dep takes precedence over a pkg dep) - Proper stable sort of vertices in the digraph module - PkgDeps no longer 'see themselves' when fetching and upgrading after locking themselves - Pkg Locks are added to pkg deps rather than source deps - Updating test cases to support pkg mocking on top of src mocking
* consolidate app validation and exist checksTristan Sloughter2015-02-221-16/+3
|
* Reindent multiline assignmentFred Hebert2015-02-221-11/+11
|
* Pass in newer state referenceFred Hebert2015-02-221-2/+1
| | | | Old one might have been a mistake; this one works fine.
* Refactor install depsFred Hebert2015-02-221-118/+132
| | | | | | - Make functions shorter - Unnest some functions - Split up and give names to major conditional branches
* sort project apps before merging depsTristan Sloughter2015-02-191-11/+1
|
* use project sub-apps with deps in their rebar.configTristan Sloughter2015-02-171-1/+1
|
* replace package management with hex.pmTristan Sloughter2015-02-171-23/+24
|
* Fix testcases, add multi-app upgrade supportFred Hebert2015-02-111-5/+21
| | | | | | | | todo: - relock stuff - default to all apps needing upgrade - more tests? - pkgs?
* Refactor install_deps to match 'upgrade' ideasFred Hebert2015-02-111-52/+61
| | | | | | - rename 'update' to 'upgrade' -- 'update' stands for package list updates, not dependencies upgrades - extracting some deeply nested code
* More progress on upgradesFred Hebert2015-02-111-11/+17
| | | | | | 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.
* Alternative attemptFred Hebert2015-02-111-9/+11
|
* WIPFred Hebert2015-02-111-1/+1
| | | | | | Test that all the correct locks are set for an upgrade run. Now to actually re-run the install deps and prove it works
* package dep names are binary, fix install deps and related testsTristan Sloughter2015-02-031-1/+1
|
* Merge pull request #112 from tsloughter/stuffFred Hebert2015-01-261-0/+4
|\ | | | | Clean up and backwards compatability
| * add warning that dep options like raw are being ignoredTristan Sloughter2015-01-241-1/+2
| |
| * ignore opts list in src dep is it is thereTristan Sloughter2015-01-241-0/+3
| |
* | check locks before locking a dep to not have duplicatesTristan Sloughter2015-01-251-2/+9
|/