Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-24 | Don't use builtin status hook as default | Luis Rascao | |
Let people define their own when they want to. | |||
2017-05-15 | Add custom status hook to extended script | Luis Rascao | |
Provide a status command to start script which, by default, runs a builtin hook that simply prints which applications are running in the node. This hook can then be customized to print whatever the user wants by adding {status, [{custom, "path/to/hook"}]} to already existing extended_start_script_hooks. | |||
2017-01-29 | Don't rewrite app files if contents are the same | Luis Rascao | |
When comparing .app files to check if a rewrite is necessary do so by comparing erlang terms instead of bytes, the original .app might contain comments for example and cause unnecessary rewrites. This proves a problem when dealing with erts .app files that might be read-only at the origin and thus cause a failed release on relx that is uncalled for since there might have been no changes at all. | |||
2016-12-17 | Replace rebar_log calls to enable relx to build extended script with ↵ | Aleksandar Markovski | |
builders other then rebar(Erlang.mk) | |||
2016-11-26 | Merge pull request #541 from lrascao/feature/exclude_modules | Tristan Sloughter | |
Provide a new config directive that allows per-app module exclusion | |||
2016-11-21 | Provide a new config directive that allows per-app module exclusion | Luis Rascao | |
By introducing a new entry in the config file allow excluding specific modules from a given app, they will not be copied onto the final release and their reference removed from the .app file. The new entry takes on the following form: {exclude_modules, [ {App :: atom(), [Module :: atom()]} ]} | |||
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-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-25 | Merge pull request #529 from ↵ | Luis Rascão | |
lrascao/feature/include_nodetool_on_extended_start_script Always include nodetool when generating extended start script | |||
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-18 | Fixed: #524. Erts src folder existence check added | Alexey Ovchinnikov | |
2016-10-03 | Don't include erts src when user requests src not be included | Luis Rascao | |
Using the include_src option | |||
2016-04-29 | Add a boot variable to Windows scripts | emtenet | |
Add missing -boot_var argument to Windows scripts when starting erlang. Use different boot variables on Windows vs non-Windows. The built-in $ROOT boot variable points to the erts directory on Windows (dictated by erl.ini [erlang] Rootdir=) and so a boot variable $RELEASE_DIR is made pointing to the release directory | |||
2016-02-18 | allow 'false' to tell relx to not create a sys.config or vm.args | Tristan Sloughter | |
2016-02-05 | targetdir may be list not binary, convert before comparing | Tristan Sloughter | |
2016-01-31 | Merge pull request #442 from tsloughter/master | Jordan Wilberding | |
use list comp instead of ec_plists for copy directory | |||
2016-01-30 | use list comp instead of ec_plists for copy directory | Tristan Sloughter | |
2016-01-23 | replacing OS vars: use .orig files to prevent overwriting | erlanger | |
2015-11-21 | Merge pull request #415 from tsloughter/erl_inteface_lib | Jordan Wilberding | |
include lib dir if it exists, erl_interface is an ex. with a lib | |||
2015-11-21 | error out with useful message if the user provided sys.config isn't parseable | Tristan Sloughter | |
2015-11-21 | include lib dir if it exists, erl_interface is an ex. with a lib | Tristan Sloughter | |
2015-09-28 | Revert "Fix possible copy-paste bug in rlx_prv_assembler" | Tristan Sloughter | |
2015-09-04 | Fix possible copy-paste bug in rlx_prv_assembler | Dmitry Ivanov | |
2015-07-18 | Merge pull request #369 from tsloughter/master | Jordan Wilberding | |
run overlay after release not before | |||
2015-07-18 | fix console_clean in dev_mode by always creating start_clean.boot | Tristan Sloughter | |
2015-07-15 | run overlay after release not before | Tristan Sloughter | |
2015-06-17 | Fixing test for windows, changing symlink to symlink_or_copy | Daniel Widgren | |
2015-06-01 | always include start_clean | Tristan Sloughter | |
2015-06-01 | add include_nodetool option for including nodetool but not extended start script | Tristan Sloughter | |
2015-05-08 | use mustache instead of erlydtl for overlays | Tristan Sloughter | |
2015-02-01 | cleanup: remove unused provider attributes to not complicate code | Tristan Sloughter | |
2015-01-31 | add support for excluding applications from the release | Tristan Sloughter | |
2014-11-22 | if include_erts is false, do not include stdlibs | Tristan Sloughter | |
2014-11-09 | move back to using format_error/1 | Tristan Sloughter | |
2014-11-06 | add option to strip debug_info from beam files if not dev_mode | Tristan Sloughter | |
2014-10-23 | use providers PRV_ERROR and format_error/2 | Tristan Sloughter | |
2014-10-22 | include state in format_error/2 | Tristan Sloughter | |
2014-10-11 | provider task dependencies | Tristan Sloughter | |
2014-07-09 | ensure assembler copies the contents of symlinked dirs | Jamie Winsor | |
2014-05-17 | Merge pull request #183 from jwilberding/fix_rlxv1.0.0 | Tristan Sloughter | |
Fix for #182, which requires we delete a read-only file before overwriti... | |||
2014-05-17 | Fix for #182, which requires we delete a read-only file before overwriting it | Jordan Wilberding | |
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-04 | Cleanup whitespace | Jordan Wilberding | |
2014-05-04 | remove mode change on nodetool and install upgrade escripts | Tristan Sloughter | |
2014-04-07 | Add support for explicit erts path | Jason L. Shiffer | |
Add support for 'include_erts' to be defined as a path to an external erlang release. This will allow for relx to include cross-compiled erts builds. include_erts can now be one of three values: true (default), false, or "/path/to/erlang". The symantics do not change unless it is set to a string in which case it only overrides the default lookup "code:root_dir()" with the given path. | |||
2014-04-06 | Windows support | nuex | |
2014-03-08 | assume templates are already compiled, use dtl for files too | nuex | |
2014-03-08 | load scripts from files and templates | nuex | |
2014-03-08 | Merge pull request #135 from hirschenberger/master | Jordan Wilberding | |
Start scripts should honor existing LD_LIBRARY_PATH settings |