aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-09-24Merge pull request #608 from juhlig/patch-1Luis Rascão
PIPE_DIR handling
2017-09-19PIPE_DIR handlingJan Uhlig
As mentioned in the (closed) issue #127, the default pipe directory is not multi-user friendly. When running multiple relx-generated releases as different users, the first to be started will create the /tmp/erl_pipes directory, which the ones starting after that cannot create their pipe dirs in. The ticket mentions that this should be fixed by #154, but I cannot see how this is supposed to solve the issue. Right now, the only way I see is to use prefix the start command with env PIPE_DIR=/some/other/dir/, which is quite cumbersome. This change will work exactly as before when PIPE_DIR is explicitly set. In case PIPE_DIR is not set, however, it will first attempt to create the parent dir /tmp/erl_pipes with mode 1777, which should enable releases being run as other users to create their pipe dirs.
2017-09-12Remove erl.ini on the extended windows script to move erts freely.Agustin Cautin
2017-09-12Do not write erl.ini file with absolute path pointing to the build location.Agustin Cautin
2017-09-12Merge pull request #607 from bitnitdit/find_erts_dir_via_boot_no_dot_erlangLuis Rascão
Prevent .erlang from prepending string to the erl root dir
2017-09-11Prevent .erlang from prepending string to the erl root dirbitnitdit
Any output string from .erlang to stdout will be prepend to code:root_dir(), so it will cause the retrieved dir incorrect. The fix is to start erl with the no_dot_erlang boot file.
2017-09-06extra flags from vm.args to erlsrvBikram Chatterjee
2017-09-06Start top-level applications as early as possible.Konstantin Tcepliaev
2017-08-30Merge pull request #601 from lrascao/fix_non_existing_status_hookTristan Sloughter
Don't fail status script command if empty
2017-07-24Don't use builtin status hook as defaultLuis Rascao
Let people define their own when they want to.
2017-07-20Don't fail status script command if emptyLuis Rascao
2017-07-06Merge pull request #598 from lrascao/otp20v3.23.1Luis Rascão
Add OTP20 support
2017-07-05Add OTP20 supportLuis Rascao
2017-07-05Merge pull request #597 from ferd/bin_windows-path-escapeLuis Rascão
Fixing windows paths for bin scripts
2017-07-05Fixing windows paths for bin scriptsFred Hebert
The syntax for proper path handling when the path may contain parentheses (such as C:\Program Files (x86)\...) requires quoting the entire assignment expression: set "var=%val%" any other way of doing it may interpret the parentheses and cause failures.
2017-06-08Merge pull request #594 from yaoshimax/masterLuis Rascão
Rename gb_tree:tree to gb_trees:tree
2017-06-08rename gb_tree:tree to gb_trees:treeYoshikazu Aoshima
2017-06-07Merge pull request #593 from bmodra/masterLuis Rascão
Windows bat file has an error, causing upgrade to not work
2017-06-06when calling the new install_upgrade.escript, the first parameter needs to ↵Brian Modra
be 'install' or 'unpack'
2017-05-24Merge pull request #592 from ruanpienaar/masterv3.23.0Luis Rascão
Update README.md
2017-05-24Update README.mdRuan Pienaar
2017-05-15Merge pull request #591 from lrascao/feature/travis_OTP19.3Tristan Sloughter
Have Travis run on latest OTP19.3
2017-05-15Merge pull request #590 from lrascao/feature/extended_start_script_statusTristan Sloughter
Feature/extended start script status
2017-05-15Add custom status hook to extended scriptLuis Rascao
Provide a status command to start script which, by default, runs a builtin hook that simply prints which applications are running in the node. This hook can then be customized to print whatever the user wants by adding {status, [{custom, "path/to/hook"}]} to already existing extended_start_script_hooks.
2017-05-15Ensure mustache does not html escape hook invocationsLuis Rascao
2017-05-15Have Travis run on latest OTP19.3Luis Rascao
2017-05-15Merge pull request #568 from talentdeficit/patch-1Luis Rascão
add osx configuration to .travis.yml
2017-05-15add osx configuration to .travis.ymlalisdair sullivan
2017-05-14Merge pull request #585 from lrascao/fix/rewrite_otp_appsLuis Rascão
Only ensure kernel,stdlib for empty dep apps
2017-05-12Merge pull request #589 from essen/relups-dont-need-compilerLuis Rascão
Don't require compiler in the release for relups
2017-05-12Don't require compiler in the release for relupsLoïc Hoguin
2017-05-09Merge pull request #588 from djnym/chmod-overlayLuis Rascão
Add the ability to chmod files in the overlay.
2017-05-08Add the ability to chmod files in the overlay.Anthony Molinaro
Two types are supported, direct chmoding, like {chmod, 8#00700, "path/to/file/maybe/with/{{templates}}" } or templating the permission where you have a template var like {file_perm, 8#00700} and an overlay {chmod, "{{file_perm}}","path/to/file/maybe/with/{{templates}}" }
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