Tristan Sloughter
31b886e65c
don't include all */ebin dirs in code path
il y a 10 ans
Fred Hebert
b5500c7301
Merge pull request #56 from tsloughter/profile_deps
rewrite profiles
il y a 10 ans
Tristan Sloughter
3998dfb049
update readme for 'as'
il y a 10 ans
Tristan Sloughter
789761e64d
add 'as' higher order task
il y a 10 ans
Tristan Sloughter
3219a666f4
rewrite profiles
il y a 10 ans
Fred Hebert
0672fc45b7
Merge pull request #60 from rebar/test-packages
Test packages
il y a 10 ans
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.
il y a 10 ans
Fred Hebert
449d6baabc
Fix error message to point to rebar3
il y a 10 ans
Fred Hebert
69c4558383
Merge pull request #49 from rebar/skipped-deps-warnings
Print warning when deps are being skipped.
il y a 10 ans
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.
il y a 10 ans
Fred Hebert
4af9ed924e
Merge pull request #48 from tsloughter/master
use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}
il y a 10 ans
Tristan Sloughter
9f8e6ed024
use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}
il y a 10 ans
Fred Hebert
ac077e87ee
Merge pull request #47 from tsloughter/master
version in source dep element is no longer used, support leaving it out
il y a 10 ans
Tristan Sloughter
bee15d62a0
version in source dep element is no longer used, support leaving it out
il y a 10 ans
Fred Hebert
40ef004f39
Merge pull request #46 from tsloughter/master
Fixes for profiles breaking templates and installing of non-default deps
il y a 10 ans
Tristan Sloughter
b849b36b5e
only add lock if default profile
il y a 10 ans
Tristan Sloughter
f77cbb7f50
don't lose defualt deps when creating current profile
il y a 10 ans
Tristan Sloughter
2da9be8880
fix defaults for relx template
il y a 10 ans
Tristan Sloughter
50f384715b
in relx tar call only include deps dirs if they exist
il y a 10 ans
Tristan Sloughter
cf8d63d860
in relx call only include deps dirs if they exist
il y a 10 ans
Tristan Sloughter
90438fb1a3
fix relx included rebar config typo
il y a 10 ans
Tristan Sloughter
cd46f5e28c
remove relx.config from release template
il y a 10 ans
Tristan Sloughter
63461b45b5
don't use lock file for non-defualt profile deps
il y a 10 ans
Tristan Sloughter
a390419247
don't store global state variables in opts dict
il y a 10 ans
Tristan Sloughter
571c62f732
output message when starting install_deps provider
il y a 10 ans
Fred Hebert
fb98dde7ec
Merge pull request #44 from rebar/fix-circular-deps
Partial fix to circular deps (#40 )
il y a 10 ans
Fred Hebert
be39ab9e7b
Handle cycle errors in provider
il y a 10 ans
Fred Hebert
63003c3986
Return cycles in deps solver
il y a 10 ans
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.
il y a 10 ans
Fred Hebert
d5907ad9b9
Merge pull request #43 from tsloughter/seen
if already seen dep before don't try handling it again
il y a 10 ans
Tristan Sloughter
f5476e7200
if already seen dep before don't try handling it again
il y a 10 ans
Fred Hebert
018c5ceba3
Merge pull request #42 from tsloughter/master
Update error message and fix order of dir creation for deps
il y a 10 ans
Tristan Sloughter
91860340bb
print error message for failed fetch
il y a 10 ans
Tristan Sloughter
7cb22e4698
only create the apps dir after successful fetch
il y a 10 ans
Tristan Sloughter
228e96c9eb
Merge pull request #41 from tsloughter/rebar2_401
merge over rebar2 PR #401
il y a 10 ans
Tristan Sloughter
111fc9769b
merge over rebar2 PR #401
il y a 10 ans
Tristan Sloughter
003e93e82b
change name of config for where project apps lib to project_apps_dir
il y a 10 ans
Tristan Sloughter
0c2f57253d
Merge pull request #37 from tsloughter/lib_dirs
change name of config for where project apps lib to project_apps_dir
il y a 10 ans
Tristan Sloughter
859121d5d9
Merge pull request #36 from tsloughter/config_reading
only read in rebar config and lock of dep if needed
il y a 10 ans
Tristan Sloughter
fcd2ec662b
Merge pull request #38 from omarkj/omarkj-support-ct-repeates
Support a list of ct_run results
il y a 10 ans
omarkj
b649d3e254
Handle more ct_run return values.
il y a 10 ans
Tristan Sloughter
3c7613add4
change name of config for where project apps lib to project_apps_dir
il y a 10 ans
Tristan Sloughter
0fc8e97292
only read in rebar config and lock of dep if needed
il y a 10 ans
Tristan Sloughter
1a88cc2853
Merge pull request #33 from rebar/test-dep-choice
Initial tests for dependency resolving
il y a 10 ans
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
il y a 10 ans
Tristan Sloughter
da91aa3073
Merge pull request #32 from rebar/plugin-api
API for Plugins (solves #22 )
il y a 10 ans
Tristan Sloughter
3b2d9ba8c8
Merge pull request #31 from tsloughter/profiles
Profiles
il y a 10 ans
Tristan Sloughter
3af351cec2
set current_profile to default after checking global plugins
il y a 10 ans
Tristan Sloughter
31db811e98
add rebar_dir
il y a 10 ans
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
il y a 10 ans