Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
il y a 13 ans
Nick Vatamaniuc
8d82330802
Add rsync as another option to fetch dependencies
Newly added syntax:
{deps, [ {<depname>, ".*", {rsync, "<rsync_url>"}}, ... ]}
Where rsync_url is any URL accepted by the rsync command.
il y a 13 ans
Tuncer Ayaz
32ddef7158
Remove alt_url support in favor of new features
il y a 13 ans
Tuncer Ayaz
ae178b851b
Fix #209 (Reported-by: Bjorn Bylander)
Use correct ERL_LIBS separator on Windows.
il y a 13 ans
Adam Schepis
03a026f38f
Add support for alternate dependency urls
This change adds the ability to use alternate urls for downloading
dependencies. To make use of alternate urls run:
rebar get-deps alt_urls=true
il y a 13 ans
Tuncer Ayaz
cab1671ea0
Add missing newline for logging code path update
il y a 13 ans
Bob Ippolito
a54dd53673
Treat HEAD as a branch to fix regressions caused by 3ef7db5
il y a 13 ans
Tuncer Ayaz
147d5e3b56
Remove gratuitous space in debug log
il y a 13 ans
Tim Watson
86325b616d
Allow plugins to participate in pre and post processing
This patch modifies rebar_core to allow plugins to participate in the
pre and post processing steps, giving plugin authors more flexibility
and control.
il y a 13 ans
Anton Lavrik
7b90cc4707
Export $REBAR_DEPS_DIR and $ERL_LIBS variables
Export two extra environment variables when executing shell commands.
These variables are useful for rebar hooks that rely on Erlang
applications installed as rebar dependencies.
$REBAR_DEPS_DIR contains a fully-qualified name of the directory where
rebar stores dependencies.
$ERL_LIBS is set to $REBAR_DEPS_DIR or to "$REBAR_DEPS_DIR:$ERL_LIBS",
if $ERL_LIBS was defined before.
il y a 14 ans
Tuncer Ayaz
c3a4ed292e
Clean up and fix vcs functions and logging
il y a 13 ans
Ben Ellis
3ef7db59cb
Add support for checking out specific git commit
il y a 13 ans
Tuncer Ayaz
45f44c2166
Fix {git,Url} support (Reported-by: Garrett Smith)
il y a 14 ans
Dave Smith
85eb2957c3
Add list-deps command
il y a 14 ans
Tuncer Ayaz
fa38ed64cc
Simplify find_dep_in_dir
il y a 14 ans
Tuncer Ayaz
85e820096d
Fix comments
il y a 14 ans
Christopher Brown
0a603435f5
honor local deps before code path
il y a 14 ans
David Reid
3241165ced
Support 2 forms of implicit HEAD for git
In git origin/HEAD is a pointer to the default branch. This patch
allows two alternatives to explicitly specifying "HEAD" in git VC specs.
The first is a 2 arity form {git, Url} and the second is {git, Url, ""}
which worked in pre-update-deps rebars.
il y a 14 ans
Tuncer Ayaz
63de05d914
Clean up code
il y a 14 ans
Tuncer Ayaz
c466076ffb
Clean up emacs file local variables
il y a 14 ans
Tuncer Ayaz
e4036cbe56
Apply Tidier suggestions
il y a 14 ans
Tuncer Ayaz
422beee324
Return more descriptive dependency errors
il y a 14 ans
Juhani Rankimies
52ca7795fe
Unify executable invocation
Add flags to rebar_utils:sh to control output and error handling.
Replace calls to os:cmd with calls to rebar_utils:sh.
il y a 14 ans
Tuncer Ayaz
d8e50e8c2d
Implement update-deps and disable auto update
il y a 14 ans
Tuncer Ayaz
07269ebdb9
Add VCS dir check for bzr and svn
il y a 14 ans
Dave Smith
3e12630f23
Check for VCS directory before attempting source update.
il y a 14 ans
Adam Kocoloski
8118083122
Return descriptive errors from is_app_available()
il y a 14 ans
Misha Gorodnitzky
064195dc5a
Fix git tag and branch dependency handling
Change git downloads and updates to not create branches and fix git
tag handling.
il y a 14 ans
Anders
c604d85ed5
Create ebin directory if it is missing for deps
il y a 14 ans
Kostis Sagonas
7dc76d578e
Tidier improvements
il y a 14 ans
David Reid
968ef1cc77
First pass at updating dependencies (svn, hg, bzr untested)
il y a 14 ans
Kostis Sagonas
e024778599
Dialyzer related cleanups
il y a 14 ans
Tuncer Ayaz
2f1d527ef1
Fix bug 676
The previous fix to relax the regex was insufficient.
This is basically the diff proposed by Bryan Fink with
the difference of using 'C' instead of 'en_US'.
il y a 14 ans
Tuncer Ayaz
0a05775eed
Make SVN version matching locale agnostic
Reported-by: Manuel Duran Aguete <manuel@aguete.org>
il y a 14 ans
Tuncer Ayaz
e33285aeaf
Fix dialyzer warnings in scm client vsn checks
il y a 14 ans
Tuncer Ayaz
d590c18b5a
Fix dialyzer warning for filename:join/2 calls
il y a 14 ans
Benjamin Nortier
ed8ecf751f
Added support for checking out tags from git
il y a 14 ans
Dave Smith
ce74846e4e
Fix bug 499; do not delete dependencies that are not in the deps/ directory
il y a 14 ans
Juhani Rankimies
de716e1852
fix get-deps on win32
il y a 14 ans
Dave Smith
ad7a494bde
Change semantics of skip_deps=true such that deps still get pre/post processed, just not actually run
il y a 15 ans
Russell Brown
7d6f04b42f
Stuffed in a global for deps dir.
*If* there is a deps_dir tuple in the root rebar.config then
that is used globally as the deps dir. This is to stop dependencies for dependencies being
created in a different deps_dir even if the sub dependency so specifies.
il y a 15 ans
Dave Smith
8f9300124e
Make delete-deps a bit smarter
il y a 15 ans
Dave Smith
6efd2516ce
Re-add support for delete-deps
il y a 15 ans
Dave Smith
a86cb0b4fa
Re-add support for skip_deps
--HG--
extra : rebase_source : bd95812644
il y a 15 ans
Dave Smith
3df1d4292a
Heavy-duty refactor to support truly transitive dependencies
--HG--
extra : rebase_source : 41c7f1c337
il y a 15 ans
Bob Ippolito
fc58d12820
fix hg and git clone commands for when repo does not exactly match application name
il y a 15 ans
David Reid
b85c0b4515
Add a global config option skip_deps which when present will cause dependencies not to be added to the list of directories to process, useful for ./rebar skip_deps=true eunit so that you don't run the tests of every dependency.
il y a 15 ans
Dave Smith
c19b8ac003
Refactoring app file access to be via rebar_app_utils in prep for supporting .app.src
il y a 15 ans
Dave Smith
8f85d70897
Verify that we work with minimal git of 1.5
il y a 15 ans
Dave Smith
aea6f66939
Tested mercurial checkout down to 1.1
il y a 15 ans