summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #963 from ferd/tup_merge-testsTristan Sloughter2015-12-062-9/+87
|\ \ | |/ |/| Tup merge tests
| * Fix tuple umergingFred Hebert2015-12-061-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | - proper segregation of comparison between tuple terms and non-tuple terms. Guards weren't specific enough and that meant the wrong clauses of guards would be triggered - proper deduplication of entries in the list. An additional N passes are required (we co-opt the reverse step to be more efficient) because while the original lists:umerge easily removes dupes, this is requiring more logic here since `[a,{a,b},{a,b,c},a,{a,b,c}]` is a possible interleaving and we'd want `[a,{a,b},{a,b,c}]` -- comparison of direct neighbours isn't enough.
| * Add test cases for tuple deduplicationFred Hebert2015-12-061-2/+69
|/ | | | (the tests fail)
* Merge pull request #948 from toland/fix_mib_compilerFred Hebert2015-12-012-8/+18
|\ | | | | Fix a small bug in the MIB compiler when building dependencies
| * Added tests and fixed a bugPhil Toland2015-12-012-5/+11
| |
| * Fix a small bug in the MIB compiler when building dependenciesPhil Toland2015-11-301-4/+8
| | | | | | | | | | | | | | When compiling a dependency with a MIB file the generated hrl file is left in the root project directory in a file called "include". This has the perverse effect of messing up the search path for include files causing any dependencies with files in their "include" directory to fail to build after that.
* | Merge pull request #935 from tokenrove/fix-eunit-verboseTristan Sloughter2015-12-011-1/+2
|\ \ | | | | | | Default to no eunit formatter if verbose specified
| * | Default to no eunit formatter if verbose specifiedJulian Squires2015-12-011-1/+2
|/ / | | | | | | The previous default meant that verbose output would not be emitted.
* | Merge pull request #949 from tsloughter/eunit_configFred Hebert2015-11-301-1/+1
|\ \ | |/ |/| fetch eunit_formatters config not from the command args but from the config
| * fetch eunit_formatters config not from the command args but from the configTristan Sloughter2015-11-301-1/+1
| |
* | Merge pull request #945 from tsloughter/auto_updateFred Hebert2015-11-292-7/+41
|\ \ | |/ | | auto-update the registry if a pkg isn't found, fail if it still isn't found
| * auto-update the registry if a pkg isn't found, fail if it still isn't foundTristan Sloughter2015-11-292-7/+41
|/
* Merge pull request #943 from tsloughter/s3_compatFred Hebert2015-11-261-2/+0
|\ | | | | remove backward_compat entry from travis s3
| * remove backward_compat entry from travis s3Tristan Sloughter2015-11-261-2/+0
|/
* Merge pull request #942 from tsloughter/relx_profilesFred Hebert2015-11-262-22/+3
|\ | | | | special handling of relx configs in profiles
| * special handling of relx configs in profilesTristan Sloughter2015-11-262-22/+3
| | | | | | | | | | | | | | | | | | | | | | Relx config need new values at the end of the list and profile additions prepended. So now in apply_profile in the case it is a relx config we prepend the config list. This does, however, mean that a profile release can not 'extend' a release defined in the default profile since the one being extended would have its definition after the profile release and thus relx would not be able to use its values for extending.
* | Merge pull request #941 from tsloughter/cp_r_pFred Hebert2015-11-251-1/+1
|\ \ | |/ | | preserve attributes when copying files in rebar_utils:cp_r for unix
| * preserve attributes when copying files in rebar_utils:cp_r for unixTristan Sloughter2015-11-251-1/+1
|/
* Merge pull request #934 from tsloughter/dedup_providersFred Hebert2015-11-235-7/+32
|\ | | | | don't add a provider if the same namespace and name already exists
| * just delete erlware_commons rebar.config.script, it isn't needed for rebar3Tristan Sloughter2015-11-231-0/+7
| |
| * if a provider of the same namespace and name already exists, skip adding new ↵Tristan Sloughter2015-11-234-7/+25
|/ | | | provider
* Merge pull request #930 from ferd/handle-new-flagTristan Sloughter2015-11-192-2/+43
|\ | | | | Handle force flags in leading position
| * Handle force flags in leading positionFred Hebert2015-11-192-2/+43
|/ | | | The checking of flags and the parsing of arguments is separated up.
* Merge pull request #928 from ferd/bump-cth_readableTristan Sloughter2015-11-182-2/+2
|\ | | | | Ct output improvements
| * Ct output improvementsFred Hebert2015-11-182-2/+2
|/ | | | | - eunit assert look better - lager logs to the html logs
* Merge pull request #927 from tsloughter/eunit_18_2Fred Hebert2015-11-182-2/+2
|\ | | | | upgrade eunit_formatters to 0.3.1 for OTP18 bug fix
| * upgrade eunit_formatters to 0.3.1 for OTP18 bug fixTristan Sloughter2015-11-182-2/+2
|/
* Merge pull request #924 from tsloughter/pgks_fixFred Hebert2015-11-171-2/+14
|\ | | | | only add package list of versions to registry if it has the right build tool support
| * only add package list of versions to registry if it has the right buildtool ↵Tristan Sloughter2015-11-171-2/+14
| | | | | | | | support
* | Merge pull request #925 from tsloughter/eunit_18Fred Hebert2015-11-172-2/+2
|\ \ | | | | | | upgrade eunit_formatters for OTP 18 support
| * | upgrade eunit_formatters for OTP 18 supportTristan Sloughter2015-11-172-2/+2
| |/
* | Merge pull request #922 from talentdeficit/warn_on_bad_test_optsFred Hebert2015-11-164-134/+337
|\ \ | |/ | | warn on incorrectly specified test options in `rebar.config`
| * error on ct/eunit argument errors instead of warningalisdair sullivan2015-11-154-148/+318
| |
| * warn on incorrectly specified test options in `rebar.config`alisdair sullivan2015-11-142-14/+47
|/ | | | | | | when `ct_opts`, `eunit_tests`, `eunit_first_files`, `ct_first_files`, `erl_first_files`, `eunit_compile_opts`, `ct_compile_opts` and `erl_opts` have values that are single non-list terms warn and try wrapping them in a list when processing them in the `eunit` and `ct` providers
* Merge pull request #921 from ferd/fix-includesTristan Sloughter2015-11-141-1/+1
|\ | | | | Fix error reports on missing include paths
| * Fix error reports on missing include pathsFred Hebert2015-11-141-1/+1
|/ | | | | | | In some cases (nested includes?) paths end up in such a way that joining them breaks up and hard-crashes rebar3. This patch specifically handles this scenario to fix things by avoiding passing empty lists to filename:join.
* Back to git versions for sourceFred Hebert2015-11-141-1/+1
|
* Bump to beta-4Fred Hebert2015-11-142-2/+2
|
* Merge pull request #920 from project-fifo/update-cfTristan Sloughter2015-11-142-2/+2
|\ | | | | Update cf
| * Update cfHeinz N. Gies2015-11-142-2/+2
|/
* Merge pull request #919 from ferd/fix-shell-mastersFred Hebert2015-11-141-5/+19
|\ | | | | Fix IO locking up in shell apps
| * Fix IO locking up in shell appsFred Hebert2015-11-141-5/+19
|/ | | | | | | | | | | | | | | | | | | | | Application masters are booted at the root of apps, and take over the group leader role to redirect IO. To cut the chain short and properly have their role inherited, they are their own leader, and keep a reference to the old leader in their internal state, which we cannot change. This is done so process ownership to a given application can be established, and allows to properly clean up resources outside the supervision tree when an app is shut down. This patch goes around and finds all processes whose group leaders are application masters older than the new `user' process booted by the shell providers, and swaps them with that new `user'. This lets the application masters survive, and fixes the blocking IO issue (resolving issue #899) This may mean an incomplete clean up is down on application shutdown, but that seems like a fair compromise.
* Merge pull request #918 from tsloughter/eunit_formattersFred Hebert2015-11-134-5/+19
|\ | | | | include Sean Cribbs eunit formatter by default
| * add space before end so eyes don't bleedTristan Sloughter2015-11-131-1/+1
| |
| * include Sean Cribbs eunit formatter by defaultTristan Sloughter2015-11-134-5/+19
| |
* | Merge pull request #893 from archaelus/shell_scriptsFred Hebert2015-11-131-29/+131
|\ \ | |/ |/| rebar3 shell improvements (escript, rebar.config shell defaults)
| * Feature: rebar shell [--script <FILE>]Geoff Cant2015-11-131-29/+131
|/ | | | | | | | | | | | | | | | | Adds the ability to run an escript before starting the apps and interactive shell for a project. This is intended to improve the local development experience for projects by providing an easy way to run companion services (mock rest APIs, databases etc) that the project relies on. This patch also adds {shell, Defaults} to the rebar config file so that a project can supply default values for many of the new or improved 'rebar3 shell' options: * {apps, OTPApps} * {script_file, EscriptFileName} * {config, ConfigFileName} The order of option precedence is command line, rebar.config, relx.
* Merge pull request #917 from ferd/ct-readableFred Hebert2015-11-134-3/+39
|\ | | | | Prettify all of common test output.
| * Optionally disable readable outputFred Hebert2015-11-131-10/+26
| |
| * Add cth_readable to dep listFred Hebert2015-11-131-0/+1
| |