Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-14 | Merge pull request #585 from lrascao/fix/rewrite_otp_apps | Luis Rascão | |
Only ensure kernel,stdlib for empty dep apps | |||
2017-05-08 | Add the ability to chmod files in the overlay. | Anthony Molinaro | |
Two types are supported, direct chmoding, like {chmod, 8#00700, "path/to/file/maybe/with/{{templates}}" } or templating the permission where you have a template var like {file_perm, 8#00700} and an overlay {chmod, "{{file_perm}}","path/to/file/maybe/with/{{templates}}" } | |||
2017-04-09 | Only ensure kernel,stdlib for empty dep apps | Luis Rascao | |
Do not try and ensure them for every app, there are some OTP apps that only require kernel and there's really no point in rewriting those. | |||
2017-03-20 | Ensure stdlib,kernel as application dependencies | Luis Rascao | |
Make this dependency explicit as it was causing apps with empty application lists to not be included in the generated release. | |||
2017-03-11 | Only use multi-node sys.config if requested when replacing OS vars | Luis Rascao | |
When replacing OS vars only create multi-node sys.config files (ie. filenames containing the node name) only if explicitly requested. This is necessary because inclusion of other config files inside of sys.config is only allowed if the file is actually called sys.config and nothing else. | |||
2017-01-03 | Add test coverage for long node name releases | Luis Rascao | |
2016-12-18 | Obtain release node name from Erlang VM instead of OS | Luis Rascao | |
2016-11-26 | Fix duplicated method | Luis Rascao | |
Introduced while merging PRs 445, 541 | |||
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-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 | |