Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Work around OTP-21 deprecation of get_stacktrace() | Fred Hebert | 2018-05-03 | 1 | -2/+2 |
| | | | | Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783 | ||||
* | Unicode support in all the places | Fred Hebert | 2017-08-06 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Use rm_rf instead of ec_file:delete. | Benedikt Reinartz | 2017-05-17 | 1 | -1/+1 |
| | | | | | | In contrast to `ec_file:delete`, `rebar_file_utils:rm_rf` will also delete write-protected files on Windows which is needed for git object files. Fixes #1483. | ||||
* | Validate checksums expected vs obtained | Fred Hebert | 2016-05-24 | 1 | -0/+6 |
| | |||||
* | improve error messages for packages by checking its existance before fetching | Tristan Sloughter | 2015-08-23 | 1 | -0/+2 |
| | |||||
* | io_lib:format/2 will throw badarg when trying to print ↵ | Stefan Grundmann | 2015-05-19 | 1 | -1/+1 |
| | | | | rebar_resource:resource() as string | ||||
* | add bad_download error | Tristan Sloughter | 2015-05-12 | 1 | -0/+2 |
| | |||||
* | wrap fetch errors in rebar_fetch PRV_ERROR | Tristan Sloughter | 2015-05-12 | 1 | -3/+5 |
| | |||||
* | throw errors returned by resource:download/3 | Tristan Sloughter | 2015-05-12 | 1 | -12/+22 |
| | |||||
* | Ad-hoc attempt at restructuring pkg cache | Fred Hebert | 2015-05-12 | 1 | -44/+7 |
| | |||||
* | check md5sum of package against that sent by s3 | Tristan Sloughter | 2015-05-12 | 1 | -0/+4 |
| | |||||
* | verify checksums of hex packages | Tristan Sloughter | 2015-05-12 | 1 | -11/+37 |
| | |||||
* | store hex package downloads in shared cache dir | Tristan Sloughter | 2015-05-12 | 1 | -10/+5 |
| | |||||
* | move resource modules list to rebar_state, no longer static | Tristan Sloughter | 2015-04-04 | 1 | -22/+21 |
| | |||||
* | use rebar_file_utils:mv instead of copy for fetched source | Tristan Sloughter | 2015-03-03 | 1 | -2/+8 |
| | |||||
* | Support mercurial (hg) dependencies | Fred Hebert | 2015-02-25 | 1 | -1/+2 |
| | |||||
* | replace package management with hex.pm | Tristan Sloughter | 2015-02-17 | 1 | -12/+15 |
| | |||||
* | Change mock_pkg_resource to create ebin directory | Kelly McLaughlin | 2015-02-06 | 1 | -6/+1 |
| | | | | | | | | | Change mock_pkg_resource to use rebar_test_utils:create_empty_app so that an ebin directory is created which is a good expectation for a package. Also revert the check in rebar_fetch:download_source to check for an ebin directory before adding it to the code path for package installs. If a package does not have an ebin directory it is probably a good for an exception to be thrown. | ||||
* | Ensure package ebin directory exists prior to adding to code path | Kelly McLaughlin | 2015-02-06 | 1 | -1/+6 |
| | |||||
* | Add packages to code path after installation | Kelly McLaughlin | 2015-02-06 | 1 | -0/+1 |
| | | | | | | | | Fix a bug where packages are not added to the code path after installation. Dependent applications that build from source are not affected by this issue since the build_apps function in rebar_prv_compiler takes care of the code path changes for them. It is only the precompiled packages that suffer from this issue. | ||||
* | print error message for failed fetch | Tristan Sloughter | 2014-12-05 | 1 | -2/+7 |
| | |||||
* | only create the apps dir after successful fetch | Tristan Sloughter | 2014-12-05 | 1 | -1/+2 |
| | |||||
* | fixes for dialyzer findings | Tristan Sloughter | 2014-11-30 | 1 | -19/+24 |
| | |||||
* | fix lock provider to work anytime it is run | Tristan Sloughter | 2014-11-29 | 1 | -39/+27 |
| | |||||
* | support branch/tag/ref-less git deps | Tristan Sloughter | 2014-11-05 | 1 | -0/+2 |
| | |||||
* | install test deps to separate directory | Tristan Sloughter | 2014-11-04 | 1 | -1/+6 |
| | |||||
* | add pkg resource | Tristan Sloughter | 2014-11-02 | 1 | -3/+8 |
| | |||||
* | verify checked out dep is the same as specified in the config and update if not | Tristan Sloughter | 2014-11-01 | 1 | -3/+17 |
| | |||||
* | dynamicly find module for fullfilling dependency | Tristan Sloughter | 2014-11-01 | 1 | -13/+47 |
| | |||||
* | create rebar_resource behaviour and create git resource | Tristan Sloughter | 2014-10-30 | 1 | -237/+6 |
| | |||||
* | getting closer | Tristan Sloughter | 2014-09-26 | 1 | -4/+6 |
| | |||||
* | move locking to a provider | Tristan Sloughter | 2014-09-02 | 1 | -8/+10 |
| | |||||
* | remove more code that can be brought back later if needed | Tristan Sloughter | 2014-08-30 | 1 | -3/+4 |
| | |||||
* | update package index url and README list of tasks | Tristan Sloughter | 2014-08-27 | 1 | -1/+1 |
| | |||||
* | fix up tarball extraction path and parse goal constraints | Tristan Sloughter | 2014-08-25 | 1 | -6/+11 |
| | |||||
* | improved dep handling and add package list task | Tristan Sloughter | 2014-08-24 | 1 | -60/+58 |
| | |||||
* | refactoring and remove unused providers for now | Tristan Sloughter | 2014-08-23 | 1 | -1/+8 |
| | |||||
* | large refactoring | Tristan Sloughter | 2014-08-16 | 1 | -0/+247 |
Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands |