Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unicode support in all the places | Fred Hebert | 2017-08-06 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | change package version warning to debug | Tristan Sloughter | 2017-03-02 | 1 | -2/+2 |
| | |||||
* | expect the `missing_package` error to have arity 2 or 3 | Nathaniel Waisbrot | 2016-11-23 | 1 | -1/+1 |
| | |||||
* | Support package hashes in structure and lockfile | Fred Hebert | 2016-05-24 | 1 | -1/+1 |
| | | | | | | | | | - the internal representation for package locks moves from `{Name, {pkg, PkgName, Vsn}, Lvl}` to `{Name, {pkg, PkgName, Vsn, Hash}, Lvl}` - the internal representation for packages moves from `{pkg, PkgName, Vsn}` to `{pkg, PkgName, Vsn, Hash}` - the hash can be `undefined`, meaning no check will be done - no checking is done yet. | ||||
* | fix auto-registry update to work even when not a locked pkg-vsn | Tristan Sloughter | 2016-02-28 | 1 | -7/+32 |
| | |||||
* | Add more hex rules so they don't throw errors | Heinz N. Gies | 2016-02-22 | 1 | -11/+29 |
| | | | | | | | | | | Add more version constraints Allow for any number of whitespaces after compairison opperator Improve updating and error printing Fix failing tests | ||||
* | support temporary cdn change with HEX_CDN os var | Tristan Sloughter | 2015-12-19 | 1 | -12/+21 |
| | |||||
* | auto-update the registry if a pkg isn't found, fail if it still isn't found | Tristan Sloughter | 2015-11-29 | 1 | -4/+28 |
| | |||||
* | fix typo of guarantee. h/t evan | Tristan Sloughter | 2015-11-12 | 1 | -1/+1 |
| | |||||
* | hooks/artifacts are always run/resolved from an app unless at top of umbrella | Tristan Sloughter | 2015-09-06 | 1 | -1/+1 |
| | |||||
* | Revert "Revert "only load packages when needed"" | Fred Hebert | 2015-09-02 | 1 | -4/+5 |
| | |||||
* | Revert "only load packages when needed" | Fred Hebert | 2015-09-02 | 1 | -5/+4 |
| | |||||
* | only load packages when needed | Tristan Sloughter | 2015-09-02 | 1 | -4/+5 |
| | |||||
* | Merge pull request #742 from tsloughter/pkg_check | Tristan Sloughter | 2015-08-23 | 1 | -4/+4 |
|\ | | | | | improve error messages for packages by checking its existance before fetch | ||||
| * | improve error messages for packages by checking its existance before fetching | Tristan Sloughter | 2015-08-23 | 1 | -4/+4 |
| | | |||||
* | | use 'default' for default hex repo path in cache and include in info messages | Tristan Sloughter | 2015-08-22 | 1 | -7/+20 |
|/ | |||||
* | replace use of dict of packages and registry with single ets table | Tristan Sloughter | 2015-08-21 | 1 | -88/+80 |
| | |||||
* | this patch treats pkg and src deps as equals, so level decides winner | Tristan Sloughter | 2015-08-21 | 1 | -7/+19 |
| | | | | | | | | 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 | -4/+7 |
| | |||||
* | Proper custom pkg index support, some tests | Fred Hebert | 2015-05-13 | 1 | -4/+14 |
| | | | | | | | | | | - The rebar package index files have been moved off the default path and will require a new `rebar3 update` - Caching of downloaded packages automatically takes place in a path relative to the CDN used - The cache path is not shared with hex as we now write and modify data in there arbitrarily - Basic tests plus the working set for more of them is included | ||||
* | verify checksums of hex packages | Tristan Sloughter | 2015-05-12 | 1 | -0/+10 |
| | |||||
* | check registry for missing package that may exist for mix | Tristan Sloughter | 2015-05-09 | 1 | -0/+13 |
| | |||||
* | handle missing package in registry by skipping | Tristan Sloughter | 2015-05-04 | 1 | -4/+7 |
| | |||||
* | add test for single atom pkg dep picking the highest available | Tristan Sloughter | 2015-04-11 | 1 | -1/+1 |
| | |||||
* | support single atoms for pkg deps, fetch highest version available | Tristan Sloughter | 2015-04-11 | 1 | -1/+54 |
| | |||||
* | follow xdg standard. fixes #122 | Tristan Sloughter | 2015-02-19 | 1 | -1/+1 |
| | |||||
* | print error message suggesting to run rebar3 update if missing package index | Tristan Sloughter | 2015-02-17 | 1 | -0/+1 |
| | |||||
* | replace package management with hex.pm | Tristan Sloughter | 2015-02-17 | 1 | -5/+13 |
| | |||||
* | Fix error message to point to rebar3 | Fred Hebert | 2014-12-15 | 1 | -1/+1 |
| | |||||
* | move dir functions from utils to new module rebar_dir | Tristan Sloughter | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | global plugins install to global config directory | Tristan Sloughter | 2014-11-29 | 1 | -2/+1 |
| | |||||
* | replace rlx_depsolver types with new package types | Tristan Sloughter | 2014-11-22 | 1 | -15/+4 |
| | |||||
* | replace rlx_depsolver use with new rebar_digraph | Tristan Sloughter | 2014-11-22 | 1 | -2/+19 |
| | |||||
* | new dep graph working | Tristan Sloughter | 2014-11-22 | 1 | -3/+3 |
| | |||||
* | use CONFIG_DIR of rebar3 for config directories | Tristan Sloughter | 2014-11-10 | 1 | -1/+2 |
| | |||||
* | dialyzer fixes | Tristan Sloughter | 2014-10-18 | 1 | -5/+5 |
| | |||||
* | fix namespaced types for pre-17 otp | Tristan Sloughter | 2014-09-25 | 1 | -1/+1 |
| | |||||
* | down to last 2 dialyzer errors | Tristan Sloughter | 2014-09-21 | 1 | -1/+1 |
| | |||||
* | more dialyzer fun. no likey opaque types | Tristan Sloughter | 2014-09-21 | 1 | -1/+2 |
| | |||||
* | fix for wrong function call to depsolver new for empty graph | Tristan Sloughter | 2014-09-20 | 1 | -2/+2 |
| | |||||
* | improved dep handling and add package list task | Tristan Sloughter | 2014-08-24 | 1 | -0/+23 |