1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
Commit graph

24 commits

Author SHA1 Message Date
Lee Hambley
db1bdaeddc Merge pull request #115 from rudionrails/master
ST: Added :copy_via variable to :copy strategy in order to :scp or :sftp (default) to the remote machines
2013-04-02 11:40:37 -07:00
Brad Ison
3ef088024c Escape globs in directory names when using copy_cache
The queue_files method of the copy deploy strategy passes directory
names to Dir.glob. This commit causes glob characters in the path to
be escaped beforehand. Otherwise, directories with names like 'app{1}'
would fail to be matched.
2012-11-28 12:59:22 -06:00
Rudolf Schmidt
405fdeb222 ST: Added :copy_via variable to :copy strategy in order to :scp or :sftp (default) to the remote machines 2012-10-23 13:53:56 +02:00
MasterLambaster
ffe860fd44 Use proper logger form configuration 2012-07-26 10:24:27 +03:00
Despo Pentara
5752213950 extract copy and copy cache strategies to…
their own methods

change file processing to use File.ftype method and change tests to reflect that
2012-03-18 18:36:46 +00:00
David Heath
2c286e3ad9 Don't dereference symlinks when deploying via copy.
The remote checkout strategy does not dereference symlinks, and it seems strange to
have a different behaviour between the two strategies.
2011-10-19 11:09:09 +01:00
Maxime Brugidou
b9d3940e60 Run a build script in Copy deploy strategy
Use the :build_script configuration variable

The build script will be run before compression/exclusion of files,
if a :copy_cache is used, the build will run in the cache directory.
2011-08-17 01:06:14 +02:00
Philippe Rathé
aa5518cdd1 Fix/Support relative path for copy_cache and copy_dir options. 2011-04-05 20:16:10 -04:00
Ross Cooperman
757f98e6b6 Added the -h flag to the tar command(s) generated by the copy strategy. This brings the zip and tar handling of symlinks into alignment (and is probably what most people want anyway). 2011-01-19 23:06:47 -05:00
Lee Hambley
7aadfcd4a1 Applied Jeremy's patch from Lighthouse #77 2009-07-27 15:07:37 +01:00
Fabio Akita
6d1ca8ca50 Make sure the glob matching for copy excludes does not delete parent dirs 2008-09-17 07:52:19 -06:00
Jamis Buck
7cf110452c Allow filename globbing in copy_exclude for the copy strategy [#15 tagged:committed state:resolved] 2008-08-19 08:58:31 -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
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
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
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
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
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
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