summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
Commit message (Collapse)AuthorAgeFilesLines
* simplify package dep parsing and handlingTristan Sloughter2015-08-251-14/+30
|
* override 'deps' now automatically overrides '{deps,default}'Tristan Sloughter2015-08-231-3/+10
|
* don't store deps list with duplicate in stateTristan Sloughter2015-08-221-16/+10
|
* replace use of dict of packages and registry with single ets tableTristan Sloughter2015-08-211-45/+7
|
* this patch treats pkg and src deps as equals, so level decides winnerTristan Sloughter2015-08-211-4/+13
| | | | | | | | Instead fetching and resolving src deps (which could depend on pkg deps) and then pkg deps this patch combines the two into a single set of iterations by level. The only difference between src and pkg deps in this new install_deps is how their deps list is found -- from the config or lock file for src deps and from the neighbors of the vertex for pkg.
* fix leaking hex_registry tablepvmart2015-08-191-11/+19
|
* fix dialyzer warnings, except 'no local return' warningsTristan Sloughter2015-08-081-4/+7
|
* only use upgrade on default depsTristan Sloughter2015-08-011-2/+2
|
* add comment for global apply_profiles and log message for bad bootstrap lock ↵Tristan Sloughter2015-07-111-0/+3
| | | | file
* handle global plugins installing plugins to build depsTristan Sloughter2015-07-111-1/+7
|
* error message for bad profile configTristan Sloughter2015-06-251-2/+12
|
* plugins providerTristan Sloughter2015-06-181-17/+35
|
* check format of config file and print the bad section in the errorTristan Sloughter2015-06-181-9/+21
|
* add config option artifactsTristan Sloughter2015-06-021-0/+19
|
* fix for plugin installation and code pathsTristan Sloughter2015-05-271-0/+11
|
* Initialize namespace in rebar_state with default value.Viacheslav Kovalev2015-05-221-1/+1
|
* Properly initialize command parsed args in rebar stateViacheslav V. Kovalev2015-05-201-1/+1
|
* install plugins from the global config to ~/.cache/pluginsTristan Sloughter2015-05-171-1/+4
|
* 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
|