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
pvmart
278c0bdfa5
fix leaking ets tables caused by digraphs
9 years ago
Tristan Sloughter
ad463398dc
use correct rebar_state for a dep, not the top level state
9 years ago
Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
9 years ago
Tristan Sloughter
cf22c7e941
track the parent of umbrella app dependencies
9 years ago
alisdair sullivan
2ac834367b
improve `--help' documentation for eunit provider
9 years ago
Tristan Sloughter
be4ae19fec
track parent app of deps and add tree provider to display the relations
9 years ago
alisdair sullivan
d6a011981e
add support for `rebar3 eunit --file=...'
9 years ago
Tristan Sloughter
aac4fa0e3c
only lock when running in the default profile
9 years ago
Tristan Sloughter
ab92f1a292
install package deps in same level/profile order as src deps
9 years ago
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.
10 years ago
James Fish
fc6cc368c3
Fix some unknown functions/types dialyzer warnings
10 years ago
Tristan Sloughter
ecf6ad5524
fix no_return warnings
10 years ago
Tristan Sloughter
6fde1748b9
fix dialyzer warnings, except 'no local return' warnings
10 years ago
Fred Hebert
28a3f9849b
Detect missing EPMD, error, fallback and advise.
10 years ago
Tristan Sloughter
4bcab8ef96
add to deps tree help message that only packages are supported
10 years ago
Tristan Sloughter
125ff06b74
add tree option to deps command that prints pkg deps tree
10 years ago
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."
10 years ago
Tristan Sloughter
6d01729c68
upgrade depends on the lock provider and lock prv sets state
10 years ago
Tristan Sloughter
c7bb13f29b
keep correct Level for pkg deps of scm deps
10 years ago
Tristan Sloughter
8b24b49739
only use upgrade on default deps
10 years ago