aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_overlay.erl
AgeCommit message (Collapse)Author
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-09-25Silence dialyzer warningsLuis Rascao
Fix/add method specs, remove unreachable branches, make rlx_util:render/2 accept both iolists and binaries.
2016-03-15Fixed template args order bugKozlov Yakov
2015-08-24fix error message for template file that doesn't existTristan Sloughter
2015-05-08use mustache instead of erlydtl for overlaysTristan Sloughter
2015-04-23update for 18.0Tristan Sloughter
2015-04-01support symbolic link overlays in dev_modeDavid Best
If dev_mode=true, an overlay action of 'link' will create the target as a symbolic link, otherwise it will be copied. In any case, the target will be copied, not linked, in the .tar file.
2015-02-19support overlay file inclusionLuis Rascao
allow overlay inclusion of other files, similarly to what OTP already does in sys.config files
2015-02-01cleanup: remove unused provider attributes to not complicate codeTristan Sloughter
2014-12-13render overlay filenames for tar archiveTristan Sloughter
2014-11-09move back to using format_error/1Tristan Sloughter
2014-10-23use providers PRV_ERROR and format_error/2Tristan Sloughter
2014-10-22include state in format_error/2Tristan Sloughter
2014-10-11support config passed in as proplist instead of filenameTristan Sloughter
2014-10-11provider task dependenciesTristan Sloughter
2014-05-19Add {out_dir, false} to ERLYDTL_COMPILE_OPTSPaul Schoenfelder
2014-03-05Set auto_escape to false for erlydtl compilationPaul Oliver
2014-02-17Update erlydtl to v0.9.0Andreas Stenius
2013-10-28support using the original app vsn as a string not the parsed vsnEric
2013-10-15ignore empty list of overlay vars to fix unneeded warningTristan Sloughter
2013-10-14remove rlx log and use ec_cmd_log insteadEric
2013-10-12support list of overlay_vars files. This closes #4Tristan Sloughter
2013-10-10fix non-path includes to be include instead of include_libTristan Sloughter
2013-10-07include relx header with include instead of include_libTristan Sloughter
2013-09-16improved user output lookTristan Sloughter
2013-09-13support copying full directories in overlaysTristan Sloughter
2013-06-20Add support for {vm_args,_} argument in configOlav Frengstad
2013-05-10internal rename completion of all relcool to relx callsEric
2013-05-09Basic file rename from rcl to rlxEric