Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unicode support in all the places | Fred Hebert | 2017-08-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done through 3 main change groups: - replacing `~s` by `~ts` in format strings, so that strings that contain unicode are properly printed rather than crashing - adding the `unicode` argument to all function of the `re` module to ensure transformations on strings containing unicode data are valid instead of crashing (see issue #1302) - replacing `ec_cnv:to_binary/1` and `ec_cnv:to_list/1` with matching functions in `rebar_utils`. The last point has been done, rather than modifying and updating erlware commons, because binary and list conversions can be a contentious subject. For example, if what is being handled is actually bytes from a given binary stream, then forcing a byte-oriented interpretation of the data can corrupt it. As such, it does not appear safe to modify erlware commons' conversion functions since it may not be safe for all its users. Instead, rebar3 reimplements a subset of them (only converting atoms and chardata, ignoring numbers) with the explicit purpose of handling unicode string data. Tests were left as unchanged as possible. This may impact the ability to run rebar3's own suites in a unicode path, but respects a principle of least change for such a large patch. | ||||
* | Fix rebar3 dialyzer warnings | Fred Hebert | 2016-11-19 | 1 | -12/+19 |
| | | | | Some tricky changes in there but should be okay | ||||
* | Make sure not to dump in api mode | Heinz N. Gies | 2016-04-16 | 1 | -2/+2 |
| | |||||
* | Write rebar3.crashdump on errors | Heinz N. Gies | 2016-04-16 | 1 | -1/+2 |
| | |||||
* | Merge branch 'state' of https://github.com/saleyn/rebar3 into saleyn-state | Fred Hebert | 2016-03-01 | 1 | -0/+17 |
|\ | |||||
| * | Turn functor into a function to support older Erlang VM | Serge Aleynikov | 2016-02-08 | 1 | -11/+10 |
| | | |||||
| * | Improve recursive display of dictionary values | Serge Aleynikov | 2016-02-08 | 1 | -7/+14 |
| | | |||||
| * | Add a state display provider | Serge Aleynikov | 2016-02-08 | 1 | -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_override | Fred Hebert | 2016-02-22 | 1 | -4/+14 |
|\ \ | | | | | | | add project_providers after initing default providers but allow overrides | ||||
| * | | add project_providers after initing default providers but allow overrides | Tristan Sloughter | 2016-02-22 | 1 | -4/+14 |
| | | | |||||
* | | | 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 |
| |