summaryrefslogtreecommitdiff
path: root/priv
Commit message (Collapse)AuthorAgeFilesLines
* wip: move to erlydtl for rebar templatesTristan Sloughter2014-09-1713-0/+0
|
* fix lib to not start modTristan Sloughter2014-09-163-3/+14
|
* update release run and variables in templatesTristan Sloughter2014-09-162-0/+2
|
* update templatingTristan Sloughter2014-09-1661-1937/+87
|
* add some templatesTristan Sloughter2014-08-2426-17/+580
|
* Add gen_event templateAntonio Murdaca2014-06-152-0/+62
|
* Error 'Command not found' when sname is usedHabibutsu2014-05-271-1/+1
| | | | When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space
* Merge pull request #52 from shino/slim-release-supportJared Morrow2014-05-213-9/+47
|\ | | | | Slim release support
| * Add TODO comment to install_upgrade script templateShunichi Shinohara2014-03-091-0/+8
| |
| * Change nodetool path to under releases/<RELEASE_VERSION>/Shunichi Shinohara2014-03-092-7/+8
| |
| * Add slim release support for runner scriptShunichi Shinohara2014-03-091-8/+37
| |
* | Fix #56 (always-on recursion)Tuncer Ayaz2014-03-112-1/+7
|/ | | | | | | | | | | | | | | | | | 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.
* Merge pull request #115 from mdaguete/simplenode.runner-remsh-fixesAndrew Thompson2014-03-051-3/+29
|\ | | | | Incorrect REMSH args when sname is used.
| * Make REMSH node run in hidden modeManuel Durán Aguete2013-07-191-1/+1
| | | | | | | | | | To avoid problems with REMSH node being visible from another nodes starts it in hidden mode (erl -hidden).
| * Incorrect REMSH args when sname is usedManuel Durán Aguete2013-07-191-2/+28
| | | | | | | | | | | | | | | | | | | | When a node is configured with -sname in app.config or sys.config the REMSH_NAME_ARG and REMSH_REMSH_ARG arguments are incorrect due the assumption that the node name always contains '@'. To fix the bug, the script tries to find '@' and then compose the arguments acording to node name type. If in long name mode the script can't compose a correct node name exits with warning.
* | Add command to rebar:command_names/0Pierre Fenoll2013-12-191-2/+0
| |
* | Add a library templatePierre Fenoll2013-12-195-0/+39
| |
* | Change default log level to 'warn' and introduce -q/--quietTuncer Ayaz2013-12-061-4/+4
| |
* | Init RUNNER_SCRIPT var in simplenode.runnerManuel Durán Aguete2013-11-181-0/+1
|/ | | | | RUNNER_SCRIPT variable is not initialized in simplenode.runner and it's referenced when calling sudo.
* Merge pull request #54 from mattonrails/simpleapp_sup_template_typoDave Smith2013-06-141-1/+0
|\ | | | | Remove leading empty line from a template
| * Remove leading empty line from a templateMatthew Conway2013-01-141-1/+0
| |
* | Merge pull request #96 from olgeni/pwd-symlink-fixDave Smith2013-06-122-2/+2
|\ \ | | | | | | Use "pwd -P" to get the current physical path.
| * | Use "pwd -P" to get the current physical path.olgeni2013-06-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a portable version of the realpath(1) utility that you can find on Mac OS X and FreeBSD (see also The Open Group Base Specifications Issue 6, IEEE Std 1003.1). Without the -P flag, pwd(1) might return different values when the current path contains one or more symlinks, depending on how you got into the current directory. In simplenode.runner, this may cause PIPE_DIR to have different values on each use, which will make it impossible to connect to the running node unless you guess the correct path yourself.
* | | Add support for ping command on windows in the simple node runnersyl20bnr2013-05-202-2/+12
|/ /
* | Do not compile nodetool escriptTuncer Ayaz2013-04-121-2/+0
| | | | | | | | This removes the dependency on lib/compiler in an OTP release.
* | simplenode.reltool.config: use default sys-level mod_cond settingTuncer Ayaz2013-04-061-1/+0
| | | | | | | | | | | | 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.
* | Remove unnecessary barDave Smith2013-03-021-1/+1
| |
* | Change simplenode template files to work on more platformsJared Morrow2013-01-174-43/+156
|/ | | | | | | | | | | | 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
* Merge pull request #34 from shkumagai/feature/zsh-completion-add-optionsDave Smith2012-12-021-0/+3
|\ | | | | Add missing variables
| * Add missing variablesShoji KUMAGAI2012-12-031-0/+3
| | | | | | | | - add overlay_vars=, target_dir=, and tests= with short description
* | bash-completion: add missing options and variablesTuncer Ayaz2012-12-011-8/+51
|/ | | | | - add missing short and long options - add tests=, target_dir=, overlay_vars=
* zsh-completion: add 'dump_spec' back againShoji KUMAGAI2012-12-011-0/+1
|
* bash-completion: add dump_spec=1Tuncer Ayaz2012-11-301-3/+3
|
* Merge pull request #19 from shkumagai/feature/zsh-completion-refineDave Smith2012-11-301-1/+1
|\ | | | | Change zsh completion script
| * Change zsh completion scriptShoji KUMAGAI2012-11-161-1/+1
| | | | | | | | | | - Add 'escriptize' command - Remove variable 'dump_spec'
* | bash-completion: add generate-appupsTuncer Ayaz2012-11-261-4/+4
|/
* zsh completion: fix typosTuncer Ayaz2012-11-011-9/+9
|
* Add zsh completion scriptShoji KUMAGAI2012-11-011-0/+79
| | | | For enable to shell-completion in zsh.
* bash completion: remove duplicate cmdTuncer Ayaz2012-08-091-1/+1
|
* Replace test-compile with compile_only=true optionTuncer Ayaz2012-08-091-2/+2
|
* Quote paths in Windows runner scriptMatt Campbell2012-07-312-23/+36
| | | | | This allows the node to run in paths which include special characters, for example 'C:\Program Files (x86)\Product Name'
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-231-2/+2
|
* Add 'eunit-compile' cmd (Suggested-by: Joe Norton)Tuncer Ayaz2012-07-231-4/+5
|
* noderunner: add support for alt dir and boot fileUlf Wiger2012-07-141-20/+54
| | | | | | | | | | | | | | | | | This patch contains two additions to simplenode.runner: 1. Check if vm.args exists in CWD; if so, use it. This makes it easier to start multiple concurrent nodes on a single machine from one rebar-created release (starting each node from its own directory, with its own copy of vm.args and e.g. sys.config, log directory, database directory, etc.) 2. Add the targets start_boot <file> and console_boot <file>. This is used to select a different boot script. The 'setup' application (http://github.com/esl/setup) builds a special boot script for installation (all apps loaded but not started, making it possible to run install hooks with the full code path in place).
* Simplify reltool.config templateTuncer Ayaz2012-06-191-5/+3
|
* Add escriptize to bash completionTuncer Ayaz2012-05-181-2/+2
|
* Remove alt_url support in favor of new featuresTuncer Ayaz2012-05-131-2/+1
|
* Add support for using -remsh via runner scriptjoewilliams2012-04-231-1/+25
|
* Use correctly escaped pipes in usage messageFrancis Joanis2012-04-171-1/+1
|
* Improvements to windows node runner scriptMatt Campbell2012-04-175-6/+102
| | | | | | | * Typos and other minor bug fixes * Add "attach" command (via -remsh) * Add "upgrade" command to install a hot upgrade package * Add "upgrade" subcommand to UNIX runner script as well