aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-04-09Only ensure kernel,stdlib for empty dep appsLuis 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-20Merge pull request #567 from ↵v3.22.4v3.22.3Tristan Sloughter
lrascao/feature/empty_application_apps_silently_skipped Ensure stdlib,kernel as application dependencies
2017-03-20Ensure stdlib,kernel as application dependenciesLuis Rascao
Make this dependency explicit as it was causing apps with empty application lists to not be included in the generated release.
2017-03-14Merge pull request #579 from lrascao/fix/osx_readlinkTristan Sloughter
Fix OSX readlink
2017-03-14Merge pull request #563 from lrascao/feature/replace_os_vars_app_config_testTristan Sloughter
Only use multi-node sys.config if requested when replacing OS vars
2017-03-14Merge pull request #575 from lrascao/feature/no_debug_infoTristan Sloughter
Don't drop debug info on default build
2017-03-12Fix OSX readlinkLuis Rascao
It does not support the -f option.
2017-03-11Only use multi-node sys.config if requested when replacing OS varsLuis 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-03-11Don't drop debug info on default buildLuis Rascao
Drop it only when generating relx escript.
2017-03-09Merge pull request #574 from lrascao/feature/drop_export_allTristan Sloughter
Drop use of export_all erlc directive
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