Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-12 | Add support for new relx directive that provides start/stop shell script hooks | Luis Rascao | |
New 'extended_start_script_hooks' directive that allows the developer to define six different hook shell scripts to be invoked at pre/post start/stop/install upgrade phases. Besides these custom defined scripts, other types of builtin scripts are also available, these offer pre-packaged functionality that can be used directly, they are: pid - writes the beam pid to a configurable file location (/var/run/<rel_name>.pid by default). wait_for_vm_start - waits for the vm to start (ie. when it responds to pings) wait_for_process - waits for a configurable name to appear in the erlang process registry The hook scripts are invoked with the 'source' command, therefore they have access to all the variables in the start script. | |||
2016-11-09 | Remove name collisions of replaced files in multi-node setups | Serge Aleynikov | |
2016-10-27 | Fix replace os vars functionality | Luis Rascao | |
The first run would correctly replace the environment variables, however it would also overwrite the original vm.args and sys.config thus preventing any further substitution in subsequent runs. Dev mode runs were also broken, all runs after the first were required to also define the RELX_REPLACE_OS_VARS variable in order not to overwrite the current vm.args with the original one, this prevented simply attaching to an already running node that was started this way. Add tests to exercise this functionality. | |||
2016-10-26 | Revert "remove rlx_topo since all systools >=R15 have a working sort of apps" | Tristan Sloughter | |
This reverts commit 701da7b9f2dfb872351b56938f7aed5bff0d79c7. | |||
2016-10-25 | Always include nodetool when generating extended start script | Luis Rascao | |
Remove redundant check for extended_start_script. Add tests that enforce this invariant. | |||
2016-10-03 | Don't include erts src when user requests src not be included | Luis Rascao | |
Using the include_src option | |||
2016-09-27 | Add test coverage for the extended bin script | Luis Rascao | |
2016-09-25 | Increase test coverage | Luis Rascao | |
2016-09-20 | Add recent OTP versions | Luis Rascao | |
2016-03-15 | Fixed template args order bug | Kozlov Yakov | |
2016-01-23 | replacing OS vars: use .orig files to prevent overwriting | erlanger | |
2016-01-11 | use priv_dir for generated test data | Tristan Sloughter | |
2016-01-06 | Include src/ in tarballs unless specified not to | Fred Hebert | |
By default, the `include_src` value is `true`, yet Relx disregards the value entirely when generating tarballs. This patch makes it so the value is used and respected when generating tarballs. Given the default value is `true`, this patch changes the default behaviour of relx to always include source files in tarballs, considering its omission a bug rather than a feature. Tests are added, verifying the impact on ERTS-included files. | |||
2015-07-08 | don't do release discovery unless needed -- like for relups | Tristan Sloughter | |
2015-06-25 | update for 18 time function changes | Tristan Sloughter | |
2015-06-25 | Fix paths for symlinks | Daniel Widgren | |
2015-06-17 | Fixing test for windows, changing symlink to symlink_or_copy | Daniel Widgren | |
2015-05-16 | fix add_providers config option for newest providers dep | Tristan Sloughter | |
2015-05-08 | use mustache instead of erlydtl for overlays | Tristan Sloughter | |
2015-02-19 | support overlay file inclusion | Luis Rascao | |
allow overlay inclusion of other files, similarly to what OTP already does in sys.config files | |||
2015-01-31 | don't overdo it with generated apps that are there to be ignored | Tristan Sloughter | |
2015-01-31 | add support for excluding applications from the release | Tristan Sloughter | |
2015-01-30 | add config script funcionality | Luis Rascao | |
similar to rebar's config script, append a .script suffix to the provided relx config that is evaluated and can possibly change values in the original config | |||
2015-01-10 | remove system libs from tarball if set to false | Tristan Sloughter | |
2014-12-13 | render overlay filenames for tar archive | Tristan Sloughter | |
2014-11-20 | Merge pull request #268 from tsloughter/no_def_error_msg | Jordan Wilberding | |
fix for error message output for no default release | |||
2014-11-17 | add back _rel to app discovery, fix relup tests to notice | Tristan Sloughter | |
2014-11-17 | fix for error message output for no default release | Tristan Sloughter | |
2014-11-09 | move back to using format_error/1 | Tristan Sloughter | |
2014-11-06 | fix modules thta still were using format_error/1 | Tristan Sloughter | |
2014-10-11 | fix tests for providers moved to new app and config list option | Tristan Sloughter | |
2014-10-11 | provider task dependencies | Tristan Sloughter | |
2014-07-09 | sort apps by version, so newest is chosen if it passes constraints | Tristan Sloughter | |
2014-05-22 | fix for setting overrides with -a | Tristan Sloughter | |
2014-05-14 | refactor tar and relup commands to own providers | Tristan Sloughter | |
2014-05-14 | refactor cli args and config file var merging | Tristan Sloughter | |
2014-05-09 | breaking change: output release to <output_dir>/<release_name>/ | Tristan Sloughter | |
2014-03-12 | Merge pull request #101 from konradkaplita/accelerate_discover_provider | Eric Merritt | |
Accelerate application discovery | |||
2014-01-22 | Merge pull request #113 from tsloughter/dev_mode_sys_config | Eric Merritt | |
properly handle config files and switching on/off dev_mode | |||
2014-01-21 | properly handle config files and switching on/off dev_mode | Tristan Sloughter | |
2013-12-03 | Accelerate `rlx_prv_discover` provider | Konrad Kaplita | |
Introduce option `enable_shallow_app_discovery` which is disabled by default. When enabled searching for `*.app` files is done by using `filelib:wildcard/1` and doesn't recursively traverse all directories under `libs_dir` root dirs. Instead its assumed that each directory on `libs_dir` list contains a flat list of application dirs or is an app itself. | |||
2013-12-03 | Add option to skip release discovery | Konrad Kaplita | |
`rlx_prv_discover` provider recursively scans all directories in `lib_dirs` list looking for `*.app` and `*.rel` files. This commit adds an option `disable_rel_discovery` to skip searching for `*.rel` files when we know there aren't any. This speeds up release generation with a lot of dependencies on the `libs_dir` list significantly and reduces total release generation time in half. | |||
2013-11-22 | Merge pull request #95 from josevalim/jv-default-releasev0.5.2 | Eric Merritt | |
Properly detect the default release and fail on conflicts | |||
2013-11-22 | Properly detect the default release and fail on conflicts | José Valim | |
Closes #93 | |||
2013-11-18 | Support wildcards in lib dirs | José Valim | |
Wildcards are supported in both lib_dirs in config files as well via the -l command line option. | |||
2013-10-18 | add extend to release definition. This closes #16 | Tristan Sloughter | |
2013-10-16 | fix load overlay to support filename not in a list. This closes #74 | Tristan Sloughter | |
2013-10-15 | add a dev mode that symlinks the release instead of copying it | Eric | |
This should only ever be used for development, however it makes it very, very nice to be able to simple recompile a project without recopying it to try new things. | |||
2013-10-12 | support list of overlay_vars files. This closes #4 | Tristan Sloughter | |
2013-09-28 | warn, not error, on bad app during discovery provider | Tristan Sloughter | |