Tristan Sloughter
6fde1748b9
fix dialyzer warnings, except 'no local return' warnings
9 år sedan
Tristan Sloughter
125ff06b74
add tree option to deps command that prints pkg deps tree
9 år sedan
Tristan Sloughter
c7bb13f29b
keep correct Level for pkg deps of scm deps
9 år sedan
pvmart
55d6aa2789
Fix duplicate function clause in rebar_prv_install_deps:parse_dep/5
9 år sedan
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
9 år sedan
Richard Jones
9263b95f82
Tidy up "Linking.." messages during compile
Linking message will only be printed the first time the link or copy
actually happens.
Note:
rebar_file_utils:symlink_or_copy will now return 'exists'
instead of ok, if it did nothing because the link exists.
Nothing was checking the return value yet, so seemed reasonable.
9 år sedan
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
9 år sedan
Tristan Sloughter
f59efebf56
pass failing upgrade case where levels are increased
9 år sedan
Fred Hebert
7840a93e85
Minor refactors
9 år sedan
Fred Hebert
cfea721d98
wip: deps install refactor
9 år sedan
Tristan Sloughter
5402199d88
expand plugins for profile after applying profiles
10 år sedan
Tristan Sloughter
ea9b60f4be
deduplicate parts of package and source dep handling
10 år sedan
Tristan Sloughter
a5b3f6403b
overrides working for pkg deps
10 år sedan
Tristan Sloughter
f7ff07a87d
plugins provider
10 år sedan
Tristan Sloughter
a3ce939ec5
add config option artifacts
10 år sedan
Fred Hebert
3ed0c5feff
fix bareness issues
- Crashes in providers lib when no providers in a namespace are bare
- Making sure bareness matches semantics; i.e. a bare provider is
visible, a non-bare provider is hidden.
10 år sedan
Tristan Sloughter
7d33dbf6aa
store plugin providers in app_info's state for deps
10 år sedan
Tristan Sloughter
20f4562c6d
fix for plugin installation and code paths
10 år sedan
Tristan Sloughter
e45c67b023
add additional comments
10 år sedan
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
10 år sedan
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
10 år sedan
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
10 år sedan
Tristan Sloughter
35166b5f1a
parsing deps of a dep should be done at the dep's level + 1
10 år sedan
Tristan Sloughter
b34cc49924
always upgrade if needs_update is true
10 år sedan
Tristan Sloughter
3a201230fe
install plugins from the global config to ~/.cache/plugins
10 år sedan
Tristan Sloughter
f30e5063ca
don't print skip message if dep is locked for pkgs as well
10 år sedan
Tristan Sloughter
819d0fb06f
verify checksums of hex packages
10 år sedan
Fred Hebert
f5527de4e1
Further restricting skipped deps warnings
10 år sedan
Tristan Sloughter
fd4b5f5f2f
improve log messages on upgrades
10 år sedan
Tristan Sloughter
c612b0e1fd
check registry for missing package that may exist for mix
10 år sedan
Tristan Sloughter
ce74589a56
handle missing package in registry by skipping
10 år sedan
Tristan Sloughter
bce924e04a
don't load package registry unless there are pkg deps to solve
10 år sedan
Fred Hebert
bbb6bb2d90
Avoid topsorting deps twice
They can be culled and reused in one sort pass.
10 år sedan
Tristan Sloughter
164cff4063
read in application details into app_info after fetch
10 år sedan
Tristan Sloughter
16e9b3ffa2
fix tracking of all profiles dep paths
10 år sedan
Fred Hebert
18c395ff15
Symlink existing default deps when in new profile
Should fix #360
10 år sedan
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
10 år sedan
Tristan Sloughter
c151f4e688
add to end of code path not the beginning in handle_deps
10 år sedan
Fred Hebert
2ff4ac6d50
Default deps always to the default profile
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.
10 år sedan
Tristan Sloughter
4fb9207d9a
fix bug on foundapp could have bad match
10 år sedan
Tristan Sloughter
4ee7fef913
store registry fetched from disk in state
10 år sedan
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
10 år sedan
Tristan Sloughter
79e2d6006c
install each deps plugins after handling dep, instead of at the end
10 år sedan
Tristan Sloughter
38de29ae42
move resource modules list to rebar_state, no longer static
10 år sedan
Tristan Sloughter
459ff732a3
install dep plugins & run provider hooks the same as shell hooks
10 år sedan
Tristan Sloughter
5e58823fd6
treat _checkouts as deps that are always compiled
10 år sedan
James Fish
447fb1a02e
Fix dialyzer warnings
10 år sedan
Tristan Sloughter
b4986925e8
include all pkg deps in list of deps returned from update
10 år sedan
Tristan Sloughter
80e9aae16c
handle bad package version with error message
10 år sedan
Fred Hebert
f35f26fece
Implement deps conflicts as errors
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'.
10 år sedan