Fred Hebert
b3c14675c1
Fix dupes in deps provider, support atom pkgs
Whenever files were being locked *and* provided in rebar.config
duplicates could be printed. This is taken care of.
Also whenever atom packages were being used, they would cause the merge
step to fail. The new format does proper name-based deduplication of
resources, giving priority to locks to work.
ModificatioN/needs-update support is still in.
This may also act as a fix for #341 , if automation isn't required too
much.
10 年之前
Tristan Sloughter
d4c7dea735
only fetch branch needed, remove rebar_vsn_plugins from erlware_commons
10 年之前
Tristan Sloughter
214d6c9797
on upgrade of git branch check against remote
10 年之前
Tristan Sloughter
2e5496f5f5
remove use of erlydtl in rebar
10 年之前
Tristan Sloughter
bce924e04a
don't load package registry unless there are pkg deps to solve
10 年之前
James Fish
576e42e8be
Write dialyzer warnings to file
10 年之前
James Fish
e60f8d1af3
Error on dialyzer unknown warnings like rebar2
10 年之前
Tristan Sloughter
becf29a5ac
enable parse transformations in rebar config
10 年之前
Tristan Sloughter
ae7d1ca1ea
include _checkouts in release lib dirs if it exists
10 年之前
Fred Hebert
bbb6bb2d90
Avoid topsorting deps twice
They can be culled and reused in one sort pass.
10 年之前
Tristan Sloughter
164cff4063
read in application details into app_info after fetch
10 年之前
Tristan Sloughter
f491e70cb8
support templates even when not run as escript
10 年之前
Fred Hebert
5d1634448c
handle transitive deps being promoted
10 年之前
Tristan Sloughter
ee0f4dcd60
merge_locks crashed if a config didn't have a deps entry
10 年之前
Tristan Sloughter
d94c561627
remove warning if header not found, could be in a macro
10 年之前
Tristan Sloughter
26161bc1ac
support for 18.0+
10 年之前
Tristan Sloughter
e5988f69e0
R15 support, replace unsetenv with putenv empty string
10 年之前
Tristan Sloughter
16e9b3ffa2
fix tracking of all profiles dep paths
10 年之前
Tristan Sloughter
4374999d95
real bootstrapping
10 年之前
Tristan Sloughter
12bd412c22
add_deps_to_patha nd restore_code_path added to api
10 年之前
Fred Hebert
18c395ff15
Symlink existing default deps when in new profile
Should fix #360
10 年之前
Viacheslav V. Kovalev
29a855d31c
Revert accidentially changed formatting
10 年之前
Viacheslav Kovalev
e255529da5
Get rid of rebar_utils:tup_umerge/2 patching
10 年之前
Viacheslav Kovalev
82b0d4b7b2
Implement opts umerge deduplication
10 年之前
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
10 年之前
Viacheslav V. Kovalev
381c6f4779
Correctly deduplicate profiles when applying
Conflicts:
src/rebar_state.erl
10 年之前
Tristan Sloughter
b8c1cb2bf0
fix erl_first_files to check entire path of file
10 年之前
Tristan Sloughter
9e59abacf3
run project wide pre-compile hooks after deps have compiled
10 年之前
Tristan Sloughter
8ed91ab761
improve erlydtl source and out dir discovery
10 年之前
Tristan Sloughter
2667dbdd0b
don't duplicate hooks for top level app
10 年之前
Viacheslav V. Kovalev
cb14a33fdd
Do not duplicate profile when applying.
10 年之前
Tristan Sloughter
cce1ad00ba
ignore optional deps for now
10 年之前
Tristan Sloughter
c151f4e688
add to end of code path not the beginning in handle_deps
10 年之前
Fred Hebert
326f840123
Add support for an unlock command
Allows to remove entries from the lock file, or the lock file as a
whole.
10 年之前
Tristan Sloughter
400853033e
replcae ensure_started bc it doens't exist in R15, with load
10 年之前
Tristan Sloughter
a917dc14df
restructure escriptize provider so the error is properly returned
10 年之前
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 年之前
Tristan Sloughter
2e5b6fe559
remove use of lists:droplast, it doesn't exist pre-17
10 年之前
Tristan Sloughter
5999ef1c96
ct: compile tests from test dir to outdir instead of compiling copies
10 年之前
Tristan Sloughter
3126e7eb55
update project_apps and state before running post hooks
10 年之前
Tristan Sloughter
5f89e9c28d
fix erlydtl error return and dir to run from
10 年之前
Tristan Sloughter
f82874de58
include applications list in compile sort
10 年之前
Fred Hebert
38191c369a
Bump to alpha-4
10 年之前
Fred Hebert
8f1bfcb596
Rename wtf->report, add all dep versions
10 年之前
James Fish
09611f7563
Improve error handling in ct provider
10 年之前
Tristan Sloughter
4fb9207d9a
fix bug on foundapp could have bad match
10 年之前
Tristan Sloughter
d317869a3e
clean ups from Fred's comments
10 年之前
Tristan Sloughter
ef22eeb387
error on dep name that isn't an atom
10 年之前
Tristan Sloughter
4ee7fef913
store registry fetched from disk in state
10 年之前
alisdair sullivan
d1569a9d46
disallow suites in project root
fixes #331
10 年之前