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. | ||||
* | reset hooks under profiles for application opts | Tristan Sloughter | 2017-06-02 | 1 | -9/+24 |
| | |||||
* | Fix detection of src_dirs in unknown apps/deps | Fred Hebert | 2017-02-23 | 1 | -11/+49 |
| | | | | | First find the rebar.config file, and if any data is found, check for src_dirs config. If nothing is there or no app is found, default to src/ | ||||
* | For convenience add appinfo default src_dir lookup | Fred Hebert | 2017-02-19 | 1 | -1/+5 |
| | | | | This makes rebar_prv_install_deps able to support more src_dir configs | ||||
* | Add respect for src_dirs option in app_discover | Fred Hebert | 2017-02-19 | 1 | -29/+52 |
| | | | | | This lets people who use custom directories layout without leaving the .app.src in src/ to still see their app build. | ||||
* | Fix Alisdair's review, add more types and docs | Fred Hebert | 2016-12-16 | 1 | -2/+4 |
| | |||||
* | Type specifications and edocs improvements | Fred Hebert | 2016-11-27 | 1 | -4/+77 |
| | | | | | | 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. | ||||
* | handle case that upgraded app no longer has .app.src file | Tristan Sloughter | 2015-09-20 | 1 | -1/+2 |
| | |||||
* | hooks/artifacts are always run/resolved from an app unless at top of umbrella | Tristan Sloughter | 2015-09-06 | 1 | -12/+15 |
| | |||||
* | move otp version verification to a single app_info function | Tristan Sloughter | 2015-09-01 | 1 | -2/+2 |
| | |||||
* | move opts functions to new module rebar_opts | Tristan Sloughter | 2015-09-01 | 1 | -1/+1 |
| | |||||
* | remove overrides element from state record | Tristan Sloughter | 2015-09-01 | 1 | -1/+1 |
| | |||||
* | more cleanup | Tristan Sloughter | 2015-08-31 | 1 | -11/+11 |
| | |||||
* | more cleanup of old state usage | Tristan Sloughter | 2015-08-31 | 1 | -23/+20 |
| | |||||
* | fixes for overrides of deps | Tristan Sloughter | 2015-08-31 | 1 | -1/+0 |
| | |||||
* | build on already created AppInfo instead of having to do copy | Tristan Sloughter | 2015-08-31 | 1 | -26/+32 |
| | |||||
* | remove state record from app_info record | Tristan Sloughter | 2015-08-31 | 1 | -2/+1 |
| | |||||
* | wip: move state into app_info | Tristan Sloughter | 2015-08-31 | 1 | -1/+2 |
| | |||||
* | simplify package dep parsing and handling | Tristan Sloughter | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | don't store deps list with duplicate in state | Tristan Sloughter | 2015-08-22 | 1 | -4/+6 |
| | |||||
* | this patch treats pkg and src deps as equals, so level decides winner | Tristan Sloughter | 2015-08-21 | 1 | -9/+9 |
| | | | | | | | | 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. | ||||
* | small refactorings per Fred comments | Tristan Sloughter | 2015-08-17 | 1 | -9/+13 |
| | |||||
* | use correct rebar_state for a dep, not the top level state | Tristan Sloughter | 2015-08-16 | 1 | -3/+4 |
| | |||||
* | handle new tests for mix package types (git/pkg) | Tristan Sloughter | 2015-08-16 | 1 | -2/+4 |
| | |||||
* | track the parent of umbrella app dependencies | Tristan Sloughter | 2015-08-16 | 1 | -11/+56 |
| | |||||
* | fix dialyzer warnings, except 'no local return' warnings | Tristan Sloughter | 2015-08-08 | 1 | -10/+5 |
| | |||||
* | add tree option to deps command that prints pkg deps tree | Tristan Sloughter | 2015-08-03 | 1 | -6/+1 |
| | |||||
* | include app.src.script in app discover and always use if available | Tristan Sloughter | 2015-07-26 | 1 | -6/+18 |
| | |||||
* | add support for old format otp versions | Tristan Sloughter | 2015-07-25 | 1 | -0/+4 |
| | |||||
* | only look for top level apps and those directly under apps/ or lib/ | Tristan Sloughter | 2015-07-16 | 1 | -10/+2 |
| | |||||
* | Read and process .app.src.script if present | Garret Smith | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | add config option artifacts | Tristan Sloughter | 2015-06-02 | 1 | -16/+17 |
| | |||||
* | Add rebar.config 'excluded_apps' key. | Jean Parpaillon | 2015-05-23 | 1 | -7/+20 |
| | | | | | | Listed applications are simply ignored. Allows for configuration time sub-application building. | ||||
* | add additional comments | Tristan Sloughter | 2015-05-22 | 1 | -0/+3 |
| | |||||
* | read in app information after fetch so we have the deps | Tristan Sloughter | 2015-05-22 | 1 | -3/+4 |
| | |||||
* | fall back to .app.src file if .app file fails to parse | Tristan Sloughter | 2015-05-22 | 1 | -53/+58 |
| | |||||
* | print and format error message for bad .app files and all bad configs | Tristan Sloughter | 2015-05-22 | 1 | -19/+15 |
| | |||||
* | Properly reset hooks for single-app project | Viacheslav V. Kovalev | 2015-05-21 | 1 | -2/+2 |
| | |||||
* | Manage syntax error in app.src files. | Umberto Corponi | 2015-05-06 | 1 | -4/+9 |
| | | | | | - Solve "Uncaught error" failure in case of syntax error in app.src file. - Print helpful information on the location of the syntax error. | ||||
* | don't duplicate hooks for top level app | Tristan Sloughter | 2015-04-19 | 1 | -2/+24 |
| | |||||
* | include applications list in compile sort | Tristan Sloughter | 2015-04-15 | 1 | -1/+6 |
| | |||||
* | support single atoms for pkg deps, fetch highest version available | Tristan Sloughter | 2015-04-11 | 1 | -4/+5 |
| | |||||
* | Avoid duplicating deps in discover phase | Fred Hebert | 2015-03-15 | 1 | -1/+8 |
| | | | | | | | | | The deps are sorted and merged, but the merge function merges lists, not elements. This yields deps that are duplicated and ran for multiple times. We first add proper sorts so the keymerge is guaranteed to be fine, and then do a dedup run to get rid of duplicates if they happen to be. | ||||
* | add comment about resetting opts | Tristan Sloughter | 2015-03-06 | 1 | -0/+2 |
| | |||||
* | store base opts after initialization of providers | Tristan Sloughter | 2015-03-06 | 1 | -4/+3 |
| | |||||
* | apply profiles and overrides for an app's opts to the base opts | Tristan Sloughter | 2015-03-05 | 1 | -2/+2 |
| | |||||
* | fix for profiles_remain_applied_with_config_present | Tristan Sloughter | 2015-03-04 | 1 | -9/+15 |
| | |||||
* | copy project apps to deps output dir for compilation | Tristan Sloughter | 2015-02-28 | 1 | -2/+6 |
| | |||||
* | consolidate app validation and exist checks | Tristan Sloughter | 2015-02-22 | 1 | -48/+3 |
| | |||||
* | sort project apps before merging deps | Tristan Sloughter | 2015-02-19 | 1 | -1/+3 |
| |