Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rebar_utils:escape_chars handles quotes | Vlad Dumitrescu | 2017-03-04 | 1 | -1/+1 |
| | | | | | rebar_file_utils:cp_r uses rebar_utils:escape_chars to ensure that the file names are safe to use, but it doesn't escape double and single quotes. If the file name includes those characters, they disappear when the shell processes them and we get "file not found" errors. The main culprit here is eunit, that creates reports whose names are `TEST-file_"myfile.app".xml`, and I wish it didn't but I think escape_chars should still do its job all the way. | ||||
* | Merge pull request #1391 from ferd/doc-and-types | Fred Hebert | 2016-12-23 | 1 | -5/+18 |
|\ | | | | | Type specifications and edocs improvements | ||||
| * | Type specifications and edocs improvements | Fred Hebert | 2016-11-27 | 1 | -5/+18 |
| | | | | | | | | | | | | Includes improvments and function documentation for all modules (in alphabetical order) up to rebar_core, and may have included more in other modules as I saw fit to dig and understand more of the internals. | ||||
* | | 1394: refined export list and tests | Artem Pervin | 2016-12-01 | 1 | -2/+2 |
| | | |||||
* | | 1394: added fix for rebar_utils, moved setting of http_options into ↵ | Artem Pervin | 2016-11-30 | 1 | -3/+21 |
|/ | | | | init_config, added unit tests | ||||
* | Some post-review changes: | Alexander Sedov | 2016-10-11 | 1 | -0/+2 |
| | | | | | - restore path after loading applications, - helpful comments. | ||||
* | Rereading system configuration sets up persistent options if possible. | Alexander Sedov | 2016-10-11 | 1 | -1/+7 |
| | |||||
* | add support for passing a sys_config to common test | Tristan Sloughter | 2016-06-11 | 1 | -1/+13 |
| | |||||
* | Support ENV config for proxy values | Fred Hebert | 2016-06-11 | 1 | -1/+5 |
| | | | | | - The configured stuff in rebar3 takes precedence over the ENV - The env is then chosen | ||||
* | add user-agent to http request headers | Tristan Sloughter | 2016-02-01 | 1 | -1/+6 |
| | |||||
* | check at runtime instead of compile time for presence of `file:list_dir_all/1` | alisdair sullivan | 2016-01-13 | 1 | -5/+8 |
| | | | | | | this is slower than the compile time check but i guess packaging rebars with repos is still a thing and i think only the eunit and ct providers call it anyways | ||||
* | support temporary cdn change with HEX_CDN os var | Tristan Sloughter | 2015-12-19 | 1 | -0/+10 |
| | |||||
* | Actually fix tuple merging. | Fred Hebert | 2015-12-06 | 1 | -30/+53 |
| | | | | Full rewrite, code should be understandable now. | ||||
* | Fix tuple umerging | Fred Hebert | 2015-12-06 | 1 | -7/+18 |
| | | | | | | | | | | | | - proper segregation of comparison between tuple terms and non-tuple terms. Guards weren't specific enough and that meant the wrong clauses of guards would be triggered - proper deduplication of entries in the list. An additional N passes are required (we co-opt the reverse step to be more efficient) because while the original lists:umerge easily removes dupes, this is requiring more logic here since `[a,{a,b},{a,b,c},a,{a,b,c}]` is a possible interleaving and we'd want `[a,{a,b},{a,b,c}]` -- comparison of direct neighbours isn't enough. | ||||
* | add an option to soft purge rather than purge old code | alisdair sullivan | 2015-11-01 | 1 | -8/+10 |
| | | | | | at the cost of some SASL warnings this prevents rebar3 from terminating processes when reloading their code before running tests | ||||
* | prevent rebar3 from reloading it's own path and terminating itself | alisdair sullivan | 2015-10-31 | 1 | -1/+7 |
| | | | | | prevents code reloading by temporary marking of rebar3's ebin dir as sticky during code refresh | ||||
* | refactor `rebar_erlc_compiler` | alisdair sullivan | 2015-10-26 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | * modify compiler interface to work on either application objects or directories containing source files * compile all sources in `src_dirs` to the application `ebin` dir and all sources in `extra_src_dirs` to a directory mirroring it's position in the app's `_build` directory. for example, `apps/foo/more` would compile to `_build/default/lib/foo/more` for `extra_src_dirs` in the root of a project with multiple applications (so orphan directories that don't "belong" to an application) compile to `_build/default/extras/more` * copy directories specified in `extra_src_dirs` into the `_build` directory so tools like `ct` and `xref` that expect source to be in a particular location still work * clean compiled artifacts from all `extra_src_dirs` * alter `eunit`, `ct` and `cover` to work with the new directory structure * billions of new tests | ||||
* | update erlware_commons | Tristan Sloughter | 2015-09-19 | 1 | -0/+2 |
| | |||||
* | Merge pull request #772 from tsloughter/eunit_fix | Fred Hebert | 2015-09-05 | 1 | -1/+6 |
|\ | | | | | delete and prepend code path instead of replacing, fixes #770 | ||||
| * | delete and prepend code path instead of replacing, fixes #770 | Tristan Sloughter | 2015-09-02 | 1 | -1/+6 |
| | | |||||
* | | move opts functions to new module rebar_opts | Tristan Sloughter | 2015-09-01 | 1 | -150/+2 |
| | | |||||
* | | more cleanup | Tristan Sloughter | 2015-08-31 | 1 | -14/+20 |
| | | |||||
* | | update use of hooks and plugins with state in app_info | Tristan Sloughter | 2015-08-31 | 1 | -1/+92 |
| | | |||||
* | | build on already created AppInfo instead of having to do copy | Tristan Sloughter | 2015-08-31 | 1 | -8/+8 |
| | | |||||
* | | wip: move state into app_info | Tristan Sloughter | 2015-08-31 | 1 | -5/+23 |
|/ | |||||
* | fix no_return warnings | Tristan Sloughter | 2015-08-08 | 1 | -0/+1 |
| | |||||
* | fix dialyzer warnings, except 'no local return' warnings | Tristan Sloughter | 2015-08-08 | 1 | -1/+1 |
| | |||||
* | add tree option to deps command that prints pkg deps tree | Tristan Sloughter | 2015-08-03 | 1 | -0/+26 |
| | |||||
* | upgrade depends on the lock provider and lock prv sets state | Tristan Sloughter | 2015-08-02 | 1 | -1/+8 |
| | |||||
* | Merge pull request #652 from tsloughter/escape_and | Fred Hebert | 2015-07-29 | 1 | -3/+3 |
|\ | | | | | escape & in paths | ||||
| * | add ; to escaped chars in path | Tristan Sloughter | 2015-07-28 | 1 | -3/+3 |
| | | |||||
| * | escape & in paths | Tristan Sloughter | 2015-07-26 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #650 from tsloughter/upgrades_git_pkg_fix | Fred Hebert | 2015-07-26 | 1 | -0/+15 |
|\ \ | |/ |/| | fix upgrade of newly added pkg dep from scm locked dep | ||||
| * | fix upgrade of newly added pkg dep from scm locked dep | Tristan Sloughter | 2015-07-25 | 1 | -0/+15 |
| | | |||||
* | | Merge pull request #642 from tsloughter/validate-otp-version | Fred Hebert | 2015-07-26 | 1 | -1/+51 |
|\ \ | |/ |/| | Validate otp version | ||||
| * | add support for old format otp versions | Tristan Sloughter | 2015-07-25 | 1 | -15/+16 |
| | | |||||
| * | parse old format of OTP versions | Tristan Sloughter | 2015-07-24 | 1 | -7/+12 |
| | | |||||
| * | Add functions to validate OTP release in use | Derek Brown | 2015-07-24 | 1 | -1/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | In the spirit of Original Rebar's "require_min_otp_vsn", this adds rebar_utils:check_min_otp_version/1 (taking a string containing the minimum version) and rebar_utils:check_blacklisted_otp_versions/1 (taking a list of regular expression strings), as well as tests in rebar_utils_SUITE. They're currently only called by the tests- how/where to best place calls to them from non-test code needs to be determined (at which point two corresponding rebar.config keys can be supported). For example, the version probably shouldn't be enforced when just running "rebar3 help". | ||||
* | | support atom for branch names like rebar2 | Tristan Sloughter | 2015-07-21 | 1 | -0/+2 |
|/ | |||||
* | Escape paths and args in shell commands | Fred Hebert | 2015-07-18 | 1 | -1/+16 |
| | | | | | | | Basic escaping is done only. Fancy hex sequences are not covered, but this should otherwise take care of the most common issues. Fixes #497 | ||||
* | always close port when done with it. fixes #589 | Tristan Sloughter | 2015-07-06 | 1 | -10/+16 |
| | |||||
* | Use rebar own method to read global config file. | CarlosEDP | 2015-07-03 | 1 | -12/+4 |
| | |||||
* | Renamed functions. | CarlosEDP | 2015-07-03 | 1 | -2/+2 |
| | |||||
* | Added rebar profile to httpc initialization and calls. | CarlosEDP | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | Fix for cases with no proxy configured. | CarlosEDP | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | Get proxy vars from ~/.config/rebar3/rebar.config. Variable format is ↵ | CarlosEDP | 2015-07-03 | 1 | -48/+21 |
| | | | | {http_proxy, http://host:port} or {http_proxy, http://host:port} | ||||
* | Added support for proxy on rebar3 based on environment variables. | CarlosEDP | 2015-07-03 | 1 | -1/+53 |
| | |||||
* | Fix rebar_utils:sh on windows | Viacheslav V. Kovalev | 2015-06-26 | 1 | -5/+9 |
| | |||||
* | fix for plugin installation and code paths | Tristan Sloughter | 2015-05-27 | 1 | -0/+17 |
| | |||||
* | purge loaded code when it conflicts with project apps in tests | Tristan Sloughter | 2015-05-18 | 1 | -0/+18 |
| |