Permalink
Commits on Jan 10, 2012
Commits on Nov 9, 2011
Commits on Nov 8, 2011
Commits on Nov 4, 2011
Commits on Nov 2, 2011
  1. Stop applications before killing extra processes

    klajo authored and tuncer committed Oct 31, 2011
    This means that applications get a chance to shut down themselves,
    before rebar will start killing their processes.  This avoids ERROR
    REPORTS from application supervisors.
Commits on Nov 1, 2011
  1. Fix rebar_utils:expand_env_variable/3

    jkloetzke authored and tuncer committed Nov 1, 2011
    The function may fail with a badarg exception because the first regex
    returns an iolist() which is allowed to be a improper list. In this case
    '++' cannot append to the iolist. The correct way to append something to
    an iolist() is
    
      [iolist(), "tail"]
    
    because iolist's are allowed to be arbitrarily deep lists.
Commits on Oct 26, 2011
  1. Fix formatting

    tuncer committed Oct 26, 2011
  2. Fix comments and formatting

    tuncer committed Oct 26, 2011
  3. Overhaul environment expansion for better performance

    dizzyd authored and tuncer committed Oct 26, 2011
    The introduction of setup_env as a global concept caused the rebar_port_compiler
    implementation to start getting called a LOT. The expansion of environment variables
    that happens in the port compiler was O(n^n), which means you could see upwards of
    80k invocations of lists:foldl on a single app "./rebar clean". This commit reworks
    the expansion to be O(n^2), and reduces the running time for the same operation by
    60%+. On a large project like Riak, the end result is that a build went from 200
    seconds to 73.
  4. Fix deps_dir sample config

    tuncer committed Oct 26, 2011
Commits on Oct 25, 2011
Commits on Oct 22, 2011
  1. Add -D option

    tuncer committed Oct 22, 2011
Commits on Oct 21, 2011
Commits on Oct 20, 2011
  1. Update THANKS file

    tuncer committed Oct 20, 2011
  2. Add possibility to make symbolic links

    szemek authored and tuncer committed Sep 28, 2011
    Simple feature, useful to make link to something without copying it.
  3. Work around functions not found in source

    lefant authored and tuncer committed Sep 22, 2011
    For parameterized modules, the beam code will have a compiler
    generated new/1 and instance/1 function.
    
    If while checking the beam, xref detects one of those is unused, the
    rebars xref wrapper will try to find the location of the definition of
    that function in the source code for the module (to give a more
    specific warning to the user). Since the function was generated by the
    compiler it does not actually exist in the source, and rebar crashes
    at that stage. This patch works around that issue.
  4. Add overlay command to run overlays only

    Steven Gravell authored and tuncer committed Sep 27, 2011
    required for building on a different machine to what your live
    config is kept on. This way you can build on one machine,
    distribute to new machine, then run overlays against a live
    config to prevent accidently running code against a live
    config in a development or ci environment.
  5. Setup code path prior to calling edoc

    norton authored and tuncer committed Oct 15, 2011
    Setup code path prior to calling edoc so that edown, asciiedoc,
    and the like can work properly when generating their own
    documentation.
  6. Allow plugins to participate in pre and post processing

    hyperthunk authored and tuncer committed Sep 18, 2011
    This patch modifies rebar_core to allow plugins to participate in the
    pre and post processing steps, giving plugin authors more flexibility
    and control.
  7. rebar_utils:sh/2: remove bash invocation on Windows

    jkloetzke authored and tuncer committed Sep 29, 2011
    Currently rebar_utils:sh/2 will invoke all commands through bash.exe if
    found. Otherwise the command will be executed directly. Despite the fact
    that the caller cannot know if the command is executed with Unix or
    Windows semantics it leads to problems with MSYS's automatic path name
    translation.
    
    Therefore remove bash usage on Windows to get a consistent behavior and
    to avoid the peculiarities of MSYS's automatic path conversion. Instead
    use cmd.exe as its typically needed by most commands.
  8. Don't run erl_args through set_trim

    xenolinguist authored and tuncer committed Oct 20, 2011
    Args provided by erlsrv.exe were being mostly
    discarded due to being processed through set_trim
Commits on Oct 18, 2011
  1. Better code path handling during upgrades

    joewilliams
    joewilliams committed Oct 18, 2011
    While building a upgrade package rebar will add new paths to the
    internal erlang path, these paths and their order have effects on how
    the package is built. This patch should fix some corner cases where a
    user can receive a "undefined application" error.
Commits on Oct 17, 2011
  1. Copy sys.config into upgrade tarball

    joewilliams
    joewilliams committed Oct 17, 2011
    While building an upgrade the sys.config file should be copied into the
    upgrade tarball so release_handler:install_releases/1 does not clobber
    the existing configuration from the application environment.
Commits on Oct 15, 2011
  1. More descriptive logging for upgrade systools cmds

    joewilliams
    joewilliams committed Oct 14, 2011
    In debugging upgrade issues it is sometimes difficult to know which
    systools step a error ocurred at, a little extra logging to fix that.
Commits on Oct 14, 2011
Commits on Oct 11, 2011
  1. Support for custom version commands

    hyperthunk authored and tuncer committed Oct 6, 2011
    This patch adds support for customising the way in which rebar generates
    version numbers for app.src files using the `{vsn,Spec}` approach.
    Whilst the existing `{vsn,ScmName::atom()}` syntax will continue to
    work, users can also pass `{vsn,{cmd,Cmd::string()}}` in which
    case the provided *command* will be used. For example:
    
    ```erlang
    {application, doodah,
     [
      {vsn, {cmd, "git rev-parse --short HEAD"}}]}.
    ```
Commits on Oct 6, 2011
  1. Handle vm.args properly while building upgrades

    joewilliams
    joewilliams committed Oct 6, 2011
    This patch corrects the vm.args behavior while building upgrade tarballs
    by copying the file from the release into the upgrade. Additionally it
    patches the dummy runner script in the upgrade test project to work
    properly.