summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
Commit message (Collapse)AuthorAgeFilesLines
* Fix rebar3 dialyzer warningsFred Hebert2016-11-191-12/+19
| | | | Some tricky changes in there but should be okay
* Make sure not to dump in api modeHeinz N. Gies2016-04-161-2/+2
|
* Write rebar3.crashdump on errorsHeinz N. Gies2016-04-161-1/+2
|
* Merge branch 'state' of https://github.com/saleyn/rebar3 into saleyn-stateFred Hebert2016-03-011-0/+17
|\
| * Turn functor into a function to support older Erlang VMSerge Aleynikov2016-02-081-11/+10
| |
| * Improve recursive display of dictionary valuesSerge Aleynikov2016-02-081-7/+14
| |
| * Add a state display providerSerge Aleynikov2016-02-081-0/+10
| | | | | | | | | | | | | | The provider is used for debugging to help displaying current rebar's state. Usage: rebar3 state
* | Merge pull request #1075 from tsloughter/plugin_overrideFred Hebert2016-02-221-4/+14
|\ \ | | | | | | add project_providers after initing default providers but allow overrides
| * | add project_providers after initing default providers but allow overridesTristan Sloughter2016-02-221-4/+14
| | |
* | | Merge pull request #1065 from tsloughter/plugin_precedenceFred Hebert2016-02-211-2/+4
|\ \ \ | |/ / | | | give top level plugin providers precedence over default providers
| * | give new opt project_plugins providers precedence over default providersTristan Sloughter2016-02-201-2/+4
| |/
* | Make lock files future-proofFred Hebert2016-02-161-4/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | Changes to how hex or packages may work in the future will necessarily bring changes to the format of lock files. This commit adds an optional framing for future lock files of the form: {Version, LockList}. <Whatever consultable attributes> This format is supported such as the LockList is the current lockfile contents, and will never have more information than it currently does. Attributes can be whatever and are currently undefined. Rebar copies will be able to: - Keep using the core locklist (which avoids breaking the last year or so of community libraries using rebar3) - Warn when it runs an outdated copy in comparison to the lock file - Automatically rewrite lock files in the format it supports - Augment or parse files in a version-specific manner. This changes the usage interface slightly, but is backwards *and* forwards compatible.
* if a provider of the same namespace and name already exists, skip adding new ↵Tristan Sloughter2015-11-231-1/+18
| | | | provider
* add current_app attribute for setting before calling hooksTristan Sloughter2015-09-041-2/+10
|
* move opts functions to new module rebar_optsTristan Sloughter2015-09-011-3/+3
|
* remove overrides element from state recordTristan Sloughter2015-09-011-14/+0
|
* more cleanupTristan Sloughter2015-08-311-13/+3
|
* update use of hooks and plugins with state in app_infoTristan Sloughter2015-08-311-90/+6
|
* 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
|