Fred Hebert
cd62810431
Merge pull request #72 from rebar/template-tests-subdirs
Add support for custom templates in subdirectories
il y a 10 ans
Fred Hebert
d25838ff69
Add support for custom templates in subdirectories
- Includes tests for templates and their application
il y a 10 ans
Tristan Sloughter
e81e6d2e31
Merge pull request #71 from tsloughter/master
add erlydtl namespace
il y a 10 ans
Tristan Sloughter
afdc62409e
set deps back to tsloughter/providers and erlware/relx
il y a 10 ans
Tristan Sloughter
9a8b1b3290
update erlydtl provider to use namespaces
il y a 10 ans
Tristan Sloughter
3aeb76c10b
Merge pull request #70 from rebar/provider-namespaces
Provider namespaces
il y a 10 ans
Fred Hebert
54a41ca6c4
Tests and fixes for namespaces
il y a 10 ans
Fred Hebert
73676c80b0
Fix up programmatic interface to rebar3
Now supports arbitrary commands
il y a 10 ans
Fred Hebert
676f2487ad
Dynamic 'do' provider for namespaces
Using a namespace such as 'rebar3 lfe new' will look for the 'new'
command in 'lfe' namespace without the need for a 'do' provider to be
registered in that namespace.
Manually checked that 'rebar3 as <profile> <namespace> command' works,
as well with 'default' and 'do'.
Test suite still needed.
il y a 10 ans
Fred Hebert
ae54d70e6c
Add support for namespace-based metacommands
And more general namespace support
il y a 10 ans
Fred Hebert
c25fbab1c6
Remove profile declarations
No longer needed.
il y a 10 ans
Fred Hebert
2f5d54aacb
Merge pull request #67 from tsloughter/master
add two cool dudes to the THANKS
il y a 10 ans
Tristan Sloughter
196cf56ba2
add two cool dudes to the THANKS
il y a 10 ans
Tristan Sloughter
0374200e58
Merge pull request #65 from fishcakez/plt_copy_lib
Ensure dir for plt exists when copying.
il y a 10 ans
James Fish
fac7b627f5
Ensure dir for plt exists when copying
il y a 10 ans
Fred Hebert
b29631bd92
Merge pull request #61 from tsloughter/master
don't include all */ebin dirs in code path
il y a 10 ans
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