Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-26 | Revert "remove rlx_topo since all systools >=R15 have a working sort of apps" | Tristan Sloughter | |
This reverts commit 701da7b9f2dfb872351b56938f7aed5bff0d79c7. | |||
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-07 | Silence remaining dialyzer errors | Luis Rascao | |
2016-10-06 | Merge pull request #515 from lrascao/feature/erts_include_src | Tristan Sloughter | |
Don't include erts src when user requests src not be included | |||
2016-10-06 | Fixed overlay_vars handling. | Alexander Sedov | |
Overlay_vars obey order, you cannot just umerge them. Additionally, command line overrides should be more powerful than config values. | |||
2016-10-03 | Don't include erts src when user requests src not be included | Luis Rascao | |
Using the include_src option | |||
2016-09-25 | Silence dialyzer warnings | Luis Rascao | |
Fix/add method specs, remove unreachable branches, make rlx_util:render/2 accept both iolists and binaries. | |||
2016-09-16 | Fix typo in log printout when disable_rel_discovery is set | Siri Hansen | |
Disbaled -> Disabled | |||
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-03-15 | Fixed template args order bug | Kozlov Yakov | |
2016-02-18 | allow 'false' to tell relx to not create a sys.config or vm.args | Tristan Sloughter | |
2016-02-18 | fix bug building tarfile if vm.args doesn't exist | Tristan Sloughter | |
2016-02-16 | Fix case for applicaiton:get_env | Heinz N. Gies | |
2016-02-16 | Use an app_env to get color intensity | Heinz N. Gies | |
2016-02-11 | Fix typo | Heinz N. Gies | |
2016-02-09 | Add low / high color mode | Heinz N. Gies | |
2016-02-05 | Merge pull request #443 from tsloughter/masterv3.15.0 | Jordan Wilberding | |
dammit, must split the path to use prefix to check for cycles | |||
2016-02-05 | targetdir may be list not binary, convert before comparing | Tristan Sloughter | |
2016-02-04 | dammit, must split the path to use prefix to check for cycles | 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 | |
2016-01-12 | format filename as string in warning message | Tristan Sloughter | |
2016-01-12 | move missing beam and other app warnings to debug messages | Tristan Sloughter | |
2016-01-11 | remove rlx_topo since all systools >=R15 have a working sort of apps | 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-12-04 | replace last, not first when merging cli and config terms | Tristan Sloughter | |
2015-12-04 | don't reverse the config terms if there are cli args | Tristan Sloughter | |
2015-11-22 | update hex metdata, switching contributors to maintainers | Tristan Sloughter | |
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 | use the configured logging for error output | Tristan Sloughter | |
2015-11-21 | include lib dir if it exists, erl_interface is an ex. with a lib | Tristan Sloughter | |
2015-11-21 | support overriding config values with per-release config values | Tristan Sloughter | |
2015-11-19 | move relup successfuly created log message to after it is sucessfully written | Tristan Sloughter | |
2015-11-19 | relup successfully created message should be an info log not an error | Tristan Sloughter | |
2015-11-19 | update neotoma plugin | Tristan Sloughter | |
2015-09-28 | Revert "Fix possible copy-paste bug in rlx_prv_assembler" | Tristan Sloughter | |
2015-09-19 | update erlware_commons, remove unneeded 'v' prefix hack and back to 'git' vsn | Tristan Sloughter | |
2015-09-16 | remove unneeded ifdefs and change from NOTEST to TEST define | Tristan Sloughter | |
2015-09-04 | Fix possible copy-paste bug in rlx_prv_assembler | Dmitry Ivanov | |
2015-08-24 | version bump | Tristan Sloughter | |
2015-08-24 | fix error message for template file that doesn't exist | Tristan Sloughter | |
2015-07-29 | Possibility for plugins to create custom actions/tasks | Pavel Khusainov | |
Before this commit user side provider wasn't able to create custom action. Now we're parsing actions/targets in `rlx_cmd_args` we didn't check them, just converting to atoms. In order to display error message about wrong action, we have to add another check in `relx:run_providers` function. |