Tristan Sloughter
c4c7ca4244
support temporary cdn change with HEX_CDN os var
pirms 9 gadiem
Tristan Sloughter
2242daaec9
auto-update the registry if a pkg isn't found, fail if it still isn't found
pirms 9 gadiem
Tristan Sloughter
9184a42ef3
fix typo of guarantee. h/t evan
pirms 9 gadiem
Tristan Sloughter
cfd4beb99d
hooks/artifacts are always run/resolved from an app unless at top of umbrella
pirms 9 gadiem
Fred Hebert
c57177fde8
Revert "Revert "only load packages when needed""
pirms 9 gadiem
Fred Hebert
3f83b3a382
Revert "only load packages when needed"
pirms 9 gadiem
Tristan Sloughter
8732b7d5bd
only load packages when needed
pirms 9 gadiem
Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
pirms 9 gadiem
Tristan Sloughter
391959dae8
use 'default' for default hex repo path in cache and include in info messages
pirms 9 gadiem
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
pirms 9 gadiem
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.
pirms 9 gadiem
pvmart
1f725ffdfc
fix leaking hex_registry table
pirms 9 gadiem
Fred Hebert
ca038d39f7
Proper custom pkg index support, some tests
- The rebar package index files have been moved off the default path and
will require a new `rebar3 update`
- Caching of downloaded packages automatically takes place in a path
relative to the CDN used
- The cache path is not shared with hex as we now write and modify data
in there arbitrarily
- Basic tests plus the working set for more of them is included
pirms 10 gadiem
Tristan Sloughter
819d0fb06f
verify checksums of hex packages
pirms 10 gadiem
Tristan Sloughter
c612b0e1fd
check registry for missing package that may exist for mix
pirms 10 gadiem
Tristan Sloughter
ce74589a56
handle missing package in registry by skipping
pirms 10 gadiem
Tristan Sloughter
41b95eb295
add test for single atom pkg dep picking the highest available
pirms 10 gadiem
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
pirms 10 gadiem
Tristan Sloughter
e73ed97cfd
follow xdg standard. fixes #122
pirms 10 gadiem
Tristan Sloughter
501b9b42df
print error message suggesting to run rebar3 update if missing package index
pirms 10 gadiem
Tristan Sloughter
410e2bcdec
replace package management with hex.pm
pirms 10 gadiem
Fred Hebert
449d6baabc
Fix error message to point to rebar3
pirms 10 gadiem
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
pirms 10 gadiem
Tristan Sloughter
9afd6e89b2
global plugins install to global config directory
pirms 10 gadiem
Tristan Sloughter
3e01e3e46d
replace rlx_depsolver types with new package types
pirms 10 gadiem
Tristan Sloughter
af35d5f0a2
replace rlx_depsolver use with new rebar_digraph
pirms 10 gadiem
Tristan Sloughter
f22db1302d
new dep graph working
pirms 10 gadiem
Tristan Sloughter
6cae428058
use CONFIG_DIR of rebar3 for config directories
pirms 10 gadiem
Tristan Sloughter
21cf46ff9c
dialyzer fixes
pirms 10 gadiem
Tristan Sloughter
6efdd8cbfe
fix namespaced types for pre-17 otp
pirms 10 gadiem
Tristan Sloughter
1854276fb5
down to last 2 dialyzer errors
pirms 10 gadiem
Tristan Sloughter
6356112cbb
more dialyzer fun. no likey opaque types
pirms 10 gadiem
Tristan Sloughter
f4ab647c95
fix for wrong function call to depsolver new for empty graph
pirms 10 gadiem
Tristan Sloughter
4b31a20a61
improved dep handling and add package list task
pirms 10 gadiem