aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-05-30Add remote console using shortname test coverage (#643)Luis Rascão
2018-05-30Drop OTP R15/16 from Travis builds (#654)Luis Rascão
rebar3 has dropped support for these so relx needs to go along with the program.
2018-04-11Merge pull request #644 from juise/fix-sed-backupLuis Rascão
Fix backup file creation by sed
2018-04-01Reorder replace_os_vars and node NAME assignmentAlexander Petrovsky
2018-04-01Fix backup file creation by sedAlexander Petrovsky
2018-03-22Merge pull request #642 from konyaris/VMARGS_to_upgrade_escriptLuis Rascão
Extend adding extra args from vm.args to install_upgrade.escript
2018-03-22Extend adding extra args from vm.args to install_upgrade.escriptkonyaris
2018-02-15Merge pull request #640 from juise/masterv3.24.5Luis Rascão
Add extra args from vm.args into escripts and erl
2018-02-15Add extra args from vm.args into escripts and erlAlexander Petrovsky
2018-02-03Merge pull request #638 from tsloughter/bump-ec-1.0.5v3.24.4Luis Rascão
upgrade erlware_commons to 1.0.5
2018-02-02upgrade erlware_commons to 1.0.5Tristan Sloughter
2018-01-03Merge pull request #633 from lucafavatella/extension-exitLuis Rascão
Clarify that extension scripts shall exit
2018-01-02Clarify that extension scripts shall exitLuca Favatella
2017-11-21Merge pull request #627 from erlware/revert-586-feature/replace-defined-os-varsv3.24.3Luis Rascão
Revert "Only print lines for os var that are set"
2017-11-21Revert "Only print lines for os var that are set"Tristan Sloughter
2017-11-20Merge pull request #626 from ferd/windows-remote_consoleLuis Rascão
Windows: support remote_console, fix attach
2017-11-20Windows: support remote_console, fix attachFred Hebert
On Linux, 'attach' uses named pipes, and 'remote_console' uses -remsh. The latter is usually deemed better since named pipes require a call to fsync on every line written. On Windows, no named pipes are available so attach uses -remsh directly. Historically, remote_console was added to linux *after* attach, but no alias was added for it on windows. Since there's a predominance of tutorials using linux-likes, remote_console is widely documented as the way to go, and is unavailable on windows. This is hella confusing. So to work around that, this patch adds an alias for 'attach' on windows to be 'remote_console', bridging the gap. Also the functionality was flat out broken because it would not use a node hostname when connecting out. Since the latest release added that functionality, this patch also fixes attach to work in the first place.
2017-11-17Merge pull request #625 from tsloughter/up-ec-1.0.4v3.24.2Luis Rascão
upgrade erlware_commons to 1.0.4
2017-11-17upgrade erlware_commons to 1.0.4Tristan Sloughter
2017-11-17Merge pull request #624 from ferd/relup-windowsLuis Rascão
Fix release upgrades on Windows
2017-11-17Fix release upgrades on WindowsFred Hebert
Some tool calls were outdated, and in some cases, relied on non-existing features there.
2017-11-17Merge pull request #623 from tsloughter/up-providersv3.24.1Luis Rascão
upgrade providers to have matching getopt versions
2017-11-16upgrade providers to have matching getopt versionsTristan Sloughter
2017-11-16Merge pull request #622 from tsloughter/ec-1.0.3Luis Rascão
upgrade erlware commons to 1.0.3
2017-11-16upgrade erlware commons to 1.0.3Tristan Sloughter
2017-11-12Bump erlware_commons to 1.0.2 (#620)v3.24.0Luis Rascão
2017-11-11Merge pull request #618 from ferd/otp-20-unicode-supportLuis Rascão
OTP-20 unicode support and OTP-21 readiness
2017-11-03Update dependencies for unicode supportFred Hebert
2017-11-01Update getopt depFred Hebert
2017-11-01Maintain no_dot_erlang.boot file in releasesFred Hebert
Had a problem in OTP-21 (master) where escript calls in nodetool would fail since the file is not around and is being used by default there. The patch works by copying its equivalent file, which I belive to be just the start_clean file (their .rel.src are identical), into the same directories as we do for start_clean. Internal errors are renamed to be made neutral.
2017-11-01Support OTP-20 Unicode functionsFred Hebert
Use either optional compilation or version-safe variants of the string functions. Prevents warnings when the switch to OTP-21 will happen.
2017-10-31Merge pull request #617 from lukebakken/pass-arguments-to-run-erlLuis Rascão
Correctly construct HEART_COMMAND and run_erl arguments
2017-10-30Fix printf statement. Backslash is not necessary and dash is picky about itLuke Bakken
2017-10-30Add test that demonstrates that fixes preserve an argument that contains ↵Luke Bakken
both double quotes and a space character
2017-10-25Correctly construct HEART_COMMAND and run_erl argumentsLuke Bakken
The runner script that ships with rebar builds HEART_COMMAND and run_erl arguments that preserve additional arguments the user may have passed: https://github.com/rebar/rebar/blob/master/priv/templates/simplenode.runner#L215-L238 This PR preserves this behavior. In additon, the current code on this line sets $@ but does not do anything with the result: https://github.com/erlware/relx/blob/master/priv/templates/extended_bin#L481-L482 Investigated in response to this ML thread: http://erlang.org/pipermail/erlang-questions/2017-October/093974.html
2017-10-19Merge pull request #586 from expelledboy/feature/replace-defined-os-varsLuis Rascão
Only print lines for os var that are set
2017-10-19Only print lines for os var that are setAnthony Jackson
2017-10-19Merge pull request #465 from filmor/semver-prefixLuis Rascão
Pass prefix through
2017-10-19Merge pull request #616 from koctep/add_boot_var_ERTS_LIB_DIRLuis Rascão
Add boot_var ERTS_LIB_DIR to relx_get_nodename
2017-10-18Add `erts_dir` overlay var (#614)Luis Rascão
Useful for copying custom files from an erts build such as a .kerl.config file.
2017-10-18Start script extensions (#613)Luis Rascão
* Extended start script command extensions Provide a mechanism that allows for the application to extend the list of commands available to be invoked from the start script. An application may be able to define a 'foo' extension that is associated with a 'foo_script' written and maintained by the applicationr, (this association is kept in rebar.config), upon invocation of bin/<release_name> foo the 'foo_script' will then be invoked. * Add test coverage for extension script * Ensure extended script usage argument
2017-10-19Add boot_var ERTS_LIB_DIR to relx_get_nodenameIlya Ashchepkov
2017-10-19Pass prefix through, again.Benedikt Reinartz
2017-10-18Merge pull request #540 from obi458/masterLuis Rascão
win32 cross release on unix and vs
2017-10-18Merge pull request #609 from K2InformaticsGmbH/masterLuis Rascão
[windows] pass extra arguments from vm.args to service
2017-10-17Merge pull request #610 from juhlig/patch-1Luis Rascão
vm.args check for name/sname parameter
2017-10-17added tests for args_file checksJan Uhlig
tests now include if: - start succeeds when the node name is given in a different args file than vm.args - start fails when no node name given - start fails when multiple node names given - start fails when referenced args_file does not exist - start fails when a referenced args_file is not readable - start fails when an args_file is referenced via a relative path - start fails when there are circular dependencies between args_files
2017-10-17more sophisticated args_file checksJan Uhlig
- distinction between non-existing and existing but non-readable args_file - fixed circularity check to include the base vm.args file
2017-10-16Merge pull request #612 from kappac/erl_root_extended_binLuis Rascão
disabling progress reports during erl root check in extended start sc…
2017-10-16Merge pull request #606 from campanja-forks/fix-topo-sortLuis Rascão
Start top-level applications as early as possible.