Tristan Sloughter
33a3a6d55a
support _checkouts overriding package dep that doesn't exist in registry
vor 9 Jahren
Yury Gargay
c3194052e7
Fix cover_spec options for ct
vor 9 Jahren
Fred Hebert
c57177fde8
Revert "Revert "only load packages when needed""
vor 9 Jahren
Fred Hebert
3f83b3a382
Revert "only load packages when needed"
vor 9 Jahren
Tristan Sloughter
dc3e8d789f
delete and prepend code path instead of replacing, fixes #770
vor 9 Jahren
Tristan Sloughter
8732b7d5bd
only load packages when needed
vor 9 Jahren
Tristan Sloughter
a81444ae1c
move otp version verification to a single app_info function
vor 9 Jahren
Tristan Sloughter
d034f40c38
move opts functions to new module rebar_opts
vor 9 Jahren
Tristan Sloughter
b2c051452e
remove overrides element from state record
vor 9 Jahren
Tristan Sloughter
a1d45c364c
use ~ts for unicode output and reset encoding to latin1
vor 9 Jahren
Tristan Sloughter
e6f6ccc757
more cleanup
vor 9 Jahren
Tristan Sloughter
c7a7b309fd
more cleanup of old state usage
vor 9 Jahren
Tristan Sloughter
a6ca5d5e25
fixes for overrides of deps
vor 9 Jahren
Tristan Sloughter
8e25a45cbb
update use of hooks and plugins with state in app_info
vor 9 Jahren
Tristan Sloughter
32d07ec076
build on already created AppInfo instead of having to do copy
vor 9 Jahren
Tristan Sloughter
3aec31f0bc
fix erl_opts to not be inherited
vor 9 Jahren
Tristan Sloughter
f209ccc2b8
remove state record from app_info record
vor 9 Jahren
Tristan Sloughter
98752aab93
wip: move state into app_info
vor 9 Jahren
alisdair sullivan
7e32efda63
default to `ebin' for `rebar3 path' command and use single space
as default seperator
vor 9 Jahren
Heinz N. Gies
f8a507191e
utf8 tree
vor 9 Jahren
Heinz N. Gies
93549dcdd6
Removed extra | for last element in tree
vor 9 Jahren
Fred Hebert
e4a5217041
Displays package caching actions
This makes it obvious where packages are cached and when the cache is
being reused.
Messages are of the form:
===> Fetching recon ({pkg,<<"recon">>,<<"2.2.0">>})
===> Downloaded package, caching as
$HOME/.cache/rebar3/hex/default/packages/recon-2.2.0.tar
and
===> Fetching recon ({pkg,<<"recon">>,<<"2.2.0">>})
===> Version cached at
$HOME/.cache/rebar3/hex/default/packages/recon-2.2.0.tar is up
to date, reusing it
vor 9 Jahren
alisdair sullivan
b9a2aa87e5
`rebar3 path' provider
prints requested paths to stdout based on current profile
vor 9 Jahren
Tristan Sloughter
af395c5bca
set parent on already fetched apps so tree works
vor 9 Jahren
Fred Hebert
01252ecce4
Use raw bytestream when writing files
This patch forces write_file_if_contents_differ/2 to use raw bytes as
when writing files. This fixes an issue where UTF-8 characters are
processed and written back as ISO-8859-1 into the file, which makes it
impossible to use UTF-8 characters in .app.src files.
vor 9 Jahren
Fred Hebert
bfd40d502b
Bump to beta-2
vor 9 Jahren
Tristan Sloughter
00a4a44547
remove replacement of home dir with ~ in update output
vor 9 Jahren
alisdair sullivan
4f16e5b7e3
symlink ct test dirs rather than copy
vor 9 Jahren
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