summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
Commit message (Collapse)AuthorAgeFilesLines
...
* set resources to empty list if non in app envTristan Sloughter2015-05-041-1/+6
|
* set resources of state in state initialize functionsTristan Sloughter2015-05-041-8/+15
|
* Merge branch 'master' into app-discover-profile-duplicationViacheslav V. Kovalev2015-05-011-2/+27
|\ | | | | | | | | Conflicts: test/rebar_profiles_SUITE.erl
| * support for 18.0+Tristan Sloughter2015-04-231-1/+1
| |
| * fix tracking of all profiles dep pathsTristan Sloughter2015-04-221-2/+13
| |
| * track and cleanup code paths for different contextsTristan Sloughter2015-04-211-0/+14
| |
* | Revert accidentially changed formattingViacheslav V. Kovalev2015-04-221-0/+1
| |
* | Get rid of rebar_utils:tup_umerge/2 patchingViacheslav Kovalev2015-04-221-3/+4
| |
* | Implement opts umerge deduplicationViacheslav Kovalev2015-04-221-1/+0
| |
* | Correctly deduplicate profiles when applyingViacheslav V. Kovalev2015-04-211-11/+18
| | | | | | | | | | Conflicts: src/rebar_state.erl
* | Do not duplicate profile when applying.Viacheslav V. Kovalev2015-04-191-1/+5
|/
* clean ups from Fred's commentsTristan Sloughter2015-04-111-1/+1
|
* store registry fetched from disk in stateTristan Sloughter2015-04-111-1/+10
|
* support single atoms for pkg deps, fetch highest version availableTristan Sloughter2015-04-111-63/+14
|
* add rebar_state:resources type specsTristan Sloughter2015-04-041-0/+2
|
* remove old apply_hooks. now provider hooks are explicitly runTristan Sloughter2015-04-041-46/+9
|
* move resource modules list to rebar_state, no longer staticTristan Sloughter2015-04-041-1/+12
|
* Merge pull request #283 from fishcakez/dial_warnsFred Hebert2015-03-251-1/+1
|\ | | | | Fix some dialyzer warnings
| * Fix dialyzer warningsJames Fish2015-03-181-1/+1
| |
* | Fix property mergingFred Hebert2015-03-241-30/+38
| | | | | | | | | | | | | | | | | | | | | | Much clearer semantics now. All lists are treated as proplists, meaning we want to: 1) allow duplicates (providers have to avoid them if they must) 2) preserve order of elements that compare equal (`a == {a, val}`) through a stable sort (so if `{a, b}` comes before `a`, we keep `{a, b}` first in the list 3) In two lists of attributes requiring a merge, we always give the 'new' profile a priority to override the default one.
* | Preserve profile order on mergeable tuple/optsFred Hebert2015-03-221-1/+57
|/ | | | | | | | | | | Rather than using the stdlib lists:umerge, we expand it to allow fuzzy matching on tuples vs. vals (`key` vs. `{key,val}`) with an overriden sort order so that two tuples or values comparing equal get a priority on the newest profile. This is a partial fix for #287 -- this current patch should be followed by a relx update to take options in order (as if they were a proplist) to complete it.
* merge rebar config opts for parent like done for profilesTristan Sloughter2015-03-111-20/+29
|
* store base opts after initialization of providersTristan Sloughter2015-03-061-0/+1
|
* apply profiles and overrides for an app's opts to the base optsTristan Sloughter2015-03-051-2/+4
|
* `add_to_profile/3` function added to `rebar_state`alisdair sullivan2015-03-021-2/+8
|
* Merge pull request #187 from tsloughter/profiles_dirTristan Sloughter2015-03-021-7/+9
|\ | | | | make base_dir for a run include the profiles in path, link to shared dep
| * copy project apps to deps output dir for compilationTristan Sloughter2015-02-281-7/+9
| |
* | don't replace non-string list with empty list in profile mergeTristan Sloughter2015-03-021-0/+7
|/
* profiles: combine lists of values for conflicting config optionsTristan Sloughter2015-02-241-3/+1
|
* WIPFred Hebert2015-02-111-2/+6
| | | | | | Test that all the correct locks are set for an upgrade run. Now to actually re-run the install deps and prove it works
* clean up create_logic_providers functionTristan Sloughter2015-02-021-9/+9
|
* support for provider_hooks in configTristan Sloughter2015-01-311-19/+37
|
* change `rebar_app_into` to `rebar_app_info` in typespecsalisdair sullivan2015-01-081-3/+3
|
* don't allow locked transitive dep to override higher level depTristan Sloughter2015-01-041-2/+2
|
* overrides working with lock except in case of adding to config after lockTristan Sloughter2015-01-011-1/+2
|
* overrides working except for transitive dep inheritance with lock fileTristan Sloughter2014-12-301-0/+39
|
* Dynamic 'do' provider for namespacesFred Hebert2014-12-211-0/+8
| | | | | | | | | | | 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.
* rewrite profilesTristan Sloughter2014-12-161-38/+35
|
* don't lose defualt deps when creating current profileTristan Sloughter2014-12-061-0/+5
|
* don't use lock file for non-defualt profile depsTristan Sloughter2014-12-061-3/+1
|
* don't store global state variables in opts dictTristan Sloughter2014-12-061-13/+29
|
* move dir functions from utils to new module rebar_dirTristan Sloughter2014-12-011-4/+4
|
* move deps_to_build out of config dict of stateTristan Sloughter2014-12-011-0/+10
|
* do not erase deps from optsTristan Sloughter2014-12-011-1/+1
|
* add use of REBAR_PROFILE os var to set default profileTristan Sloughter2014-11-301-8/+19
|
* only apply profiles to defaultTristan Sloughter2014-11-301-7/+14
|
* global plugins install to global config directoryTristan Sloughter2014-11-291-1/+6
|
* fix lock provider to work anytime it is runTristan Sloughter2014-11-291-36/+19
|
* wip: profilesTristan Sloughter2014-11-291-22/+70
|
* replace rlx_depsolver types with new package typesTristan Sloughter2014-11-221-2/+2
|