Fred Hebert
18c395ff15
Symlink existing default deps when in new profile
Should fix #360
před 10 roky
Viacheslav V. Kovalev
29a855d31c
Revert accidentially changed formatting
před 10 roky
Viacheslav V. Kovalev
d821757152
Merge remote-tracking branch 'my/app-discover-profile-duplication' into app-discover-profile-duplication
před 10 roky
Viacheslav Kovalev
e255529da5
Get rid of rebar_utils:tup_umerge/2 patching
před 10 roky
Viacheslav V. Kovalev
0b682e364d
Merge branch 'app-discover-profile-duplication' of https://github.com/kovyl2404/rebar3 into app-discover-profile-duplication
Conflicts:
test/rebar_profiles_SUITE.erl
před 10 roky
Viacheslav Kovalev
82b0d4b7b2
Implement opts umerge deduplication
před 10 roky
Viacheslav V. Kovalev
83d738a829
Implement some test on profiles deduplication
před 10 roky
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
před 10 roky
Viacheslav V. Kovalev
b725711d63
Implement some test on profiles deduplication
před 10 roky
Viacheslav V. Kovalev
381c6f4779
Correctly deduplicate profiles when applying
Conflicts:
src/rebar_state.erl
před 10 roky
Fred Hebert
31ef4c4916
Merge pull request #357 from tsloughter/erl_first_files
fix erl_first_files to check entire path of file
před 10 roky
Fred Hebert
b5ef1c09d7
Merge pull request #356 from tsloughter/compile_pre_hooks
run project wide pre-compile hooks after deps have compiled
před 10 roky
Tristan Sloughter
b8c1cb2bf0
fix erl_first_files to check entire path of file
před 10 roky
Tristan Sloughter
9e59abacf3
run project wide pre-compile hooks after deps have compiled
před 10 roky
Fred Hebert
520855ee42
Merge pull request #351 from tsloughter/dep_hooks
set the dep as the project app before running hooks
před 10 roky
Fred Hebert
71dfa8eca6
Merge pull request #353 from tsloughter/dup_hooks
don't duplicate hooks for top level app
před 10 roky
Tristan Sloughter
8ed91ab761
improve erlydtl source and out dir discovery
před 10 roky
Tristan Sloughter
2667dbdd0b
don't duplicate hooks for top level app
před 10 roky
Fred Hebert
ff47ccdd0f
Merge pull request #348 from tsloughter/ignore_optional_hex
ignore optional deps for now
před 10 roky
Viacheslav V. Kovalev
cb14a33fdd
Do not duplicate profile when applying.
před 10 roky
Tristan Sloughter
cce1ad00ba
ignore optional deps for now
před 10 roky
Fred Hebert
7d6822c376
Merge pull request #347 from tsloughter/add_pathsz
add to end of code path not the beginning in handle_deps
před 10 roky
Tristan Sloughter
c151f4e688
add to end of code path not the beginning in handle_deps
před 10 roky
Tristan Sloughter
032c0448ee
Merge pull request #345 from ferd/unlocks
Add support for an unlock command
před 10 roky
Fred Hebert
326f840123
Add support for an unlock command
Allows to remove entries from the lock file, or the lock file as a
whole.
před 10 roky
Tristan Sloughter
4a057b68c9
Merge pull request #344 from ferd/proper-default-fetch
Default deps always to the default profile
před 10 roky
Fred Hebert
123b0ea61a
Merge pull request #342 from tsloughter/relx_fixes
Mainly CT changes
před 10 roky
Tristan Sloughter
400853033e
replcae ensure_started bc it doens't exist in R15, with load
před 10 roky
Tristan Sloughter
a917dc14df
restructure escriptize provider so the error is properly returned
před 10 roky
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.
před 10 roky
Tristan Sloughter
2e5b6fe559
remove use of lists:droplast, it doesn't exist pre-17
před 10 roky
Tristan Sloughter
5999ef1c96
ct: compile tests from test dir to outdir instead of compiling copies
před 10 roky
Tristan Sloughter
3126e7eb55
update project_apps and state before running post hooks
před 10 roky
Tristan Sloughter
5f89e9c28d
fix erlydtl error return and dir to run from
před 10 roky
Tristan Sloughter
cbd22cf490
Merge pull request #340 from tsloughter/compile_sort
include applications list in compile sort
před 10 roky
Tristan Sloughter
f82874de58
include applications list in compile sort
před 10 roky
Fred Hebert
38191c369a
Bump to alpha-4
před 10 roky
Tristan Sloughter
bd6d6206ca
Merge pull request #336 from ferd/rework-wtf-provider
Rename wtf->report, add all dep versions
před 10 roky
Fred Hebert
6acf0ea482
Add in shell completion for wtf->report rename
před 10 roky
Fred Hebert
8f1bfcb596
Rename wtf->report, add all dep versions
před 10 roky
Tristan Sloughter
293b415cb3
Merge pull request #335 from fishcakez/ct_failure
Improve error handling in ct provider
před 10 roky
James Fish
09611f7563
Improve error handling in ct provider
před 10 roky
Tristan Sloughter
0ad833b700
Merge pull request #330 from tsloughter/wip_single_atom_deps
support single atoms for pkg deps, fetch highest version available
před 10 roky
Tristan Sloughter
4fb9207d9a
fix bug on foundapp could have bad match
před 10 roky
Tristan Sloughter
d317869a3e
clean ups from Fred's comments
před 10 roky
Tristan Sloughter
ef22eeb387
error on dep name that isn't an atom
před 10 roky
Tristan Sloughter
f88bb57cd3
Merge pull request #332 from tsloughter/warn_on_bad_include
Warn on bad use of include_lib but try to find the header anyway
před 10 roky
Tristan Sloughter
4ee7fef913
store registry fetched from disk in state
před 10 roky
Tristan Sloughter
39908fb511
Merge pull request #333 from talentdeficit/ct_root_suite_fix
disallow suites in project root
před 10 roky
alisdair sullivan
d1569a9d46
disallow suites in project root
fixes #331
před 10 roky