Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
9 years ago
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
9 years ago
Tristan Sloughter
31a24ad4ff
this patch treats pkg and src deps as equals, so level decides winner
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.
9 years ago
pvmart
1f725ffdfc
fix leaking hex_registry table
9 years ago
Tristan Sloughter
070f828e10
properly update locks for deps and ignore skip messages for locks
9 years ago
Tristan Sloughter
1f72ddf042
remove commented out code
9 years ago
Tristan Sloughter
ad463398dc
use correct rebar_state for a dep, not the top level state
9 years ago
Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
9 years ago
Tristan Sloughter
cf22c7e941
track the parent of umbrella app dependencies
9 years ago
Tristan Sloughter
be4ae19fec
track parent app of deps and add tree provider to display the relations
9 years ago
Tristan Sloughter
ab92f1a292
install package deps in same level/profile order as src deps
9 years ago
Tristan Sloughter
6fde1748b9
fix dialyzer warnings, except 'no local return' warnings
9 years ago
Tristan Sloughter
125ff06b74
add tree option to deps command that prints pkg deps tree
9 years ago
Tristan Sloughter
c7bb13f29b
keep correct Level for pkg deps of scm deps
9 years ago
pvmart
55d6aa2789
Fix duplicate function clause in rebar_prv_install_deps:parse_dep/5
9 years ago
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
9 years ago
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 years ago
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
9 years ago
Tristan Sloughter
f59efebf56
pass failing upgrade case where levels are increased
9 years ago
Fred Hebert
7840a93e85
Minor refactors
9 years ago
Fred Hebert
cfea721d98
wip: deps install refactor
9 years ago
Tristan Sloughter
5402199d88
expand plugins for profile after applying profiles
9 years ago
Tristan Sloughter
ea9b60f4be
deduplicate parts of package and source dep handling
10 years ago
Tristan Sloughter
a5b3f6403b
overrides working for pkg deps
10 years ago
Tristan Sloughter
f7ff07a87d
plugins provider
10 years ago
Tristan Sloughter
a3ce939ec5
add config option artifacts
10 years ago
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 years ago
Tristan Sloughter
7d33dbf6aa
store plugin providers in app_info's state for deps
10 years ago
Tristan Sloughter
20f4562c6d
fix for plugin installation and code paths
10 years ago
Tristan Sloughter
e45c67b023
add additional comments
10 years ago
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
10 years ago
Tristan Sloughter
37ac2b7833
read in app information after fetch so we have the deps
10 years ago
Tristan Sloughter
9cfef9c011
only update, when not in explicit upgrade, locks if out of date
10 years ago
Tristan Sloughter
35166b5f1a
parsing deps of a dep should be done at the dep's level + 1
10 years ago
Tristan Sloughter
b34cc49924
always upgrade if needs_update is true
10 years ago
Tristan Sloughter
3a201230fe
install plugins from the global config to ~/.cache/plugins
10 years ago
Tristan Sloughter
f30e5063ca
don't print skip message if dep is locked for pkgs as well
10 years ago
Tristan Sloughter
819d0fb06f
verify checksums of hex packages
10 years ago
Fred Hebert
f5527de4e1
Further restricting skipped deps warnings
10 years ago
Tristan Sloughter
fd4b5f5f2f
improve log messages on upgrades
10 years ago
Tristan Sloughter
c612b0e1fd
check registry for missing package that may exist for mix
10 years ago
Tristan Sloughter
ce74589a56
handle missing package in registry by skipping
10 years ago
Tristan Sloughter
bce924e04a
don't load package registry unless there are pkg deps to solve
10 years ago
Fred Hebert
bbb6bb2d90
Avoid topsorting deps twice
They can be culled and reused in one sort pass.
10 years ago
Tristan Sloughter
164cff4063
read in application details into app_info after fetch
10 years ago
Tristan Sloughter
16e9b3ffa2
fix tracking of all profiles dep paths
10 years ago
Fred Hebert
18c395ff15
Symlink existing default deps when in new profile
Should fix #360
10 years ago
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
10 years ago
Tristan Sloughter
c151f4e688
add to end of code path not the beginning in handle_deps
10 years ago
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 years ago