Tristan Sloughter
0a4509f5b0
simplify package dep parsing and handling
vor 9 Jahren
Tristan Sloughter
d67a5bce52
fix pkgs provider output for new package index format
vor 9 Jahren
Tristan Sloughter
f2547a457f
support pkg attribute on dep to declare package name different from app name
vor 9 Jahren
Tristan Sloughter
2e931f29f4
don't error on upgrade if user removes top level dep
vor 9 Jahren
Tristan Sloughter
aa5a8829b5
add error message for dependency that doesn't contain single app dir
vor 9 Jahren
Tristan Sloughter
f2f63013fe
override 'deps' now automatically overrides '{deps,default}'
vor 9 Jahren
Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
vor 9 Jahren
Tristan Sloughter
391959dae8
use 'default' for default hex repo path in cache and include in info messages
vor 9 Jahren
Tristan Sloughter
3c92505d49
don't store deps list with duplicate in state
vor 9 Jahren
Tristan Sloughter
1aa79082de
update erlcinfo on disk if source file removed
vor 9 Jahren
Tristan Sloughter
86e4c5d5ef
do not override user cli supplied outputdir for relx
vor 9 Jahren
Tristan Sloughter
e336d7aaa1
remove unneeded packages ets table load/unload in plugins
vor 9 Jahren
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
vor 9 Jahren
Tristan Sloughter
6242c81554
include rebar3 in supported packages buildtool
vor 9 Jahren
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.
vor 9 Jahren
pvmart
1f725ffdfc
fix leaking hex_registry table
vor 9 Jahren
pvmart
a100be9a91
fix leaking ets tables when compilation failed
vor 9 Jahren
Tristan Sloughter
070f828e10
properly update locks for deps and ignore skip messages for locks
vor 9 Jahren
Tristan Sloughter
e941e170e4
small refactorings per Fred comments
vor 9 Jahren
Tristan Sloughter
1f72ddf042
remove commented out code
vor 9 Jahren
pvmart
278c0bdfa5
fix leaking ets tables caused by digraphs
vor 9 Jahren
Tristan Sloughter
ad463398dc
use correct rebar_state for a dep, not the top level state
vor 9 Jahren
Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
vor 9 Jahren
Tristan Sloughter
cf22c7e941
track the parent of umbrella app dependencies
vor 9 Jahren
alisdair sullivan
2ac834367b
improve `--help' documentation for eunit provider
vor 9 Jahren
Tristan Sloughter
be4ae19fec
track parent app of deps and add tree provider to display the relations
vor 9 Jahren
alisdair sullivan
d6a011981e
add support for `rebar3 eunit --file=...'
vor 9 Jahren
Tristan Sloughter
aac4fa0e3c
only lock when running in the default profile
vor 9 Jahren
Tristan Sloughter
ab92f1a292
install package deps in same level/profile order as src deps
vor 9 Jahren
David Leach
da30a6e8c9
Modify parse_git_url to be more generic
Changes parse_git url function to use Using RFC3986 standard to validate
git uri instead of matching strings in function head. Also accepts scp
style syntax for parsing.
vor 9 Jahren
James Fish
fc6cc368c3
Fix some unknown functions/types dialyzer warnings
vor 9 Jahren
Tristan Sloughter
ecf6ad5524
fix no_return warnings
vor 9 Jahren
Tristan Sloughter
6fde1748b9
fix dialyzer warnings, except 'no local return' warnings
vor 9 Jahren
Fred Hebert
28a3f9849b
Detect missing EPMD, error, fallback and advise.
vor 9 Jahren
Tristan Sloughter
4bcab8ef96
add to deps tree help message that only packages are supported
vor 9 Jahren
Tristan Sloughter
125ff06b74
add tree option to deps command that prints pkg deps tree
vor 9 Jahren
Sean Cribbs
a9aca6190c
Fix description in "rebar3 new"
`template` is not a kv-style argument, but a plain argument. If you give `template=app` on the command line, you get "template not found."
vor 9 Jahren
Tristan Sloughter
6d01729c68
upgrade depends on the lock provider and lock prv sets state
vor 9 Jahren
Tristan Sloughter
c7bb13f29b
keep correct Level for pkg deps of scm deps
vor 9 Jahren
Tristan Sloughter
8b24b49739
only use upgrade on default deps
vor 9 Jahren
Tristan Sloughter
4e966a6e67
sort versions of packages when printing
vor 9 Jahren
Tristan Sloughter
238442b57b
add ; to escaped chars in path
vor 9 Jahren
Tristan Sloughter
1e38bc0d0f
keep plugins dir as deps dir when compiling plugins+deps
vor 9 Jahren
Tristan Sloughter
f77457343a
fix find of deps for clean all
vor 9 Jahren
Tristan Sloughter
806f7f9219
include app.src.script in app discover and always use if available
vor 9 Jahren
Tristan Sloughter
7e4747109c
escape & in paths
vor 9 Jahren
pvmart
55d6aa2789
Fix duplicate function clause in rebar_prv_install_deps:parse_dep/5
vor 9 Jahren
Tristan Sloughter
e64671686f
fix upgrade of newly added pkg dep from scm locked dep
vor 9 Jahren
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
vor 9 Jahren
Tristan Sloughter
6e9df6cc57
parse old format of OTP versions
vor 9 Jahren