Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1387 from ericmj/emj-rebar-config-env | Fred Hebert | 2016-11-22 | 1 | -2/+17 |
|\ | | | | | Always read REBAR_CONFIG env var when loading config | ||||
| * | Always read REBAR_CONFIG env var when loading config | Eric Meadows-Jönsson | 2016-11-22 | 1 | -2/+17 |
| | | |||||
* | | Fix rebar3 dialyzer warnings | Fred Hebert | 2016-11-19 | 1 | -3/+1 |
|/ | | | | Some tricky changes in there but should be okay | ||||
* | Merge pull request #1207 from ferd/pkg-local-hash-lock | Fred Hebert | 2016-06-22 | 1 | -12/+82 |
|\ | | | | | lock file contains expected hash for pkg dependencies | ||||
| * | Only display old version warning once | Fred Hebert | 2016-06-10 | 1 | -4/+17 |
| | | | | | | | | | | This uses the env variable as a global store for variables. It's not the cleanest thing, but it sounded nicer than pdicts. | ||||
| * | Hashes in lockfile are diff friendly | Fred Hebert | 2016-06-09 | 1 | -2/+21 |
| | | | | | | | | | | | | | | | | | | | | This reworks the version and hash printing in the lockfile to minimize diff changes: - the version is on its own line so that the locks are mostly the same aside from the last line - the hashes are each printed on one line with the package name for simpler diffing too. | ||||
| * | Support package hashes in structure and lockfile | Fred Hebert | 2016-05-24 | 1 | -14/+52 |
| | | | | | | | | | | | | | | | | | | - 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. | ||||
* | | Don't die when source deps with [raw] are used | Fred Hebert | 2016-05-27 | 1 | -0/+18 |
|/ | | | | | This adds support for their format both on the first read and when looking for modifications to dependencies. | ||||
* | Make lock files future-proof | Fred Hebert | 2016-02-16 | 1 | -2/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | handle newly added deps to config even when lock is empty | Tristan Sloughter | 2015-09-24 | 1 | -3/+0 |
| | |||||
* | Fix consult_and_eval/2 to behave like consult | Heinz N. Gies | 2015-09-20 | 1 | -1/+15 |
| | |||||
* | Terms is already a list | Garret Smith | 2015-09-11 | 1 | -1/+1 |
| | | | | Fixes compiling yaws, which has an .app.src.script file | ||||
* | support pkg attribute on dep to declare package name different from app name | Tristan Sloughter | 2015-08-23 | 1 | -0/+9 |
| | |||||
* | add tree option to deps command that prints pkg deps tree | Tristan Sloughter | 2015-08-03 | 1 | -13/+23 |
| | |||||
* | include app.src.script in app discover and always use if available | Tristan Sloughter | 2015-07-26 | 1 | -1/+2 |
| | |||||
* | check format of config file and print the bad section in the error | Tristan Sloughter | 2015-06-18 | 1 | -3/+26 |
| | |||||
* | print and format error message for bad .app files and all bad configs | Tristan Sloughter | 2015-05-22 | 1 | -12/+2 |
| | |||||
* | merge_locks crashed if a config didn't have a deps entry | Tristan Sloughter | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | real bootstrapping | Tristan Sloughter | 2015-04-22 | 1 | -1/+0 |
| | |||||
* | clean ups from Fred's comments | Tristan Sloughter | 2015-04-11 | 1 | -2/+2 |
| | |||||
* | error on dep name that isn't an atom | Tristan Sloughter | 2015-04-11 | 1 | -4/+11 |
| | |||||
* | support single atoms for pkg deps, fetch highest version available | Tristan Sloughter | 2015-04-11 | 1 | -18/+22 |
| | |||||
* | Fix lock merging for nonexistant lock files. | Fred Hebert | 2015-02-23 | 1 | -0/+5 |
| | |||||
* | don't attempt to merge locks when there are no dependencies | alisdair sullivan | 2015-02-22 | 1 | -1/+1 |
| | | | | fixes #172 | ||||
* | consolidate app validation and exist checks | Tristan Sloughter | 2015-02-22 | 1 | -1/+1 |
| | |||||
* | check for newly added deps in config file that aren't level 0 in the lock | Tristan Sloughter | 2015-02-19 | 1 | -1/+36 |
| | |||||
* | handle throw by relx | Tristan Sloughter | 2014-11-08 | 1 | -3/+3 |
| | |||||
* | split options up by task | Tristan Sloughter | 2014-10-10 | 1 | -1/+0 |
| | |||||
* | slowly widdling away at dialyzer errors | Tristan Sloughter | 2014-09-20 | 1 | -2/+2 |
| | |||||
* | start of moving to splitting state from config parsing | Tristan Sloughter | 2014-08-17 | 1 | -259/+12 |
| | |||||
* | add rebar update provider | Tristan Sloughter | 2014-08-16 | 1 | -1/+9 |
| | |||||
* | replace logging with ec_cmd_log from erlware_commons | Tristan Sloughter | 2014-08-16 | 1 | -2/+2 |
| | |||||
* | large refactoring | Tristan Sloughter | 2014-08-16 | 1 | -39/+109 |
| | | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands | ||||
* | Use correct types for OTP >=17.x | Tuncer Ayaz | 2014-06-29 | 1 | -1/+1 |
| | |||||
* | Fix a few minor formatting inconsistencies | Tuncer Ayaz | 2014-06-29 | 1 | -2/+2 |
| | | | | | * fix overlong lines * where appropriate use %% instead of % | ||||
* | Fix build for 17.0 using the solutiong proposed by @tsloughter | Matwey V. Kornilov | 2014-06-08 | 1 | -4/+12 |
| | | | | We use namespaced_types option to choose between dict() and dict:dict() types. | ||||
* | Fix #56 (always-on recursion) | Tuncer Ayaz | 2014-03-11 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | Always-on recursive application of all rebar commands causes too many issues. Recursive application is required for: 1. dealing with dependencies: get-deps, update-deps, and compile of deps right after get-deps or update-deps 2. projects with a riak-like apps/ project structure and dev process The vast majority of projects are not structured like riak. Therefore, moving forward it's best to (by default) restrict recursive behavior to dealing with deps. This commit does that and also adds command line and rebar.config options for controlling or configuring recursion. Also, we introduce two meta commands: prepare-deps (equivalent to rebar -r get-deps compile) and refresh-deps (equivalent to rebar -r update-deps compile). riak-like projects can extend the list of recursive commands (to include 'eunit' and 'compile') by adding {recursive_cmds, [eunit, compile]} to rebar.config. | ||||
* | Fix is_verbose/1 helper function | Tuncer Ayaz | 2013-12-06 | 1 | -5/+0 |
| | |||||
* | rebar_config:is_verbose/0: fix variable name | Tuncer Ayaz | 2013-12-06 | 1 | -2/+2 |
| | |||||
* | Remove two comments | Tuncer Ayaz | 2012-08-04 | 1 | -2/+0 |
| | |||||
* | Refactor setup_env rebar_config funs | Tuncer Ayaz | 2012-08-04 | 1 | -5/+4 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -26/+35 |
| | |||||
* | Document rebar_config TODOs | Tuncer Ayaz | 2012-07-13 | 1 | -0/+2 |
| | |||||
* | Make sure cached setup_envs are reset | Tuncer Ayaz | 2012-07-13 | 1 | -1/+4 |
| | |||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -36/+82 |
| | |||||
* | Use dict() instead of proplist() for shared env | Tuncer Ayaz | 2012-04-23 | 1 | -9/+6 |
| | |||||
* | Use correct value for file:script SCRIPT binding | Ulf Wiger | 2012-04-17 | 1 | -1/+1 |
| | |||||
* | Remove gratuitous blank line | Tuncer Ayaz | 2012-04-17 | 1 | -1/+0 |
| | |||||
* | Fix file:script support | Ulf Wiger | 2012-04-17 | 1 | -1/+1 |
| | |||||
* | Add support for target-specific port options | Tuncer Ayaz | 2012-04-16 | 1 | -5/+20 |
| | | | | {port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}. |