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 år sedan
Fred Hebert
d5907ad9b9
Merge pull request #43 from tsloughter/seen
if already seen dep before don't try handling it again
10 år sedan
Tristan Sloughter
f5476e7200
if already seen dep before don't try handling it again
10 år sedan
Fred Hebert
018c5ceba3
Merge pull request #42 from tsloughter/master
Update error message and fix order of dir creation for deps
10 år sedan
Tristan Sloughter
91860340bb
print error message for failed fetch
10 år sedan
Tristan Sloughter
7cb22e4698
only create the apps dir after successful fetch
10 år sedan
Tristan Sloughter
228e96c9eb
Merge pull request #41 from tsloughter/rebar2_401
merge over rebar2 PR #401
10 år sedan
Tristan Sloughter
111fc9769b
merge over rebar2 PR #401
10 år sedan
Tristan Sloughter
003e93e82b
change name of config for where project apps lib to project_apps_dir
10 år sedan
Tristan Sloughter
0c2f57253d
Merge pull request #37 from tsloughter/lib_dirs
change name of config for where project apps lib to project_apps_dir
10 år sedan
Tristan Sloughter
859121d5d9
Merge pull request #36 from tsloughter/config_reading
only read in rebar config and lock of dep if needed
10 år sedan
Tristan Sloughter
fcd2ec662b
Merge pull request #38 from omarkj/omarkj-support-ct-repeates
Support a list of ct_run results
10 år sedan
omarkj
b649d3e254
Handle more ct_run return values.
10 år sedan
Tristan Sloughter
3c7613add4
change name of config for where project apps lib to project_apps_dir
10 år sedan
Tristan Sloughter
0fc8e97292
only read in rebar config and lock of dep if needed
10 år sedan
Tristan Sloughter
1a88cc2853
Merge pull request #33 from rebar/test-dep-choice
Initial tests for dependency resolving
10 år sedan
Fred Hebert
c34e15c2f2
Initial tests for dependency resolving
- Reworked the helpers for existing suites and expanded them
- Created a mock git resource module to test for its dependency fetching
- Added a test suite for dependency resolving with first checks for
common cases (https://gist.github.com/ferd/197cc5c0b85aae370436 )
Left to do would include:
- Verify warnings
- Verify failures
- Verify dependency updates resolving
10 år sedan
Tristan Sloughter
da91aa3073
Merge pull request #32 from rebar/plugin-api
API for Plugins (solves #22 )
10 år sedan
Tristan Sloughter
3b2d9ba8c8
Merge pull request #31 from tsloughter/profiles
Profiles
10 år sedan
Tristan Sloughter
3af351cec2
set current_profile to default after checking global plugins
10 år sedan
Tristan Sloughter
31db811e98
add rebar_dir
10 år sedan
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 år sedan
Fred Hebert
c3d05b9724
API for Plugins (solves #22 )
- includes logging macros and turns them to functions
- exports customized types
10 år sedan
Tristan Sloughter
fa71d55b0d
move deps_to_build out of config dict of state
10 år sedan
Tristan Sloughter
e154b9965f
remove unneeded add path that breaks with apps/ dir as well
10 år sedan
Tristan Sloughter
3386765e08
do not erase deps from opts
10 år sedan
Tristan Sloughter
5673fe035d
fixes for dialyzer findings
10 år sedan
Tristan Sloughter
c4ee53c8bc
move relx config into rebar config and add prod profile
10 år sedan
Tristan Sloughter
56fdedaf72
switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the default for the run
10 år sedan
Tristan Sloughter
5fdf2f82d5
add use of REBAR_PROFILE os var to set default profile
10 år sedan
Tristan Sloughter
3abb122b35
only apply profiles to default
10 år sedan
Tristan Sloughter
d6e16325f0
revert test changes to rebar.config
10 år sedan
Tristan Sloughter
c705f9eff9
fix plugin docs: no longer splitting src and pkg deps in state
10 år sedan
Tristan Sloughter
fc2089aecf
start of breaking out test code for ease of checks
10 år sedan
Tristan Sloughter
731f05cc3d
fix handle_deps when no deps are to be fetched
10 år sedan
Tristan Sloughter
9afd6e89b2
global plugins install to global config directory
10 år sedan
Tristan Sloughter
bdd5d902d9
fix lock provider to work anytime it is run
10 år sedan
Tristan Sloughter
14cb6803e0
wip: profiles
10 år sedan
Fred Hebert
8d655d3c50
Merge pull request #28 from tsloughter/paths
properly escape paths
10 år sedan
Tristan Sloughter
154b70b466
properly escape paths
10 år sedan
Tristan Sloughter
572b2f5ecb
Merge pull request #26 from omarkj/omarkj-fix-ct-options
Transform rebar3 ct input
10 år sedan
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 år sedan
omarkj
a93723189f
Correctly parse create_priv_dir.
10 år sedan
omarkj
b0a48436bf
Return errors when tests fail.
10 år sedan
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 år sedan
Fred Hebert
8792c54883
Merge pull request #21 from tsloughter/master
update provider template for changes to format_error/1
10 år sedan
Tristan Sloughter
414621fb82
move rebar.hrl to src to keep private, not for use in plugins
10 år sedan
Tristan Sloughter
2e0ea8f8d2
update plugins doc to remove include of rebar header
10 år sedan
Tristan Sloughter
6914429bc6
remove include of rebar header from plugin template
10 år sedan
Tristan Sloughter
4002e57141
add .rebar3 to gitignore
10 år sedan