aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-02-27Drop use of export_all erlc directiveLuis Rascao
Starting from OTP20 this will trigger a warning, since we use the warnings_as_errors the build would fail when using this OTP release onwards.
2017-02-02Merge pull request #559 from lrascao/feature/fix_crash_on_relup_warningTristan Sloughter
Feature/fix crash on relup warning
2017-02-01Merge pull request #565 from lrascao/feature/fix_read_only_include_ertsTristan Sloughter
Don't rewrite app files if contents are the same
2017-02-01Don't crash on warnings emitted during relupLuis Rascao
Make use of warnings_on_errors option to exit with error or proceed with just a warning.
2017-01-29Don't rewrite app files if contents are the sameLuis 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.
2017-01-28Expose warnings as errors optionLuis Rascao
Obtained from command line and saved in the state to be used on situations where we want to error out on warnings explicitly.
2017-01-11Merge pull request #560 from tsloughter/otp20Luis Rascão
upgrade erlware_commons to 1.0.0 for OTP20 support
2017-01-10upgrade erlware_commons to 1.0.0 for OTP20 supportTristan Sloughter
2017-01-03Merge pull request #557 from lrascao/feature/longname_release_testTristan Sloughter
Add test coverage for long node name releases
2017-01-03Add test coverage for long node name releasesLuis Rascao
2016-12-27Merge pull request #553 from lrascao/feature/fix_longname_releasesv3.22.2v3.22.1Tristan Sloughter
Obtain release node name from Erlang VM instead of OS
2016-12-18Obtain release node name from Erlang VM instead of OSLuis Rascao
2016-12-17Merge pull request #551 from BakoBako/assembler-hooks-rm-rebar-logLuis Rascão
Replace rebar_log in assembler
2016-12-17Replace rebar_log calls to enable relx to build extended script with ↵Aleksandar Markovski
builders other then rebar(Erlang.mk)
2016-11-27Merge pull request #548 from tsloughter/ec-0.22v3.22.0Luis Rascão
upgrade erlware_commons
2016-11-27upgrade erlware_commonsTristan Sloughter
2016-11-27Merge pull request #545 from lrascao/feature/bump_cfTristan Sloughter
Bump cf to 0.2.2
2016-11-26Bump cf to 0.2.2Luis Rascao
2016-11-26Merge pull request #546 from lrascao/fix/bad_mergeTristan Sloughter
Fix duplicated method
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.