Commit graph

1682 commits

Author SHA1 Message Date
Dave Smith
a3ce71e381 Adding user/email on created repos for travis CI 2013-04-22 13:45:41 -06:00
Dave Smith
6bbd79044d Further investigation into travis CI issues 2013-04-22 13:39:42 -06:00
Dave Smith
c1925d0de7 Add author to fix issue when compiling on travis 2013-04-22 11:48:44 -06:00
Dave Smith
d22c1b1ab2 Enable verbose output from retest 2013-04-22 08:55:36 -06:00
Dave Smith
e632b7b185 Merge pull request #80 from tuncer/nodetool-no_compile
Do not compile nodetool escript
2013-04-21 07:14:28 -07:00
Fred Hebert
bcc57e9b04 Handle ct_run exit codes in R15B02 and later
Since R15B02, ct_run returns a non-zero exit code when some tests
failed or were auto-skipped. (See ticket OTP-9865.)

This fix makes it so a non-0 code doesn't cause an instant failure, but
still prompts for log verification before doing so. Given the behaviour
was acceptable for pre-R15B02, it should be valid with it with
post-R15B02.

The fix should also be backwards compatible.
2013-04-18 22:45:46 -04:00
Tuncer Ayaz
a2f3207542 Do not compile nodetool escript
This removes the dependency on lib/compiler in an OTP release.
2013-04-12 20:52:26 +02:00
Dave Smith
1a083672b1 Merge pull request #81 from massemanet/patch-1
More error logging
2013-04-12 11:23:55 -07:00
mats cronqvist
63a69af04b More error logging
rebar throws away some error messages, e.g. the ones generated if the yecc compiler is broken.
2013-04-12 21:21:53 +03:00
Dave Smith
98d7ec931b Merge pull request #43 from tuncer/reltool-mod_cond
simplenode.reltool.config: use default sys-level mod_cond setting
2013-04-10 16:00:58 -07:00
Dave Smith
331c0809c8 Merge pull request #66 from tuncer/dialyzer-no_native
Makefile: call Dialyzer with -nn flag
2013-04-10 15:56:10 -07:00
Tuncer Ayaz
d28c92ff11 simplenode.reltool.config: use default sys-level mod_cond setting
As discussed here
http://erlang.org/pipermail/erlang-questions/2012-December/071135.html
change the reltool spec to use the default sys-level mod_cond setting.
2013-04-06 18:37:47 +02:00
Pedram Nimreezi
df7cfba71f Implement merged overlays
This allows overlay_vars to merge comma delimited var config files
2013-03-26 05:23:47 -04:00
Krzysztof Rutka
5dfb6d6351 Add support for QuickCheck Mini 2013-03-25 09:30:46 +01:00
Tuncer Ayaz
8b76d23aae Makefile: call Dialyzer with -nn flag
This speeds up 'make dialyzer' for the common case of Erlang/OTP built
without --enable-native-libs.
2013-03-04 17:16:00 +01:00
Dave Smith
720d71e47d Add travis target to make it easier to reproduce failures locally 2013-03-04 08:33:54 -07:00
Dave Smith
a9cb38e6d1 Merge pull request #68 from nevar/fix_unicode_promt
Fix unicode
2013-03-04 06:49:32 -08:00
Dave Smith
c77f8e13ca Fix missing call to cwd_predirs 2013-03-02 08:25:28 -07:00
Dave Smith
09c7e17e32 Remove hg from integration tests; git is defacto standard at this point 2013-03-02 08:22:09 -07:00
Dave Smith
21038d537c Merge pull request #38 from tuncer/fix-sub_dir-association
rebar_core: fix sub dir association
2013-03-02 07:04:41 -08:00
Dave Smith
eacfc1160a Merge pull request #69 from tuncer/repo-url
Update rebar repo urls
2013-03-02 06:52:57 -08:00
Dave Smith
c057c7771e Remove unnecessary bar 2013-03-02 07:51:26 -07:00
Dave Smith
f29e33cae0 Merge pull request #55 from jaredmorrow/jem-simplenode-multi-platform
Change simplenode template files to work on more platforms
2013-03-02 06:50:34 -08:00
Tuncer Ayaz
dc2f5c8c7b Update rebar repo urls 2013-03-02 14:16:33 +01:00
Tuncer Ayaz
1036277525 rebar_core: fix broken indentation 2013-02-26 18:24:50 +01:00
Tuncer Ayaz
9715c40386 rebar_core: remove useless return after ?ABORT call 2013-02-26 18:24:50 +01:00
Tuncer Ayaz
2b9241bd2b rebar_core: document pre-dirs association 2013-02-26 18:24:50 +01:00
Dave Smith
e36b9c1bff Merge pull request #59 from Vagabond/adt-read-lists-from-files
Support reading mustache 'lists' from files
2013-02-26 07:23:26 -08:00
Dave Smith
174c69022a Merge pull request #22 from tuncer/help
Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg
2013-02-26 07:22:47 -08:00
Slava Yurin
fb77295a1f Fix handling of Unicode characters in env vars 2013-02-18 14:20:27 +07:00
Andrew Thompson
ee8919420d Support reading mustache 'lists' from files
This commit add support for reading mustache 'lists' from files, so you
can use the list section functionality when templating things.

An example of the list syntax is as follows:

{package_commands, {list, [[{name, "riak"}], [{name, "riak-admin"}], [{name, "search-cmd"}]]}}.

Then you can, for each of the list elements, render some text:

{{#package_commands}}
chmod +x bin/{{name}}
{{/package_commands}}
2013-01-30 16:43:29 -05:00
Dennis Docter
61e79afd80 Add standard xref checks and improved suppression
* Allow the following predefined analyses :
   undefined_function_calls, undefined_functions, locals_not_used,
   exports_not_used, deprecated_function_calls, deprecated_functions

* Trap some possible errors in case module information is not
    available

* ignore_xref works on all checks and can take {M,F,A} tuples.
  (Automatic behaviour export suppression still only works on
  exports_not_used)
2013-01-30 15:26:01 +01:00
Philip Mueller
e29d84fbf6 break overlong line 2013-01-30 14:24:54 +01:00
Juan Jose Comellas
e2b1941c4b Add latest version getopt that automatically wraps usage output lines 2013-01-25 21:48:37 -03:00
Jared Morrow
c4989f0939 Change simplenode template files to work on more platforms
When developing Riak, we have found bugs and other issues due
to the number of platforms we support.

Here is an overview of the changes:
  -  Fix command-line syntax for commands to work on *BSD / Sun
  -  Add chkconfig and getpid to nodetool
  -  Replace platform specific 'kill' commands with a nodetool
	getpid method
  -  Fix RUNNER_USER settings to work on *BSD
2013-01-17 14:41:21 -07:00
Matthew Conway
6bab3c86d2 Remove leading empty line from a template 2013-01-14 18:00:48 -08:00
Oliver Ferrigni
d893708563 Fix file handling on windows for tests
Running tests on windows creates false positive due to setup failures
not executing all tests.  Checking for tmp_dir was failing on
subsequent runs.  Added cases to tmp_dir creation to delete preexisting
tmp_dirs in .eunit directory.
2013-01-14 15:16:13 -06:00
Tuncer Ayaz
4b8c81fb53 Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg
* allow plugins to print help message for implemented commands
* append core rebar.config options to common 'rebar help' message
2012-12-31 20:45:11 +01:00
Slava Yurin
b63328bb16 Correct ext of neotoma output file 2012-12-31 11:16:47 +07:00
Dave Smith
78fa8fc3d5 Merge branch 'saleyn-erlydtl' 2012-12-17 09:27:07 -07:00
Dave Smith
f2b79fc748 Merge pull request #48 from tuncer/286
Fix basho/rebar/issues/286
2012-12-17 08:04:02 -08:00
Tuncer Ayaz
2716d83a18 Fix basho/rebar/issues/286 2012-12-17 12:53:48 +01:00
Ulf Wiger
209ca73b91 rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications'
One could argue that rebar_eunit does some pretty dangerous stuff when
trying to clean up after a test run, but specifically, it tells the
Application Controller to delete everything returned by
application:get_all_env(App). Unfortunately, included_applications
also goes, which can lead to a crash in application_controller, if
the application is subsequently unloaded.

This patch attempts the smallest possible fix: remove all env
variables except included_applications.
2012-12-16 21:30:15 +01:00
Philip Mueller
4ae4a80219 change cover html generation to produce valid html
- added missing doctype
- added encoding statement
- removed invalid additional opening <body> tag
2012-12-12 12:38:39 +01:00
Anthony Ramine
22641c07ec Ensure we always have a registered value in .app files
`systools:make_relup/4` fails with `{missing_param, registered}`
without a `registered` value.
2012-12-07 14:43:35 +01:00
Dave Smith
71c717d86b Merge pull request #26 from l4u/patch-1
Support environment vars with unicode characters
2012-12-02 09:52:29 -08:00
Dave Smith
65ed9d9811 Merge pull request #34 from shkumagai/feature/zsh-completion-add-options
Add missing variables
2012-12-02 08:05:39 -08:00
Shoji KUMAGAI
f5a5843d77 Add missing variables
- add overlay_vars=, target_dir=, and tests= with short description
2012-12-03 00:04:07 +09:00
Dave Smith
89e94337ec Merge pull request #33 from tuncer/bash-completion
bash-completion: add missing options and variables
2012-12-01 12:18:53 -08:00
Tuncer Ayaz
dfbba0f4e7 bash-completion: add missing options and variables
- add missing short and long options
- add tests=, target_dir=, overlay_vars=
2012-12-01 15:31:01 +01:00