summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make lock files future-proofFred Hebert2016-02-166-17/+95
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge pull request #1048 from fauxsoup/masterTristan Sloughter2016-02-111-7/+14
|\ | | | | Add secondary hook for rebar_prv_compile
| * Include hook for app compilationZachary Hueras2016-02-091-4/+7
| |
| * Add secondary hook for rebar_prv_compileZachary Hueras2016-02-021-7/+11
| | | | | | | | | | erlc_compile, for before/after compiling .erls to .beams, but before .app.src to .app
* | Merge pull request #1053 from tsloughter/masterFred Hebert2016-02-052-2/+2
|\ \ | | | | | | upgrade relx to 3.15.0
| * | upgrade relx to 3.15.0Tristan Sloughter2016-02-052-2/+2
| | |
* | | Merge pull request #1041 from lrascao/fix/relx_overlay_varsTristan Sloughter2016-02-052-7/+65
|\ \ \ | | | | | | | | Add test case for relx overlay vars
| * | | Add test case for relx overlay varsLuis Rascao2016-02-052-7/+65
| | | | | | | | | | | | | | | | | | | | Makes use of several var types: integers, strings, binaries, binary strings and tuples.
* | | | Merge pull request #1047 from fishcakez/dialyzer_unknownTristan Sloughter2016-02-051-1/+22
|\ \ \ \ | |_|/ / |/| | | Ignore unknown warning when dialyzer < 2.8
| * | | Ignore unknown warning when dialyzer < 2.8James Fish2016-02-021-1/+22
| | |/ | |/|
* | | Merge pull request #1050 from tsloughter/masterFred Hebert2016-02-031-0/+3
|\ \ \ | |/ / |/| | check top level config for minimum or blacklisted otps at start
| * | check top level config for minimum or blacklisted otps at startTristan Sloughter2016-02-031-0/+3
|/ /
* | Merge pull request #1046 from tsloughter/user-agentFred Hebert2016-02-013-3/+8
|\ \ | | | | | | add user-agent to http request headers
| * | add user-agent to http request headersTristan Sloughter2016-02-013-3/+8
|/ /
* | Merge pull request #1045 from tsloughter/masterFred Hebert2016-01-312-6/+57
|\ \ | | | | | | don't lose overrides in an app when installing plugins it uses
| * | don't lose overrides in an app when installing plugins it uses'Tristan Sloughter2016-01-312-6/+57
|/ /
* | Merge pull request #1033 from tuncer/fix-shell-completionTristan Sloughter2016-01-301-13/+25
|\ \ | | | | | | Fix bash completion regression (cf66dfd6ba) and make lopt strings more resilient
| * | bash completion: prevent future mistakes in loptsTuncer Ayaz2016-01-251-12/+24
| | | | | | | | | | | | | | | | | | | | | To prevent future mistakes like the broken string introduced in cf66dfd6ba, put opening and closing " on separate lines in each multi-line lopts string. This also allows for cleaner (smaller) diffs when removing/adding a flag.
| * | bash completion: fix error introduced in cf66dfd6Tuncer Ayaz2016-01-251-2/+2
| | | | | | | | | | | | | | | | | | cf66dfd6ba introduced a syntax error in the modified lopts string. Without the fix, you'll provoke a shell error when trying to complete `rebar3 ct --<something>`.
* | | Merge pull request #1043 from talentdeficit/dont_strip_project_apps_during_ctTristan Sloughter2016-01-302-14/+22
|\ \ \ | |_|/ |/| | don't strip the project apps when running `ct` with just a root suite specified
| * | fix paths for multiple app projects when running ct with no --dir argumentalisdair sullivan2016-01-302-12/+19
| | |
| * | don't strip the project apps when running `ct` with just a root suite specifiedalisdair sullivan2016-01-301-2/+3
|/ / | | | | | | this ensures the project apps are compiled to `lib/` instead of `extras/`
* | Merge pull request #1035 from lrascao/fix/missing_include_pathTristan Sloughter2016-01-262-4/+67
|\ \ | |/ |/| Add module directory to include path
| * Add module directory to include pathLuis Rascao2016-01-262-4/+67
|/ | | | | | | | | | Several projects use an include path relative to the project's root. file:compile will look in three places for the include files: The current working directory The directory where the module is being compiled The directories given by the include option
* Merge pull request #1031 from tsloughter/masterFred Hebert2016-01-242-13/+35
|\ | | | | add profile option to clean task
| * add profile option to clean taskTristan Sloughter2016-01-232-13/+35
| |
* | Merge pull request #1024 from talentdeficit/dedupe_eunit_default_testsTristan Sloughter2016-01-232-15/+48
|\ \ | | | | | | deduplicate default test set generated by `rebar3 eunit`
| * | deduplicate default test set generated by `rebar3 eunit`alisdair sullivan2016-01-172-15/+48
| | | | | | | | | | | | | | | this ONLY attempts to deduplicate test sets that are generated by rebar in the absence of any user specified tests
* | | Merge pull request #1029 from tsloughter/masterFred Hebert2016-01-223-5/+5
|\ \ \ | | |/ | |/| local install and local upgrade
| * | move unstable install and upgrade to local namespaceTristan Sloughter2016-01-223-4/+4
| | |
| * | add support for setting erl vm args with REBAR3_ERL_ARGSTristan Sloughter2016-01-221-1/+1
| | |
* | | Merge pull request #1025 from tsloughter/masterFred Hebert2016-01-171-0/+12
|\ \ \ | |/ / | | | add unstable install/upgrade instructions to readme
| * | add unstable install/upgrade instructions to readmeTristan Sloughter2016-01-171-0/+12
|/ /
* | Merge pull request #1023 from ferd/rework-repo-docsTristan Sloughter2016-01-172-239/+409
|\ \ | | | | | | Rework README and CONTRIBUTING documents
| * | Rework README and CONTRIBUTING documentsFred Hebert2016-01-172-239/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The README is better targetted to newcomers and explains the basics of the project: what it is, why use it, how to get started, where to find more information. It looks less like a reference and more like a brief overview of rebar3. - Whatever looks like a list or reference manual material is expected to be moved to the website - Be clearer about the rebar3 project structure in CONTRIBUTING.md; explain how to write tests, how to structure code, and so on. - Added contributing section on bug reports, feature requests, etc.
* | | Merge pull request #1022 from ferd/badconfig-shell-errorTristan Sloughter2016-01-171-2/+7
|\ \ \ | |/ / |/| | Display error message when bad config is loaded
| * | Display error message when bad config is loadedFred Hebert2016-01-171-2/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a bad configuration file is submitted to rebar3 shell, display the following error: ===> The configuration file submitted could not be read and will be ignored. And keep going otherwise rather than silently failing. While crash-fast is usually a good mechanism, the shell so far is very tolerant of failures from apps to boot and whatnot, so this feels appropriate. Fixes #1019
* | Merge pull request #1017 from talentdeficit/runtime_version_checkFred Hebert2016-01-172-6/+8
|\ \ | |/ |/| check at runtime instead of compile time for `file:list_dir_all/1`
| * check at runtime instead of compile time for presence of `file:list_dir_all/1`alisdair sullivan2016-01-132-6/+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
* | Merge pull request #1018 from talentdeficit/cover_what_are_you_doooooingFred Hebert2016-01-161-4/+3
|\ \ | | | | | | change detection of valid modules for `eunit`
| * | change detection of valid modules for `eunit`alisdair sullivan2016-01-131-4/+3
| |/ | | | | | | | | | | | | `beam_lib:chunks(..)` needs a path to object code which, frustratingly, `code:which/1` won't return for cover compiled modules. instead just assume that if `code:which/1` doesn't return `non_existing` a module is something we can run tests on
* | Merge pull request #1021 from tsloughter/masterTristan Sloughter2016-01-151-1/+2
|\ \ | |/ |/| convert 'app' to 'application' in eunit_opts to match cmdline args
| * convert 'app' to 'application' in eunit_opts to match cmdline argsTristan Sloughter2016-01-151-1/+2
| |
* | Merge pull request #1016 from talentdeficit/eunit_translation_fixTristan Sloughter2016-01-121-9/+20
|\ \ | | | | | | when using the `--file' argument to `eunit' paths were being converted
| * | when using the `--file' argument to `eunit' paths were being convertedalisdair sullivan2016-01-121-9/+20
|/ / | | | | | | into directory test arguments
* | Merge pull request #1013 from tsloughter/masterFred Hebert2016-01-122-2/+2
|\ \ | |/ | | upgrade bbmustache and relx
| * upgrade relxTristan Sloughter2016-01-122-2/+2
|/
* Merge pull request #1012 from ferd/fix-triple-brackets-tplsTristan Sloughter2016-01-113-3/+3
|\ | | | | Remove triple brackets in bbmustache templates
| * Remove triple brackets in bbmustache templatesFred Hebert2016-01-113-3/+3
|/ | | | | | Issues formerly were avoided by quoting atoms. Unquoting them created unbalanced tags (`{{{name}}`) which were mistakes. This patch inserts spaces to unconfused bbmustache.
* Merge pull request #1010 from tsloughter/masterFred Hebert2016-01-102-2/+2
|\ | | | | upgrade relx to 3.12.0