Ryan McGeary
9bffb1af46
Improved test coverage for RemoteDependency
2008-05-29 15:54:40 -07:00
Jamis Buck
4c793391c4
Merge branch 'rmm5t/coverage' into dev
2008-05-24 22:03:49 -06:00
Ryan McGeary
c5cdb75fbf
Improved test coverage for LocalDependency
2008-05-22 14:16:45 -04:00
Tim Harper
3777ddcd57
Display a deprecation error if a remote git branch is specified
...
Capistrano 2.2 allowed you to do this:
set :branch, "origin/release"
In capistrano 2.3, the correct syntax is now:
set :branch, "release"
This change will cause capistrano to show a helpful error message for those upgraders who have been using the 'origin/release' syntax.
2008-05-16 14:21:06 -06:00
Ryan McGeary
32d0b9a7df
Renamed test for error handling to be more specific
2008-05-12 23:42:01 -04:00
Ryan McGeary
ebe3d9eecb
Improved test coverage for copy strategy compression.
...
DRY'd up the compression type lookups and invalid compression type error handling.
2008-05-12 23:36:51 -04:00
Jamis Buck
1f3fdf3079
Use upload() instead of put() with the copy strategy
2008-05-06 21:03:30 -06:00
Jamis Buck
15e9ed54d8
Revert "Make sure git fetches include tags"
...
This reverts commit 838f6abd74
.
[#6 tagged:reverted]
2008-05-06 20:44:33 -06:00
Ryan McGeary
230b210995
Fix for deploy:pending while using git. git log
requires a ..
following the from revision even if the to revision isn't specified; otherwise the log goes backwards starting at the from revision instead of finding all newer commits after the current from revision. For example, git log <from_revision>..
is required instead of just git log <from_revision>
2008-05-05 23:07:22 -04:00
Jamis Buck
838f6abd74
Make sure git fetches include tags [ #6 tagged:committed status:resolved]
2008-05-02 14:42:26 -06:00
Jamis Buck
b4bd52826c
fix tests to depend on a preset load path rather than an explicit require path in each
2008-04-25 09:21:12 -06:00
Jamis Buck
ec9a7fa52c
Use correct source for query_revision [ #4 tagged:committed state:resolved]
2008-04-24 22:37:02 -06:00
Jamis Buck
9e07fd2a23
for cached local copies, do the exclude and the copy in the same step, it is much faster
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@9005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-10 21:08:57 +00:00
Jamis Buck
8e639fe393
allow :copy_exclude to work for both normal and cached copies
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-08 19:31:50 +00:00
Jamis Buck
bf89d31d39
Improved "copy" strategy, including support for local caching and pattern exclusion
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-08 19:07:46 +00:00
Jamis Buck
645fff0ac5
Fix git SCM module unit tests ( closes #11221 )
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-02-28 03:38:15 +00:00
Jamis Buck
07d777b746
Add support for password prompts for Mercurial SCM ( closes #11187 )
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-02-23 04:04:27 +00:00
Jamis Buck
a06a802168
Distributed git support for better operability with remote_cache strategy ( closes #11137 )
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-02-22 03:38:08 +00:00
Jamis Buck
76957eeeef
make the tests pass again
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-02-19 23:37:50 +00:00
Jamis Buck
5f2e2788a1
Add test case from #10515 to show that scm_command is honored by the git module. (The rest was implemented as a side-effect of [8755]. closes #10515 )
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@8759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-31 04:55:21 +00:00
Jamis Buck
bf3423ae33
explicitly require stringio in copy_test
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-13 14:22:14 +00:00
Jamis Buck
3a2df2deb9
Git SCM module ( closes #9635 )
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-30 15:04:57 +00:00
Jamis Buck
e5a0d29f44
fix tests broken by [7376]
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-08-30 14:43:12 +00:00
Jamis Buck
03522bf7c1
Add Accurev SCM support ( closes #9238 )
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-08-30 14:17:10 +00:00
Jamis Buck
5089e08d95
Added :copy_remote_dir for :copy strategy to indicate where the file should be copied to
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-27 02:41:26 +00:00
Jamis Buck
8d98302a40
copy strategy should chdir to local tmpdir before building tarball
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-11 03:12:05 +00:00
Jamis Buck
241ebb08e1
Allow (e.g.) scm_command and local_scm_command to be set in the event of different paths to the scm command on local vs. remote hosts
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-09 03:36:26 +00:00
Jamis Buck
c472b3641f
Start writing tests for the deployment code. Make the copy strategy checkout to a customizable tmpdir, instead of merely using cwd
...
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-27 02:20:21 +00:00