summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding pkg deps tests and refactoringsFred Hebert2014-12-162-32/+55
| | | | | | | | | | | | | | | | | | | - 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.
* Fix error message to point to rebar3Fred Hebert2014-12-151-1/+1
|
* Merge pull request #49 from rebar/skipped-deps-warningsFred Hebert2014-12-071-0/+7
|\ | | | | Print warning when deps are being skipped.
| * Print warning when deps are being skipped.Fred Hebert2014-12-071-0/+7
| | | | | | | | | | The case in mind here is due to conflicts, and tests have been added for this.
* | use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}Tristan Sloughter2014-12-071-1/+2
|/
* version in source dep element is no longer used, support leaving it outTristan Sloughter2014-12-062-5/+8
|
* only add lock if default profileTristan Sloughter2014-12-061-5/+10
|
* don't lose defualt deps when creating current profileTristan Sloughter2014-12-063-1/+8
|
* in relx tar call only include deps dirs if they existTristan Sloughter2014-12-061-4/+6
|
* in relx call only include deps dirs if they existTristan Sloughter2014-12-061-3/+5
|
* don't use lock file for non-defualt profile depsTristan Sloughter2014-12-062-9/+8
|
* don't store global state variables in opts dictTristan Sloughter2014-12-063-15/+31
|
* output message when starting install_deps providerTristan Sloughter2014-12-061-0/+1
|
* Handle cycle errors in providerFred Hebert2014-12-061-0/+8
|
* Return cycles in deps solverFred Hebert2014-12-061-1/+9
|
* Partial fix to circular deps (#40)Fred Hebert2014-12-061-3/+3
| | | | | | | | | - 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.
* if already seen dep before don't try handling it againTristan Sloughter2014-12-051-22/+27
|
* print error message for failed fetchTristan Sloughter2014-12-053-29/+12
|
* only create the apps dir after successful fetchTristan Sloughter2014-12-051-1/+2
|
* merge over rebar2 PR #401Tristan Sloughter2014-12-051-5/+1
|
* change name of config for where project apps lib to project_apps_dirTristan Sloughter2014-12-053-3/+3
|
* Merge pull request #36 from tsloughter/config_readingTristan Sloughter2014-12-052-18/+4
|\ | | | | only read in rebar config and lock of dep if needed
| * only read in rebar config and lock of dep if neededTristan Sloughter2014-12-042-18/+4
| |
* | Handle more ct_run return values.omarkj2014-12-041-5/+21
|/
* Merge pull request #32 from rebar/plugin-apiTristan Sloughter2014-12-021-0/+31
|\ | | | | API for Plugins (solves #22)
| * API for Plugins (solves #22)Fred Hebert2014-12-011-0/+31
| | | | | | | | | | - includes logging macros and turns them to functions - exports customized types
* | set current_profile to default after checking global pluginsTristan Sloughter2014-12-021-1/+1
| |
* | add rebar_dirTristan Sloughter2014-12-021-0/+104
| |
* | move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-0121-147/+46
| |
* | move deps_to_build out of config dict of stateTristan Sloughter2014-12-013-3/+14
| |
* | remove unneeded add path that breaks with apps/ dir as wellTristan Sloughter2014-12-011-1/+0
| |
* | do not erase deps from optsTristan Sloughter2014-12-011-1/+1
| |
* | fixes for dialyzer findingsTristan Sloughter2014-11-308-63/+43
| |
* | switch to REBAR_DEFAULT_PROFILE to make it clear the profile becomes the ↵Tristan Sloughter2014-11-301-1/+1
| | | | | | | | default for the run
* | add use of REBAR_PROFILE os var to set default profileTristan Sloughter2014-11-303-19/+37
| |
* | only apply profiles to defaultTristan Sloughter2014-11-302-9/+15
| |
* | fix handle_deps when no deps are to be fetchedTristan Sloughter2014-11-292-2/+1
| |
* | global plugins install to global config directoryTristan Sloughter2014-11-296-20/+38
| |
* | fix lock provider to work anytime it is runTristan Sloughter2014-11-296-154/+138
| |
* | wip: profilesTristan Sloughter2014-11-2913-166/+215
|/
* properly escape pathsTristan Sloughter2014-11-271-6/+6
|
* Transform silent_connections well and parseomarkj2014-11-261-2/+2
| | | | | | verbosity. Verbosity can be a integer but I am parsing it as a term. This will work for integers as well as terms.
* Correctly parse create_priv_dir.omarkj2014-11-261-1/+1
|
* Return errors when tests fail.omarkj2014-11-261-5/+12
|
* Validate the input as it comes in from theomarkj2014-11-261-40/+95
| | | | | command line by converting things to atoms and splitting up strings where needed.
* move rebar.hrl to src to keep private, not for use in pluginsTristan Sloughter2014-11-241-0/+45
|
* Drop search for templates in cwdFred Hebert2014-11-231-2/+1
| | | | | | | | | | | | 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.
* rename functions to be clearerTristan Sloughter2014-11-223-11/+15
|
* fix git resource update check, bad url comparisonTristan Sloughter2014-11-221-14/+27
|
* use digraph topo sort for buildingTristan Sloughter2014-11-224-215/+50
|