Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1065 from tsloughter/plugin_precedence | Fred Hebert | 2016-02-21 | 1 | -2/+4 |
|\ | | | | | give top level plugin providers precedence over default providers | ||||
| * | give new opt project_plugins providers precedence over default providers | Tristan Sloughter | 2016-02-20 | 1 | -2/+4 |
| | | |||||
* | | Make lock files future-proof | Fred Hebert | 2016-02-16 | 1 | -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 Sloughter | 2015-11-23 | 1 | -1/+18 |
| | | | | provider | ||||
* | add current_app attribute for setting before calling hooks | Tristan Sloughter | 2015-09-04 | 1 | -2/+10 |
| | |||||
* | move opts functions to new module rebar_opts | Tristan Sloughter | 2015-09-01 | 1 | -3/+3 |
| | |||||
* | remove overrides element from state record | Tristan Sloughter | 2015-09-01 | 1 | -14/+0 |
| | |||||
* | more cleanup | Tristan Sloughter | 2015-08-31 | 1 | -13/+3 |
| | |||||
* | update use of hooks and plugins with state in app_info | Tristan Sloughter | 2015-08-31 | 1 | -90/+6 |
| | |||||
* | simplify package dep parsing and handling | Tristan Sloughter | 2015-08-25 | 1 | -14/+30 |
| | |||||
* | override 'deps' now automatically overrides '{deps,default}' | Tristan Sloughter | 2015-08-23 | 1 | -3/+10 |
| | |||||
* | don't store deps list with duplicate in state | Tristan Sloughter | 2015-08-22 | 1 | -16/+10 |
| | |||||
* | replace use of dict of packages and registry with single ets table | Tristan Sloughter | 2015-08-21 | 1 | -45/+7 |
| | |||||
* | this patch treats pkg and src deps as equals, so level decides winner | Tristan Sloughter | 2015-08-21 | 1 | -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 table | pvmart | 2015-08-19 | 1 | -11/+19 |
| | |||||
* | fix dialyzer warnings, except 'no local return' warnings | Tristan Sloughter | 2015-08-08 | 1 | -4/+7 |
| | |||||
* | only use upgrade on default deps | Tristan Sloughter | 2015-08-01 | 1 | -2/+2 |
| | |||||
* | add comment for global apply_profiles and log message for bad bootstrap lock ↵ | Tristan Sloughter | 2015-07-11 | 1 | -0/+3 |
| | | | | file | ||||
* | handle global plugins installing plugins to build deps | Tristan Sloughter | 2015-07-11 | 1 | -1/+7 |
| | |||||
* | error message for bad profile config | Tristan Sloughter | 2015-06-25 | 1 | -2/+12 |
| | |||||
* | plugins provider | Tristan Sloughter | 2015-06-18 | 1 | -17/+35 |
| | |||||
* | check format of config file and print the bad section in the error | Tristan Sloughter | 2015-06-18 | 1 | -9/+21 |
| | |||||
* | add config option artifacts | Tristan Sloughter | 2015-06-02 | 1 | -0/+19 |
| | |||||
* | fix for plugin installation and code paths | Tristan Sloughter | 2015-05-27 | 1 | -0/+11 |
| | |||||
* | Initialize namespace in rebar_state with default value. | Viacheslav Kovalev | 2015-05-22 | 1 | -1/+1 |
| | |||||
* | Properly initialize command parsed args in rebar state | Viacheslav V. Kovalev | 2015-05-20 | 1 | -1/+1 |
| | |||||
* | install plugins from the global config to ~/.cache/plugins | Tristan Sloughter | 2015-05-17 | 1 | -1/+4 |
| | |||||
* | set resources to empty list if non in app env | Tristan Sloughter | 2015-05-04 | 1 | -1/+6 |
| | |||||
* | set resources of state in state initialize functions | Tristan Sloughter | 2015-05-04 | 1 | -8/+15 |
| | |||||
* | Merge branch 'master' into app-discover-profile-duplication | Viacheslav V. Kovalev | 2015-05-01 | 1 | -2/+27 |
|\ | | | | | | | | | Conflicts: test/rebar_profiles_SUITE.erl | ||||
| * | support for 18.0+ | Tristan Sloughter | 2015-04-23 | 1 | -1/+1 |
| | | |||||
| * | fix tracking of all profiles dep paths | Tristan Sloughter | 2015-04-22 | 1 | -2/+13 |
| | | |||||
| * | track and cleanup code paths for different contexts | Tristan Sloughter | 2015-04-21 | 1 | -0/+14 |
| | | |||||
* | | Revert accidentially changed formatting | Viacheslav V. Kovalev | 2015-04-22 | 1 | -0/+1 |
| | | |||||
* | | Get rid of rebar_utils:tup_umerge/2 patching | Viacheslav Kovalev | 2015-04-22 | 1 | -3/+4 |
| | | |||||
* | | Implement opts umerge deduplication | Viacheslav Kovalev | 2015-04-22 | 1 | -1/+0 |
| | | |||||
* | | Correctly deduplicate profiles when applying | Viacheslav V. Kovalev | 2015-04-21 | 1 | -11/+18 |
| | | | | | | | | | | Conflicts: src/rebar_state.erl | ||||
* | | Do not duplicate profile when applying. | Viacheslav V. Kovalev | 2015-04-19 | 1 | -1/+5 |
|/ | |||||
* | clean ups from Fred's comments | Tristan Sloughter | 2015-04-11 | 1 | -1/+1 |
| | |||||
* | store registry fetched from disk in state | Tristan Sloughter | 2015-04-11 | 1 | -1/+10 |
| | |||||
* | support single atoms for pkg deps, fetch highest version available | Tristan Sloughter | 2015-04-11 | 1 | -63/+14 |
| | |||||
* | add rebar_state:resources type specs | Tristan Sloughter | 2015-04-04 | 1 | -0/+2 |
| | |||||
* | remove old apply_hooks. now provider hooks are explicitly run | Tristan Sloughter | 2015-04-04 | 1 | -46/+9 |
| | |||||
* | move resource modules list to rebar_state, no longer static | Tristan Sloughter | 2015-04-04 | 1 | -1/+12 |
| | |||||
* | Merge pull request #283 from fishcakez/dial_warns | Fred Hebert | 2015-03-25 | 1 | -1/+1 |
|\ | | | | | Fix some dialyzer warnings | ||||
| * | Fix dialyzer warnings | James Fish | 2015-03-18 | 1 | -1/+1 |
| | | |||||
* | | Fix property merging | Fred Hebert | 2015-03-24 | 1 | -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/opts | Fred Hebert | 2015-03-22 | 1 | -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 profiles | Tristan Sloughter | 2015-03-11 | 1 | -20/+29 |
| | |||||
* | store base opts after initialization of providers | Tristan Sloughter | 2015-03-06 | 1 | -0/+1 |
| |