Tristan Sloughter
37a2025906
don't allow locked transitive dep to override higher level dep
10 years ago
Tristan Sloughter
872e741972
use level in lock file so changes to config don't change outcome of run
10 years ago
alisdair sullivan
5885332e27
point compiler to the right config value for which files need to be
compiled first
10 years ago
Tristan Sloughter
8168c1f4f9
overrides working with lock except in case of adding to config after lock
10 years ago
Tristan Sloughter
d1692efdf5
overrides working except for transitive dep inheritance with lock file
10 years ago
alisdair sullivan
5f0b86e36c
remove no longer relevant test machinery in rebar_erlc_compiler
10 years ago
Tristan Sloughter
91d297cf8a
update plugin install code
10 years ago
Tristan Sloughter
b4c579b80d
include providers listed in plugins env
10 years ago
Tristan Sloughter
56b36a37fc
include project app dirs in release lib_dirs to search
10 years ago
Fred Hebert
d25838ff69
Add support for custom templates in subdirectories
- Includes tests for templates and their application
10 years ago
Tristan Sloughter
9a8b1b3290
update erlydtl provider to use namespaces
10 years ago
Fred Hebert
54a41ca6c4
Tests and fixes for namespaces
10 years ago
Fred Hebert
73676c80b0
Fix up programmatic interface to rebar3
Now supports arbitrary commands
10 years ago
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.
10 years ago
Fred Hebert
ae54d70e6c
Add support for namespace-based metacommands
And more general namespace support
10 years ago
Fred Hebert
c25fbab1c6
Remove profile declarations
No longer needed.
10 years ago
James Fish
fac7b627f5
Ensure dir for plt exists when copying
10 years ago
Tristan Sloughter
31b886e65c
don't include all */ebin dirs in code path
10 years ago
Tristan Sloughter
3998dfb049
update readme for 'as'
10 years ago
Tristan Sloughter
789761e64d
add 'as' higher order task
10 years ago
Tristan Sloughter
3219a666f4
rewrite profiles
10 years ago
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 years ago
Fred Hebert
449d6baabc
Fix error message to point to rebar3
10 years ago
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 years ago
Tristan Sloughter
9f8e6ed024
use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}
10 years ago
Tristan Sloughter
bee15d62a0
version in source dep element is no longer used, support leaving it out
10 years ago
Tristan Sloughter
b849b36b5e
only add lock if default profile
10 years ago
Tristan Sloughter
f77cbb7f50
don't lose defualt deps when creating current profile
10 years ago
Tristan Sloughter
50f384715b
in relx tar call only include deps dirs if they exist
10 years ago
Tristan Sloughter
cf8d63d860
in relx call only include deps dirs if they exist
10 years ago
Tristan Sloughter
63461b45b5
don't use lock file for non-defualt profile deps
10 years ago
Tristan Sloughter
a390419247
don't store global state variables in opts dict
10 years ago
Tristan Sloughter
571c62f732
output message when starting install_deps provider
10 years ago
Fred Hebert
be39ab9e7b
Handle cycle errors in provider
10 years ago
Fred Hebert
63003c3986
Return cycles in deps solver
10 years ago
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 years ago
Tristan Sloughter
f5476e7200
if already seen dep before don't try handling it again
10 years ago
Tristan Sloughter
91860340bb
print error message for failed fetch
10 years ago
Tristan Sloughter
7cb22e4698
only create the apps dir after successful fetch
10 years ago
Tristan Sloughter
111fc9769b
merge over rebar2 PR #401
10 years ago
Tristan Sloughter
003e93e82b
change name of config for where project apps lib to project_apps_dir
10 years ago
omarkj
b649d3e254
Handle more ct_run return values.
10 years ago
Tristan Sloughter
3c7613add4
change name of config for where project apps lib to project_apps_dir
10 years ago
Tristan Sloughter
0fc8e97292
only read in rebar config and lock of dep if needed
10 years ago
Tristan Sloughter
3af351cec2
set current_profile to default after checking global plugins
10 years ago
Tristan Sloughter
31db811e98
add rebar_dir
10 years ago
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 years ago
Fred Hebert
c3d05b9724
API for Plugins (solves #22 )
- includes logging macros and turns them to functions
- exports customized types
10 years ago
Tristan Sloughter
fa71d55b0d
move deps_to_build out of config dict of state
10 years ago
Tristan Sloughter
e154b9965f
remove unneeded add path that breaks with apps/ dir as well
10 years ago