summaryrefslogtreecommitdiff
path: root/sysutils/capistrano
AgeCommit message (Collapse)AuthorFilesLines
2013-02-11Update capistrano to 2.14.2.taca3-8/+8
## 2.14.1 (tentative) / January 10 2013 ## 2.14.0 / January 9 2013 * Removed ui.output_cols limit of 80 chars (@aussielunix) * Added :p4charset variable for Perforce command line (@randyinla) * Added support for rolling back assets, and removing expired assets (@ndbroadbent) * Merged in `capistrano_colors` gem, and renamed to 'log_formatters', since it does much more than just colors (@ndbroadbent) * Use more intelligence in setting the :scm variable based on known version control directory names (@czarneckid) * Remove the deploy:web:{disable, enable} tasks (@carsomyr) * Group finalize_update shell commands into one command, harden shell calls with #shellescape, and separate arguments with -- (@ndbroadbent)
2012-12-17Update capistrano to 2.13.5.taca3-9/+9
## 2.13.5 (tentative) / October 26 2012 * Merged in `capistrano_colors` gem, and renamed to 'log_formatters', since it does much more than just colors (@ndbroadbent) * Use more intelligence in setting the :scm variable based on known version control directory names (@czarneckid) * Remove the deploy:web:{disable, enable} tasks (@carsomyr) * Group finalize_update shell commands into one command, harden shell calls with #shellescape, and separate arguments with -- (@ndbroadbent)
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-09-16Update capistrano to 2.13.3.taca2-6/+6
## 2.13.3 / August 21 2012 This release contains multiple bugfixes and handling of exotic situations. The `Configuration#capture` method should now work in spite of `ActiveSupport` shenanigans. Thank you, the community, for all of your contributions: * Close input streams when sending commands that don't read input. Dylan Smith (dylanahsmith) * Listen for method definition on `Kernel` and undefine on `Namespace`. Chris Griego (cgriego) * Fixed shell `Thread.abort_on_exception` bug. George Malamidis (nutrun) * Adding a log method to `Capistrano::Deploy::SCM::None` to maintain consistency with other SCM classes. Kevin Lawver (kplawver) * Add deprecation warning if someone uses old `deploy:symlink` syntax on callbacks. Ken Mazaika (kenmazaika) * Simplify the `finalize_update` code by respecting the `:shared_children` variable during removal and recreation of the parent. John Knight (knightlabs)
2012-04-14Update sysutils/capistrano to 2.12.0gls3-7/+8
Upstream changes: ----------------- ## 2.12.0 / April 13 2012 This release revserts the very verbose logging introduced in the previous version, it also enables a handful of power-user features which are largely un-documented, but shouldn't be important unless you are looking for them. Undocumented code shouldn't scare you, simply read through deploy.rb in the Gem if you want to know how a new feature works! * Update mapped commands to remove symlink deprecation warning. Despo Pentara (despo) * Add the "rpm" remote dependency. Nick Hoffman (nickhoffman) * Add commented deploy:cleanup task to default recipe. Jean-Philippe Doyle (j15e) * Teach deploy:web:enable to fail gracefully. Lee Marlow (lmarlow) * Ticket 193 alias task show wrong name when it is not overridden. Rafa García (rgo) * Allow configuration of which roles assets are precompiled on. Frederick Cheung (fcheung) * Fix transfer action to honor dry-run flag. Serg Podtynnyi (shtirlic) * Changed single to double quotes for Windows, fixes a Windows bug in the HG module. Matthew J Morrison (mattjmorrison) * Add UnsharedRemoteCache (copied from eycap gem). Ben Symonds (bensymonds) As ever, a sincere thanks to all contributors, and do not hesitate to contact me if this release causes problems for you.
2012-03-18Update capistrano to 2.11.2.taca3-9/+11
## 2.11.2 / Febuary 22 2012 Fixes some bugs with the now deprecated `deploy:symlink` fallback option. ## 2.11.0 / Febuary 20 2012 This release replaces and fixes a broken 2.10.0 release (see below for information) This release includes all fixes as documented for 2.10.0, plus additional code cleanup (SHA: 3eecac2), as well as changing the public API from `deploy:symlink`, to `deploy:create_symlink` * Remove a testing dependency on `ruby-debug` (Lee Hambley, reported by Serg Podtynnyi) * Formerly deprecate `deploy:symlink`, this move was prompted by the Rake namespace fiasco of their 0.9.0 release, and is replaced by `deploy:create_symlink`. If you are looking for a place to hook asset related tasks, please consider `deploy:finalize_update`. Replaced by `deploy:create_symlink`, `deploy:symlink` now raises a deprecation warning, and defers to `deploy:symlink`. (Lee Hambley) * Update the 2.10.0 changelog. (Lee Hambley, reported by Jérémy Lecour) ## 2.10.0 / Febuary 19 2012 If you are reading this after Febuary 20th 2012, do not be surprised when you cannot find 2.10.0 on Rubygems.org, it has been removed because of a breaking API change. It is replaced logically enough by 2.11.0 where the API is still changed, but now issues a warning and falls back to the expected behaviour. The CHANGELOG for this release was updated retrospectively, I'm sorry I missed that when releasing the gem, 2.10.0 apparently not my finest hour as a maintainer. Ths fixes in this release include * Include sample NGinx config for `deploy:web:disable`(added by Roger Ertesvåg) * Fix gemspec time format warning (reported by Tony Arcieri, fixed by building the Gem against Ruby-1.9.3) * Finally removed deprecated `before_` and `after_` tasks. (Lee Hambley) * Rake 0.9.x compatibility (reported by James Miller, fixed by Lee Hambley) * More detailed logging output (fixed by Huang Liang) * Includes multistage, without `capistrano-ext`. `require 'capistrano/ext/multistage'` (fixed by Lee Hambley)
2011-11-09Update sysutils/capistrano to 2.9.0gls3-8/+9
Changelog: ## 2.9.0 / September 24 2011 A vairly heavy release, including some new features which most of you won't need, but power users have contributed, this also marks the beginning of the end of the 2.x series, more information will follow in due course, but with the proliferation of Bundler, and better ways to do deployment, we will be introducing heavier changes to Capistrano to keep the tool current. **Please note, following some reported problems with the asset pipeline code being not found, remember Capistrano needs to be in your Gemfile, and as such needs to be run with Bundler, otherwise you risk loading a system-wide version of Capistrano who's behaviour might be different from that specified in your Gemfile. This is also good practice because much of the deploy logic resides in the Gem, and you wouldn't want that to change without your knowledge. Rails applications include Cap in the Gemfile anyway, you should follow this convention.** * find_servers() will no longer raise if there are no servers, this behaviour can be modified by way of the `:on_no_matching_servers` option. Thanks to `@ppgengler`. * Short Git SHA1 fragments are now supported in commands such as `cap deploy -s revision=d7e99f` thanks to `@ndbroadbent`. * One can now specify individual SCM commands by setting `:scm_arguments_<command_name>`. Thanks to `@alextk`. * Travis CI build now passes thanks to @andrew, build tested against MRI `1.8.7`. `1.9.2` and `REE`. * Support for Perforce labels, I don't know much about this, but I believe it's much like deploying a Git tag, thanks to `@ak47`. * Git SCM now correctly adheres to the `:scm_verbose` setting. Thanks `@dubek`. * `set()` can now be used to set a `false` value, previously this was a no-op. Thanks to `@nilbus`. * Support for Git 1.6x submodules, The Git SCM strategy now queries Git on the server-side to ensure it supports the `--recursive` flag, if it doesn't then it will fall back to using the long-hand. Many thanks to all those involved in the discussion surrounding this topic, and to `@nilbus` for a beautifully clean solution which doesn't hold us back. * When using `:cached_copy` with Subversion, use `svn switch` to for more reliable switching of branches/etc. Thanks to `@iGEL` for the patch that we accepted finally, and to `@richmeyers` who also submitted a patch and contributed to the discssion. Other cleanups and minor improvements to the code and tests were committed by yours truly (@leehambley), @maxim, @ak47 and @andrew).
2011-08-12Fix dependency pattern.taca1-2/+3
Bump PKGREVISION.
2011-08-08Update sysutils/capistrano to 2.8.0gls3-8/+10
Upstream changelog: ## 2.8.0 / August 3 2011 A short release, after the last. Announcing Rails 3.1 asset pipeline support. The asset pipeline support requires an additiona `load` in your `Capfile`. You can see information pertaining to the pull request, including the inline comments here: https://github.com/capistrano/capistrano/pull/35 Documentation will be available soon in the wiki. * Drop-In Rails 3.1 asset pipeline support. (Chris Griego) ## 2.7.0 / August 3 2011 A fairly substantial release. There are fixes so that current_release works during dry-runs, (although, apparently still not with bundler.) The test-suite was also modified to work with Ruby 1.9.2, except in one case where Ruby 1.9.x calls `to_ary` and `to_a` on mocks, which still makes an error. 1.9.x has always been supported, but due to lack of maintenance on my part the tests didn't ever pass. The `start`, `stop` and `restart` tasks have been reduced to mere hooks into which extensions can define their own functionality. The `readme` was also slightly improved, simply tweaks to express how best to run the test suite. * Ensure dry-run works with `:current_release` variable (Carol Nichols) * Added a new variable `:git_submodules_recursive`, setting the value to false will ensure Git doesn't recursively initialize and checkout submodules. (Konstantin Kudryashov) * Added an additional task option, `:on_no_matching_servers`, setting the value to `:continue` will ensure tasks with no matched servers continue without error, instead of raising `Capistrano::NoMatchingServersError` as was the previous behaviour. (Chris Griego) A huge thanks to all contributors, as always! Remember: @capistranorb on twitter for news. ## 2.6.1 / June 25 2011 A short maintenance release, Some fixes to the verbose flag inside the Git SCM as well as another argument for the (internal) `variable()` command, offering a default. The Git SCM is now verbose by default, but can be disabled by setting `:scm_verbose` to false. There has been an additional method added to string, within the context of the test suite, I'm always sketchy about adding additional methods to core classes, but it's a short term fix until I make the time to patch the test suite not to compare strings literally. The method is `String#compact`, and is implemented simply as `self.gsub(/\s+/, ' ')`. Here's the run-down of changes, and their committers, as always - a huge thank you to the community that continues to drive Capistrano's development. * `deploy:setup` now respects `:group_writable` (Daniel Duvall) * Fixes to `:scm_verbose` for the Git module (defaults to On.) (Matthew Davies) * Will now copy hidden files in the project's root into the release directory (Mark Jaquith) * Now handles closing already-dead connections in a sane way (does not raise an exception) (Will Bryant) * Renamed `Capistrano::VERSION::TINY` to `Capistrano::VERSION::PATCH` (Lee Hambley) * Removed the `VERSION` file (Lee Hambley)
2011-05-15Update sysutils/capistrano to latest version, 2.6.0gls2-6/+6
Upstream changes: ## 2.6.0 / May 3 2011 A rather large release, feature-version bump because of the new multiple-gateways feature as implemented by Ryan Duryea (way to go!) Please also note from this release that if you use Git submodules, the Git-version requirement for the new implementation is now >= 1.5.6, from previously un-documented. (1.5.6 is new-enough that I think this is acceptable) * Upgrade Net::SSH-gateway dependency to 1.1 (fixes a thread-deadlocking bug on MRI 1.9) * Respect "dry-run" on transfer methods (Florian Frank) * Add support for multiple gateways: (Ryan Duryea) set :gateway, { 'gate1.example.com' => 'server1.example.com', [ 'gate2.example.com', 'gate3.example.com' ] => [ 'server5.example.com', 'server6.example.com' ] } * Properly support nested Git submodules, moves Git requirement to >= 1.5.6 [if you rely upon submodules] (Ken Miller) * Fetch tags into the remote cache, allows deploying a tag when using Git, with the remote_cache strategy (Florian Frank) * Various fixes to path handling bugs in the copt strategy. (Philippe Rathé)
2011-04-22Update sysutils/capistrano to 2.5.21gls3-11/+14
Upstream changes: ## 2.5.21 / April 6 2011 * Fixed to follow best-practice guidelines from Bundler (Ben Langfeld) * No longer force a gemset for Capistrano development. (Ben Langfeld) ## 2.5.20 / March 16 2011 * `deploy:migrations` will now always operate on the latest_release, not current_release (Mike Vincent) * Adds a check for the presence of `rsync` when using the copy strategy with `rsync`. (Chris Griego) * Do not try to look up the `:release_path` on servers which are defined `:no_release` (Chris Griego) * Tiny patch to the `CVS` SCM code to be Ruby 1.9 compatible (Martin Carpenter) * Changed the default `Git` submodule behaviour to use `--recursive` Lighthouse Issue #176. (Lee Hambley) * `:public_children` can now be `set()`, the default is unchanged, thanks (Chris Griego) * Fixing the load path in the default `Capfile` to search vendored/unpacked Gems. Lighthouse Issue #174 (Mari Carmen/Rafael García) * Adds a `maintenance_basename` variable (default value is `maintenance`) to allow you to set the maintenance page name (Celestino Gomes) * Spelling fixes in inline-documentation (Tom Copeland) * Make `zip` and `tar` handle symlinks the same way (zip follows symlinks by default, tar needs the option `-h`) (Ross Cooperman)
2010-09-13* Add two CONFLICTS patterns:taca1-1/+4
- matches previous package name without "${RUBY_PKGPREFIX}-" - matches current "ruby18-" and "ruby19-" packages Bump PKGREVISION because addition of latter pattern.
2010-09-10* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.taca1-5/+3
* Update HOMEPAGE. * Remove default value of GEM_BUILD.
2010-08-23Update sysutils/capistrano to 2.5.19gls3-12/+10
Upstream changes: == 2.5.18 / March 14, 2010 Small fix for rolling back if a shell scripts exits non-zero; enabled a rollback if git (or other) externals fail during the deploy. * #151 check return code status of system command to create local copy and rollback if not 0 (David King) == 2.5.17 / February 27, 2010 Various small bug fixes. == 2.5.16 / February 14, 2010 Fixed a small regression in 2.5.15 == 2.5.15 / 14 February 2010 Fixes a feature request not to overwrite roles when using the ROLES environmental variable. * #126 - The option to not overwriting the roles which are defined in the task definition. * Removed the `upgrade` file as it has been a couple of years since 1.x was in the wild. * Slight internal re-factor of the way we calculate the `version` == 2.5.14 / 18 January 2010 Fixes a low-value bug, thanks to Chris G for the well submitted patch: #139 - Improves consistency of variable lookup, scm variables with a local_ prefix will be honoured with priority locally (Chris Griego) == 2.5.13 / 6 January 2010 Small maintenance release: * #118 - Modified CLI test to not load user or system configuration file (Emily Price) * #88 - Re-fixed a problem here, massive apologies to all concerned. (Hangover from 2.5.12) == 2.5.12 / 5 January 2010 * Tweak the directory version listing (caused a lot of problems, please upgrade immediately) == 2.5.11 / December 2009 * Deprecations and other small changes
2009-12-02Updated capistrano to 2.5.10fhajny3-18/+31
Notable changes: * Switch to version 2 of net-ssh, net-ssh-gateway, net-sftp * Support for net-scp Almost two years worth of changes, see full CHANGELOG here: http://github.com/capistrano/capistrano/blob/master/CHANGELOG.rdoc
2009-06-14Remove @dirrm entries from PLISTsjoerg1-23/+1
2008-04-04Initial import of capistrano-2.2.0 as sysutils/capistrano.jlam4-0/+152
Capistrano is a tool for automating tasks on one or more remote servers. It executes commands in parallel on all targeted machines, and provides a mechanism for rolling back changes across multiple machines.