summaryrefslogtreecommitdiff
path: root/src/rebar_rel_utils.erl
Commit message (Collapse)AuthorAgeFilesLines
* Additional fixes and modificationFred Hebert2014-11-211-5/+5
| | | | | | - Updating documentation to be more accurate - Style fixes - More precise error messages
* Fix upgrade errorterrencehan2014-06-201-3/+26
|
* Add slim marker file as automatic overlayShunichi Shinohara2014-03-091-0/+8
|
* rebar_rel_utils: remove two lines of noopDaniel Luna2012-07-241-2/+1
|
* Do not use application:set_envTuncer Ayaz2012-07-231-12/+12
|
* Remove shared stateTuncer Ayaz2012-07-131-11/+18
|
* Use file:script if a .config.script file presentUlf Wiger2012-04-161-7/+15
|
* Fix whitespace errorsTuncer Ayaz2012-01-131-5/+5
|
* Add {vsn, _} support for reltool.configAli Sabil2011-12-281-1/+15
|
* Fix and refactor reltool root_dir lookupTuncer Ayaz2011-11-261-18/+31
|
* Limit line lengthTuncer Ayaz2011-11-261-1/+2
|
* Add root_dir option to reltool.configsmithwinston2011-11-261-0/+18
| | | | | | | | | | | | | | | | | When generating a node using rebar generate, rebar always used code:root_dir() to find the Erlang installation to clone into the node tree. However, for anyone wishing to build a cross-compiled node, there was no way to override this. This patch adds a new option to reltool.config file to allow an alternate root_dir to be specified, for example: {root_dir, "/tmp/otp_R14B03_armv7l"} This assumes that the contents of /tmp/otp_R14B03_armv7l has been generated using the instructions found in the xcomp directory in your $ERL_TOP structure. NOTE: you may have to add additional filters to exclude files not present in the xcomp version, such as the .smp files if you have disabled that.
* Get rid of app.configjoewilliams2011-09-201-5/+10
| | | | | | | | | | | | | | | | | | | | app.config has been a long standing erroneous file in rebar. Erlang/OTP documentation suggests a sys.config file instead. This file is stored in the releases/VSN directory. This does a few things but most importantly it ensures your config (contained in the application environment) survives a hot upgrade. It also has the advantage of allowing the configuration of the application to be versioned along side the application code. This patch flips rebar to use sys.config rather than app.config. Additionally it makes this flip to vm.args as well, making them versioned just like sys.config. This patch also includes runner script changes to support the old etc/app.config config file location and support for Windows. Thanks to mokele for the initial work and kick in the pants to make this finially happen.
* Use auto-imported element/2Tuncer Ayaz2011-07-081-2/+2
|
* look for new and old versions in the target parentSteven Gravell2011-07-011-11/+63
| | | | | | | | | | | The target_dir config in reltool allows you to put your release in a directory other than in ./NAME, so we should look in the parent directory of that to find the new and old versions instead of simply looking in ./ Move untaring and retaring into a temporary path instead of in ./ to prevent name collisions with "releases" and "lib" that might exist already. Having a subdirectory rel/releases/ can be useful.
* Better org. of how upgraded apps are determinedjoewilliams2011-05-241-1/+14
| | | | | | get_apps/3 now returns which apps have been added, removed and ugpgraded in a reasonable way. It should prove more usable should we want to access any of those lists in future appup related changes.
* Fix bug that causes appup generation to failjoewilliams2011-03-031-3/+24
| | | | | | | | | This commit changes how rebar determines which apps have been updated, added and removed from a release during appup generation. Rather than use app files it now determines this from the rel file in each version of the release. In addition it fixes a bug reported on the mailing list when generating appups when an application has been added or removed from either release.
* Clean up trailing whitespacejoewilliams2011-02-171-2/+2
|
* Clean up rebar_appups and rebar_upgradejoewilliams2011-02-171-1/+47
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Fix file existence checksTuncer Ayaz2011-01-131-1/+1
|
* Remove warnings reported by xrefKlas Johansson2010-06-191-1/+1
| | | | | | | Replace rebar_util:get_cwd/0 by rebar_utils:get_cwd/0. Luckily the misspelt module name doesn't seem to have caused any harm, since rebar_app_utils:is_app_dir/0 and rebar_rel_utils:is_rel_dir/0 aren't called (only their /1 counterparts).
* Added vi modeline/emacs local variables to file headersTuncer Ayaz2009-12-311-0/+2
|
* Adding first crack at reltool supportDave Smith2009-12-021-4/+5
|
* Initial commitDave Smith2009-11-251-0/+38