Fred Hebert
2985c7bed5
Adding pkg deps tests and refactorings
- Adding tests for package deps
- Adding conflict/override warnings for package deps
- Adding cycle detection for packages
- Adding cycle detection for mixed packages+source
- Fixing internal dependency format of package resources when converted
to rebar_app_info
- normalizing level-order prioritization to be based on lexicographical
sort of app names rather than traversal order (which is undefined for
package deps)
- Fixing tests for source deps for deep cycle detection
- Fixing bugs with source deps
- Relaxed version format checks for test utils
A lot of fixes are combined in there because I didn't want to commit
non-passing code, and many bugs were found when adding the second batch
of tests as part of the original effort.
10 年前
Fred Hebert
449d6baabc
Fix error message to point to rebar3
10 年前
Fred Hebert
4116d41dca
Print warning when deps are being skipped.
The case in mind here is due to conflicts, and tests have been added for
this.
10 年前
Tristan Sloughter
9f8e6ed024
use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}
10 年前
Tristan Sloughter
bee15d62a0
version in source dep element is no longer used, support leaving it out
10 年前
Tristan Sloughter
b849b36b5e
only add lock if default profile
10 年前
Tristan Sloughter
f77cbb7f50
don't lose defualt deps when creating current profile
10 年前
Tristan Sloughter
50f384715b
in relx tar call only include deps dirs if they exist
10 年前
Tristan Sloughter
cf8d63d860
in relx call only include deps dirs if they exist
10 年前
Tristan Sloughter
63461b45b5
don't use lock file for non-defualt profile deps
10 年前
Tristan Sloughter
a390419247
don't store global state variables in opts dict
10 年前
Tristan Sloughter
571c62f732
output message when starting install_deps provider
10 年前
Fred Hebert
be39ab9e7b
Handle cycle errors in provider
10 年前
Fred Hebert
63003c3986
Return cycles in deps solver
10 年前
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 年前
Tristan Sloughter
f5476e7200
if already seen dep before don't try handling it again
10 年前
Tristan Sloughter
91860340bb
print error message for failed fetch
10 年前
Tristan Sloughter
7cb22e4698
only create the apps dir after successful fetch
10 年前
Tristan Sloughter
111fc9769b
merge over rebar2 PR #401
10 年前
Tristan Sloughter
003e93e82b
change name of config for where project apps lib to project_apps_dir
10 年前
omarkj
b649d3e254
Handle more ct_run return values.
10 年前
Tristan Sloughter
3c7613add4
change name of config for where project apps lib to project_apps_dir
10 年前
Tristan Sloughter
0fc8e97292
only read in rebar config and lock of dep if needed
10 年前
Tristan Sloughter
3af351cec2
set current_profile to default after checking global plugins
10 年前
Tristan Sloughter
31db811e98
add rebar_dir
10 年前
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 年前
Fred Hebert
c3d05b9724
API for Plugins (solves #22 )
- includes logging macros and turns them to functions
- exports customized types
10 年前
Tristan Sloughter
fa71d55b0d
move deps_to_build out of config dict of state
10 年前
Tristan Sloughter
e154b9965f
remove unneeded add path that breaks with apps/ dir as well
10 年前
Tristan Sloughter
3386765e08
do not erase deps from opts
10 年前
Tristan Sloughter
5673fe035d
fixes for dialyzer findings
10 年前
Tristan Sloughter
56fdedaf72
switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the default for the run
10 年前
Tristan Sloughter
5fdf2f82d5
add use of REBAR_PROFILE os var to set default profile
10 年前
Tristan Sloughter
3abb122b35
only apply profiles to default
10 年前
Tristan Sloughter
731f05cc3d
fix handle_deps when no deps are to be fetched
10 年前
Tristan Sloughter
9afd6e89b2
global plugins install to global config directory
10 年前
Tristan Sloughter
bdd5d902d9
fix lock provider to work anytime it is run
10 年前
Tristan Sloughter
14cb6803e0
wip: profiles
10 年前
Tristan Sloughter
154b70b466
properly escape paths
10 年前
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 年前
omarkj
a93723189f
Correctly parse create_priv_dir.
10 年前
omarkj
b0a48436bf
Return errors when tests fail.
10 年前
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 年前
Tristan Sloughter
414621fb82
move rebar.hrl to src to keep private, not for use in plugins
10 年前
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 年前
Tristan Sloughter
6ec98e0b69
rename functions to be clearer
10 年前
Tristan Sloughter
4ea12beb77
fix git resource update check, bad url comparison
10 年前
Tristan Sloughter
4888810c69
use digraph topo sort for building
10 年前
Tristan Sloughter
eb5c0eb424
include initial verticies in solution list
10 年前
Tristan Sloughter
3e01e3e46d
replace rlx_depsolver types with new package types
10 年前