aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-11-26Fix duplicated methodLuis Rascao
Introduced while merging PRs 445, 541
2016-11-26Merge pull request #541 from lrascao/feature/exclude_modulesTristan Sloughter
Provide a new config directive that allows per-app module exclusion
2016-11-26Merge pull request #539 from lrascao/feature/add_pr2relnotes_scriptTristan Sloughter
Add script to help in generating release changelog
2016-11-26Merge pull request #536 from lrascao/fix/downgrade_non_permanent_versionTristan Sloughter
Allow upgrade/downgrade from non-permanent versions
2016-11-26Merge pull request #445 from lrascao/feature/extended_script_hooksTristan Sloughter
Add support for new relx directive that provides start/stop script hooks
2016-11-21Provide a new config directive that allows per-app module exclusionLuis 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-15Add script to help in generating release changelogLuis Rascao
2016-11-12Add support for new relx directive that provides start/stop shell script hooksLuis 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-11Allow upgrade/downgrade from non-permanent versionsLuis Rascao
Now that you can upgrade to a new version without setting it as permanent you should also be able to downgrade from it, this allows downgrading or upgrading to a version that is already marked as permanent but is not actually currently running.
2016-11-11Refactor foreground commandLuis Rascao
Move it next to console since it's mostly the same thing but with extra parameters.
2016-11-11Merge pull request #427 from saleyn/varsLuis Rascão
Remove name collisions of replaced files in multi-node setups
2016-11-09Remove name collisions of replaced files in multi-node setupsSerge Aleynikov
2016-10-30Merge pull request #535 from lrascao/feature/optional_permafy_relupTristan Sloughter
Feature/optional permafy relup
2016-10-30Allow optionally setting a release as permanent after relupLuis Rascao
Support a command line argument to the `upgrade`/`downgrade` commands: `--no-permanent`, if this is set the release will be unpacked, installed and be made current but not permanent, when the user is confortable with the outcomehe can issue the same command a second time without the `--no-permanent` option.
2016-10-30Provide per-command command line helpLuis Rascao
2016-10-30Merge pull request #474 from soranoba/uninstallLuis Rascão
Support the uninstall command. (release_handler:remove_release/1)
2016-10-31add versions in command helpsoranoba
2016-10-31Support the uninstall command. (release_handler:remove_release/1)soranoba
2016-10-30Merge pull request #534 from lrascao/fix/install_upgrade_script_head_mismatchLuis Rascão
Fix head mismatch
2016-10-30Fix head mismatchLuis Rascao
2016-10-30Merge pull request #505 from ↵Luis Rascão
lrascao/feature/flexible_release_package_location_on_relups Feature/flexible release package location on relups
2016-10-29Allow for a more flexible relup package locationLuis Rascao
Instead of forcing the user to put the tarball package with the expected name (<relname>.tar.gz)and in the expected location (releases/<version>) symlink this fixed file name to a tarball existing in one of three different places (releases/, releases/<version>, releases/<version>/<relname>.tar.gz). Refactor the install/upgrade escript to make it more dynamic, it now runs commands that are passed from the start script while accepting a variable number of arguments. Add a `versions` command to the extended start script that prints out the currently installed versions and their status.
2016-10-28Fix upgrade/downgrade/install usageLuis Rascao
The second argument is actually the version and not the package name.
2016-10-28Merge pull request #526 from GoelDeepak/masterLuis Rascão
Patch to fix #523
2016-10-27tch to fix #523Deepak Goel
Issue 1: If RELX_REPLACE_OS_VARS is true then existing vm.args (sys.config) file is renamed to vm.arg.orig (sys.config.orig) and a new vm.args (sys.config) is generated. However, if for some reason new vm.args (sys.config) is not generated then system ends up without a valid vm.args (sys.config) file and keeps failing thereafter. Issue 2: Continuing from issue 1, if the system does not have sufficient disk space or the current directory is immutable then new vm.args (sys.config) will not be generated. This patch tries to fix both the above issues by keeping the existing vm.args (sys.config) untouched and creates a new vm.args (sys.config) in /tmp directory
2016-10-27Merge pull request #528 from lrascao/feature/nicer_templates_ngLuis Rascão
Feature/nicer templates ng
2016-10-27add commented out +Bi optionBen Murphy
+Bi disables the erlang break functionality
2016-10-27ensure an appropriate TERM var is setBen Murphy
useful if deploying erlang nodes via capistrano when TERM is not set correctly attaching to the node will result in weirdness
2016-10-27disable ctrl-s block node featureBen Murphy
(see: http://erlang.org/pipermail/erlang-patches/2010-March/000883.html)
2016-10-27Merge pull request #531 from lrascao/fix/console_cleanLuis Rascão
Give code path access to console_clean
2016-10-27Give code path access to console_cleanLuis Rascao
To allow manually loading and starting up applications.
2016-10-27Merge pull request #527 from lrascao/feature/replace_os_vars_testLuis Rascão
Feature/replace os vars test
2016-10-27Fix replace os vars functionalityLuis 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-27Merge pull request #530 from lrascao/fix/bring_back_topo_sortLuis Rascão
Revert "remove rlx_topo since all systools >=R15 have a working sort of apps"
2016-10-26Revert "remove rlx_topo since all systools >=R15 have a working sort of apps"Tristan Sloughter
This reverts commit 701da7b9f2dfb872351b56938f7aed5bff0d79c7.
2016-10-25Merge 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-25Always include nodetool when generating extended start scriptLuis Rascao
Remove redundant check for extended_start_script. Add tests that enforce this invariant.
2016-10-18Merge pull request #525 from cybernetlab/masterLuis Rascão
Fixed: #524. Erts src folder existence check added
2016-10-18Fixed: #524. Erts src folder existence check addedAlexey Ovchinnikov
2016-10-07Merge pull request #521 from lrascao/feature/bump_latest_otp19v3.21.1Tristan Sloughter
Bump latest OTP19
2016-10-06Merge pull request #520 from lrascao/feature/dialyzer_profileTristan Sloughter
Feature/dialyzer profile
2016-10-07Bump latest OTP19Luis Rascao
2016-10-07Silence remaining dialyzer errorsLuis Rascao
2016-10-07Add dialyzer profileLuis Rascao
Add debug_info to all deps.
2016-10-06Merge pull request #503 from lrascao/fix/update_paths_on_install_releaseTristan Sloughter
Always ask release handler to update paths on relup
2016-10-06Merge pull request #515 from lrascao/feature/erts_include_srcTristan Sloughter
Don't include erts src when user requests src not be included
2016-10-06Merge pull request #519 from ElectronicRU/masterTristan Sloughter
Fixed overlay_vars handling.
2016-10-06Fixed 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-03Always ask release handler to update paths on relupLuis Rascao
When performing a relup that involves starting a new application we need to inform release handler that the code paths need to be updated to account for the new apps. Otherwise the relup instruction application:start/2 will fail since it is unable to find the .app file.
2016-10-03Don't include erts src when user requests src not be includedLuis Rascao
Using the include_src option