Tristan Sloughter
cfd4beb99d
hooks/artifacts are always run/resolved from an app unless at top of umbrella
9 years ago
Tristan Sloughter
8c7bed454d
add current_app attribute for setting before calling hooks
9 years ago
Tristan Sloughter
33a3a6d55a
support _checkouts overriding package dep that doesn't exist in registry
9 years ago
Yury Gargay
c3194052e7
Fix cover_spec options for ct
9 years ago
Fred Hebert
c57177fde8
Revert "Revert "only load packages when needed""
9 years ago
Fred Hebert
3f83b3a382
Revert "only load packages when needed"
9 years ago
Tristan Sloughter
dc3e8d789f
delete and prepend code path instead of replacing, fixes #770
9 years ago
Tristan Sloughter
8732b7d5bd
only load packages when needed
9 years ago
Tristan Sloughter
a81444ae1c
move otp version verification to a single app_info function
9 years ago
Tristan Sloughter
d034f40c38
move opts functions to new module rebar_opts
9 years ago
Tristan Sloughter
b2c051452e
remove overrides element from state record
9 years ago
Tristan Sloughter
a1d45c364c
use ~ts for unicode output and reset encoding to latin1
9 years ago
Tristan Sloughter
e6f6ccc757
more cleanup
9 years ago
Tristan Sloughter
c7a7b309fd
more cleanup of old state usage
9 years ago
Tristan Sloughter
a6ca5d5e25
fixes for overrides of deps
9 years ago
Tristan Sloughter
8e25a45cbb
update use of hooks and plugins with state in app_info
9 years ago
Tristan Sloughter
32d07ec076
build on already created AppInfo instead of having to do copy
9 years ago
Tristan Sloughter
3aec31f0bc
fix erl_opts to not be inherited
9 years ago
Tristan Sloughter
f209ccc2b8
remove state record from app_info record
9 years ago
Tristan Sloughter
98752aab93
wip: move state into app_info
9 years ago
alisdair sullivan
7e32efda63
default to `ebin' for `rebar3 path' command and use single space
as default seperator
9 years ago
Heinz N. Gies
f8a507191e
utf8 tree
9 years ago
Heinz N. Gies
93549dcdd6
Removed extra | for last element in tree
9 years ago
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
9 years ago
alisdair sullivan
b9a2aa87e5
`rebar3 path' provider
prints requested paths to stdout based on current profile
9 years ago
Tristan Sloughter
af395c5bca
set parent on already fetched apps so tree works
9 years ago
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.
9 years ago
Fred Hebert
bfd40d502b
Bump to beta-2
9 years ago
Tristan Sloughter
00a4a44547
remove replacement of home dir with ~ in update output
9 years ago
alisdair sullivan
4f16e5b7e3
symlink ct test dirs rather than copy
9 years ago
Tristan Sloughter
0a4509f5b0
simplify package dep parsing and handling
9 years ago
Tristan Sloughter
d67a5bce52
fix pkgs provider output for new package index format
9 years ago
Tristan Sloughter
f2547a457f
support pkg attribute on dep to declare package name different from app name
9 years ago
Tristan Sloughter
2e931f29f4
don't error on upgrade if user removes top level dep
9 years ago
Tristan Sloughter
aa5a8829b5
add error message for dependency that doesn't contain single app dir
9 years ago
Tristan Sloughter
f2f63013fe
override 'deps' now automatically overrides '{deps,default}'
9 years ago
Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
9 years ago
Tristan Sloughter
391959dae8
use 'default' for default hex repo path in cache and include in info messages
9 years ago
Tristan Sloughter
3c92505d49
don't store deps list with duplicate in state
9 years ago
Tristan Sloughter
1aa79082de
update erlcinfo on disk if source file removed
9 years ago
Tristan Sloughter
86e4c5d5ef
do not override user cli supplied outputdir for relx
9 years ago
Tristan Sloughter
e336d7aaa1
remove unneeded packages ets table load/unload in plugins
9 years ago
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
9 years ago
Tristan Sloughter
6242c81554
include rebar3 in supported packages buildtool
9 years ago
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.
9 years ago
pvmart
1f725ffdfc
fix leaking hex_registry table
9 years ago
pvmart
a100be9a91
fix leaking ets tables when compilation failed
9 years ago
Tristan Sloughter
070f828e10
properly update locks for deps and ignore skip messages for locks
9 years ago
Tristan Sloughter
e941e170e4
small refactorings per Fred comments
9 years ago
Tristan Sloughter
1f72ddf042
remove commented out code
9 years ago