Tristan Sloughter
37a2025906
don't allow locked transitive dep to override higher level dep
il y a 10 ans
Tristan Sloughter
872e741972
use level in lock file so changes to config don't change outcome of run
il y a 10 ans
alisdair sullivan
5885332e27
point compiler to the right config value for which files need to be
compiled first
il y a 10 ans
Tristan Sloughter
8168c1f4f9
overrides working with lock except in case of adding to config after lock
il y a 10 ans
Tristan Sloughter
d1692efdf5
overrides working except for transitive dep inheritance with lock file
il y a 10 ans
alisdair sullivan
5f0b86e36c
remove no longer relevant test machinery in rebar_erlc_compiler
il y a 10 ans
Tristan Sloughter
91d297cf8a
update plugin install code
il y a 10 ans
Tristan Sloughter
b4c579b80d
include providers listed in plugins env
il y a 10 ans
Tristan Sloughter
56b36a37fc
include project app dirs in release lib_dirs to search
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
9a8b1b3290
update erlydtl provider to use 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
James Fish
fac7b627f5
Ensure dir for plt exists when copying
il y a 10 ans
Tristan Sloughter
31b886e65c
don't include all */ebin dirs in code path
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
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
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
Tristan Sloughter
9f8e6ed024
use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}
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
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
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
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
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
Tristan Sloughter
f5476e7200
if already seen dep before don't try handling it again
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
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
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
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
Fred Hebert
c3d05b9724
API for Plugins (solves #22 )
- includes logging macros and turns them to functions
- exports customized types
il y a 10 ans
Tristan Sloughter
fa71d55b0d
move deps_to_build out of config dict of state
il y a 10 ans
Tristan Sloughter
e154b9965f
remove unneeded add path that breaks with apps/ dir as well
il y a 10 ans