summaryrefslogtreecommitdiff
path: root/src/rebar_prv_install_deps.erl
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* error message for failing to parse a depTristan Sloughter2015-01-211-4/+7
|
* no skip warning for seen dep that has locked versionTristan Sloughter2015-01-171-2/+9
|
* don't mark dep as seen before calling handle_depTristan Sloughter2015-01-131-1/+1
|
* don't allow locked transitive dep to override higher level depTristan Sloughter2015-01-041-33/+44
|
* use level in lock file so changes to config don't change outcome of runTristan Sloughter2015-01-021-1/+1
|
* overrides working with lock except in case of adding to config after lockTristan Sloughter2015-01-011-38/+65
|
* overrides working except for transitive dep inheritance with lock fileTristan Sloughter2014-12-301-22/+34
|
* update plugin install codeTristan Sloughter2014-12-241-1/+4
|
* rewrite profilesTristan Sloughter2014-12-161-57/+51
|
* Adding pkg deps tests and refactoringsFred Hebert2014-12-161-15/+34
| | | | | | | | | | | | | | | | | | | - Adding tests for package deps - Adding conflict/override warnings for package deps - Adding cycle detection for packages - Adding cycle detection for mixed packages+source - Fixing internal dependency format of package resources when converted to rebar_app_info - normalizing level-order prioritization to be based on lexicographical sort of app names rather than traversal order (which is undefined for package deps) - Fixing tests for source deps for deep cycle detection - Fixing bugs with source deps - Relaxed version format checks for test utils A lot of fixes are combined in there because I didn't want to commit non-passing code, and many bugs were found when adding the second batch of tests as part of the original effort.
* Merge pull request #49 from rebar/skipped-deps-warningsFred Hebert2014-12-071-0/+7
|\ | | | | Print warning when deps are being skipped.
| * Print warning when deps are being skipped.Fred Hebert2014-12-071-0/+7
| | | | | | | | | | The case in mind here is due to conflicts, and tests have been added for this.
* | use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}Tristan Sloughter2014-12-071-1/+2
|/
* version in source dep element is no longer used, support leaving it outTristan Sloughter2014-12-061-4/+8
|
* only add lock if default profileTristan Sloughter2014-12-061-5/+10
|
* don't lose defualt deps when creating current profileTristan Sloughter2014-12-061-0/+2
|
* don't use lock file for non-defualt profile depsTristan Sloughter2014-12-061-6/+7
|
* output message when starting install_deps providerTristan Sloughter2014-12-061-0/+1
|
* Handle cycle errors in providerFred Hebert2014-12-061-0/+8
|
* Partial fix to circular deps (#40)Fred Hebert2014-12-061-3/+3
| | | | | | | | | - Adding tests - fixing use of set fetching to find repeated deps and prevent infinite loops On a circular loop rebar3 now fails with `{error, no_sort}`, which is uncaught and should be handled to consider the issue fully fixed.
* if already seen dep before don't try handling it againTristan Sloughter2014-12-051-22/+27
|
* only read in rebar config and lock of dep if neededTristan Sloughter2014-12-041-1/+0
|
* move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-011-6/+6
|
* move deps_to_build out of config dict of stateTristan Sloughter2014-12-011-2/+3
|