Tristan Sloughter
cf8d63d860
in relx call only include deps dirs if they exist
10 years ago
Tristan Sloughter
63461b45b5
don't use lock file for non-defualt profile deps
10 years ago
Tristan Sloughter
a390419247
don't store global state variables in opts dict
10 years ago
Tristan Sloughter
571c62f732
output message when starting install_deps provider
10 years ago
Fred Hebert
be39ab9e7b
Handle cycle errors in provider
10 years ago
Fred Hebert
63003c3986
Return cycles in deps solver
10 years ago
Fred Hebert
6cfe28c954
Partial fix to circular deps ( #40 )
- Adding tests
- fixing use of set fetching to find repeated deps and prevent infinite
loops
On a circular loop rebar3 now fails with `{error, no_sort}`, which is
uncaught and should be handled to consider the issue fully fixed.
10 years ago
Tristan Sloughter
f5476e7200
if already seen dep before don't try handling it again
10 years ago
Tristan Sloughter
91860340bb
print error message for failed fetch
10 years ago
Tristan Sloughter
7cb22e4698
only create the apps dir after successful fetch
10 years ago
Tristan Sloughter
111fc9769b
merge over rebar2 PR #401
10 years ago
Tristan Sloughter
003e93e82b
change name of config for where project apps lib to project_apps_dir
10 years ago
omarkj
b649d3e254
Handle more ct_run return values.
10 years ago
Tristan Sloughter
3c7613add4
change name of config for where project apps lib to project_apps_dir
10 years ago
Tristan Sloughter
0fc8e97292
only read in rebar config and lock of dep if needed
10 years ago
Tristan Sloughter
3af351cec2
set current_profile to default after checking global plugins
10 years ago
Tristan Sloughter
31db811e98
add rebar_dir
10 years ago
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 years ago
Fred Hebert
c3d05b9724
API for Plugins (solves #22 )
- includes logging macros and turns them to functions
- exports customized types
10 years ago
Tristan Sloughter
fa71d55b0d
move deps_to_build out of config dict of state
10 years ago
Tristan Sloughter
e154b9965f
remove unneeded add path that breaks with apps/ dir as well
10 years ago
Tristan Sloughter
3386765e08
do not erase deps from opts
10 years ago
Tristan Sloughter
5673fe035d
fixes for dialyzer findings
10 years ago
Tristan Sloughter
56fdedaf72
switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the default for the run
10 years ago
Tristan Sloughter
5fdf2f82d5
add use of REBAR_PROFILE os var to set default profile
10 years ago
Tristan Sloughter
3abb122b35
only apply profiles to default
10 years ago
Tristan Sloughter
731f05cc3d
fix handle_deps when no deps are to be fetched
10 years ago
Tristan Sloughter
9afd6e89b2
global plugins install to global config directory
10 years ago
Tristan Sloughter
bdd5d902d9
fix lock provider to work anytime it is run
10 years ago
Tristan Sloughter
14cb6803e0
wip: profiles
10 years ago
Tristan Sloughter
154b70b466
properly escape paths
10 years ago
omarkj
cd2f72d2aa
Transform silent_connections well and parse
verbosity. Verbosity can be a integer but I am
parsing it as a term. This will work for integers
as well as terms.
10 years ago
omarkj
a93723189f
Correctly parse create_priv_dir.
10 years ago
omarkj
b0a48436bf
Return errors when tests fail.
10 years ago
omarkj
94e474e471
Validate the input as it comes in from the
command line by converting things to atoms and
splitting up strings where needed.
10 years ago
Tristan Sloughter
414621fb82
move rebar.hrl to src to keep private, not for use in plugins
10 years ago
Fred Hebert
45ac9eb94d
Drop search for templates in cwd
Templates should only be in ~/.rebar3/templates and the built-in ones,
bar some specific overrides someone may want.
Looking recursively for templates in the CWD (.) may end up searching
nearly forever if the project is being created at the top of a very deep
directory tree, with extremely unlikely chances to find relevant
templates.
It causes more problems than benefits.
10 years ago
Tristan Sloughter
6ec98e0b69
rename functions to be clearer
10 years ago
Tristan Sloughter
4ea12beb77
fix git resource update check, bad url comparison
10 years ago
Tristan Sloughter
4888810c69
use digraph topo sort for building
10 years ago
Tristan Sloughter
eb5c0eb424
include initial verticies in solution list
10 years ago
Tristan Sloughter
3e01e3e46d
replace rlx_depsolver types with new package types
10 years ago
Tristan Sloughter
af35d5f0a2
replace rlx_depsolver use with new rebar_digraph
10 years ago
Tristan Sloughter
f22db1302d
new dep graph working
10 years ago
Tristan Sloughter
e9b58f2775
set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compile
10 years ago
Tristan Sloughter
6c0b3f87c0
fix check for plugin being a provider
10 years ago
James Fish
e90219cb14
Fix printing of dialyzer warnings
Fixes cases where dialyzer warning might include a `~` causing printing
to console to fail with `badarg`.
10 years ago
James Fish
0bcec763ba
Fix dialyzer to work on rebar
code:lib_dir/1,2 can return archive directory for rebar escript archive
applications, rather than the application's directory in the project.
Add dependencies not listed in `applications` to `dialyzer_plt_apps`.
10 years ago
James Fish
4ee0157b96
Add configuration to hide warnings when updating plt
10 years ago
James Fish
16c9a23212
Cleanup dialyzer provider
10 years ago