summaryrefslogtreecommitdiff
path: root/test/rebar_install_deps_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* OTP-21 readiness, Full Unicode supportFred Hebert2017-11-161-4/+4
| | | | | | | | | | | | This replaces all deprecated function usage by alternative ones based on a version switch enacted at compile time, preventing all warnings. This will likely introduce some possible runtime errors in using a Rebar3 compiled on OTP-20 or OTP-21 back in versions 19 and earlier, but we can't really work around that. A bunch of dependencies have been updated to support OTP-21 without warnings as well.
* Support package hashes in structure and lockfileFred Hebert2016-05-241-1/+1
| | | | | | | | | - 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.
* add back removed testsTristan Sloughter2015-08-211-3/+15
|
* this patch treats pkg and src deps as equals, so level decides winnerTristan Sloughter2015-08-211-24/+4
| | | | | | | | 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.
* handle new tests for mix package types (git/pkg)Tristan Sloughter2015-08-161-38/+15
|
* All dep overrides in packages are blockedFred Hebert2015-08-161-1/+1
| | | | Just rework the error message.
* Review rule about dep prioritiesFred Hebert2015-08-161-2/+3
| | | | | On a single app's dep list, the first noted wins if there's a duplicate between packages and sources, rather than favoring source there anyway.
* Add tests for mixed deps installsFred Hebert2015-08-161-34/+191
| | | | | Requires a rework of other test suites using the same dep-handling mechanism.
* update lock tests to not expect lock for non-default profile runTristan Sloughter2015-08-131-3/+12
|
* wip: deps install refactorFred Hebert2015-07-021-4/+50
|
* Make the test work on more versionsFred Hebert2015-06-261-1/+1
|
* Adding tests for locksFred Hebert2015-06-251-11/+23
|
* Symlink existing default deps when in new profileFred Hebert2015-04-221-0/+14
| | | | Should fix #360
* Default deps always to the default profileFred Hebert2015-04-171-2/+65
| | | | | | | | | | | | | | | | 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.
* Implement deps conflicts as errorsFred Hebert2015-03-151-4/+39
| | | | | | | | 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'.
* Reuse test code and drop duplicated stuffFred Hebert2015-02-231-52/+4
|
* Initial `deps` commandFred Hebert2015-02-161-0/+221
|
* change name of suiteTristan Sloughter2014-09-011-113/+0
|
* only build invalid (not built) source deps and project appsTristan Sloughter2014-09-011-1/+1
|
* add first testTristan Sloughter2014-09-011-0/+113