Up to [cvs.NetBSD.org] / pkgsrc / sysutils / capistrano
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
sysutils/capistrano: moved to sysutils/ruby-capistrano
sysutils/capistrano: update to 3.18.0 3.18.0 (2023-10-18) Changes * Remove default webpacker path to linked_dirs (#2139) @taketo1113 Bug Fixes * Fix "lambda method requires a literal block" error (Ruby 3.3) (#2141) @mattbrictson Housekeeping * Upgrade to latest ver of release-drafter and update config (#2143) @mattbrictson * Upgrade CI to actions/checkout v4 (#2142) @mattbrictson * Auto-bump version number in generated release notes (#2140) @mattbrictson * Migrate from CircleCI to GitHub Actions; add Cucumber features to CI (#2132) @mattbrictson
sysutils/capistrano: update to 3.17.1 3.17.0 (2022-03-12) New Features * Add common Rails paths to suggested linked_dirs and linked_files (#2105) @gdurelle * Add new default webpacker path to linked_dirs (#2084) @razum2um Bug Fixes * Add linked_dirs and linked_files to VariblesDoctor WHITELIST (#2103) @y-yagi Housekeeping * Switch from Travis to Circle CI (#2100) @mattbrictson * Ensure rubocop can run under Ruby 3.1 (#2099) @mattbrictson * Fix warnings and errors in cucumber feature tests (#2095) @mattbrictson 3.17.1 (2022-08-07) Documentation * Remove reference to the deprecated :scm variable (#2111) @elondaits Housekeeping * Switch cucumber tests to use https instead of git:// (#2112) @mattbrictson * Install newer SSH client to fix CI for old Rubies (#2106) @mattbrictson
sysutils/capistrano: update to 3.11.2 Update capistrano to 3.11.2. pkgsr changes: * Drop use of USE_RAKE. * Add "USE_LANGUAGES= # none". 3.11.1 (2019-08-29) * #2027: Batch rm -rf calls in deploy:cleanup to fix an error when there are too many old releases @azin634 3.11.2 (2019-09-29) Housekeeping * Eliminate double CI builds on PRs (#2035) @mattbrictson * Update gemspec with correct release notes URL, etc. (#2036) @mattbrictson * Automatically maintain release notes using GitHub Actions (#2034) @mattbrictson * Use a stub for $stdin during testing (#2033) @mattbrictson * Upgrade nokogiri to fix security warning (#2031) @mattbrictson * Exclude danger to fix Ruby 2.0.0 CI error (#2030) @mattbrictson
Update capistrano to 3.8.0. ## `3.8.0` (2017-03-10) https://github.com/capistrano/capistrano/compare/v3.7.2...v3.8.0 ### Potentially breaking changes: * [#1846](https://github.com/capistrano/capistrano/pull/1846): add_host will add a new host in a case where it used to incorrectly update an existing one (potentially breaking) [(@dbenamy)](https://github.com/dbenamy) ### New features: * [#1860](https://github.com/capistrano/capistrano/pull/1860): Allow cap to be run within subdir and still work - [@mattbrictson](https://github.com/mattbrictson) ### Fixes: * [#1835](https://github.com/capistrano/capistrano/pull/1835): Stopped printing parenthesis in ask prompt if no default or nil was passed as argument [(@chamini2)](https://github.com/chamini2) * [#1840](https://github.com/capistrano/capistrano/pull/1840): Git plugin: shellescape git_wrapper_path [(@olleolleolle)](https://github.com/olleolleolle) * [#1843](https://github.com/capistrano/capistrano/pull/1843): Properly shell escape git:wrapper steps - [@mattbrictson](https://github.com/mattbrictson) * [#1846](https://github.com/capistrano/capistrano/pull/1846): Defining a role is now O(hosts) instead of O(hosts^2) [(@dbenamy)](https://github.com/dbenamy) * Run `svn switch` to work with svn branches if repo_url is changed * [#1856](https://github.com/capistrano/capistrano/pull/1856): Fix hg repo_tree implementation - [@mattbrictson](https://github.com/mattbrictson) * [#1857](https://github.com/capistrano/capistrano/pull/1857): Don't emit doctor warning when repo_tree is set - [@mattbrictson](https://github.com/mattbrictson) ### Other changes: * [capistrano-harrow#4](https://github.com/harrowio/capistrano-harrow/issues/4): Drop dependency on `capistrano-harrow` gem. Gem can still be installed separately [(@leehambley)](https://github.com/leehambley) * [#1859](https://github.com/capistrano/capistrano/pull/1859): Move git-specific repo_url logic into git plugin - [@mattbrictson](https://github.com/mattbrictson) * [#1858](https://github.com/capistrano/capistrano/pull/1858): Unset the :scm variable when an SCM plugin is used - [@mattbrictson](https://github.com/mattbrictson) ## `3.7.2` (2017-01-27) https://github.com/capistrano/capistrano/compare/v3.7.1...v3.7.2 ### Potentially breaking changes: * None ### Other changes: * Suppress log messages of `git ls-remote` by filtering remote refs (@aeroastro) * The Git SCM now allows the repo_url to be changed without manually wiping out the mirror on each target host first (@javanthropus)
Update capistrano to 3.6.1. Changes are too many to write here, please refer CHANGES.md.
Update capistrano to 3.4.0. Changes are too many to write here, please refer CHANGELOG.md.
Update capistrano to 3.1.0. Changes are too many to write here, please refer CHANGELOG.md.
Update capistrano to 2.15.5. ## 2.15.5 / July 4 2013 * Fix multistage argument parsing when using the `-s` option. (@jmazzi) * Tweaks to the asset recipes. (@curtislinden) * Use quotes around SCM usernames and passwords (@carloslopes) * Avoid git warning when cloning Git repository using sha1 (@bpaquet) ## 2.15.4 / April 29 2013 * Fix parallel command logging (@gnufied) * Fix a double-asset manifest problem on Rails upgrades. (@jimryan) ## 2.15.3 / April 25 2012 * For deploy:cleanup, use try_sudo with rm command. (@joshstaiger) * Restore maintenance.rhtml (@chulkilee) * Fixes GH-434, If branches is an array of array, iterate them separately. (@gnufied) A big "thank you" to the people who've pushed really amazing patches to the 2.15.x branch so soon after it's release. 2.15.0 was just too huge to go out bug free. ## 2.15.2 / April 24 2013 * Fixed a bug with asset_paths (String vs. Array). (@joeycarmello) ## 2.15.1 / April 23 2013 * Support for Rails 4 (and other) randomised asset manifest names. (@jimryan) ## 2.15.0 / April 23 2013 * New varaible :shared_assets_prefix to allow people to host somewhere other than `/assets/`. Default is `assets`. * Bring back web:enable and web:disable tasks. Sincerely apologies to all affected removing these was one of the most glaring mistakes we've made on this project and I feel personally responsible. * Makes :git_shallow_clone work with branches (@cannikin) * Avoid removing required assets (@bosko) * Fix escaping of asset_paths when calling `deploy:finalize_update` (@mcary) * Improve parallel command logging (@mpapis) * Allow updating variables in the cap shell `cap> set :some_setting new_value` (@jpfuentes2) * Add the option to configure `Capistrano::Logger.default_formatters=` this relates to the previous merging of the capistrano-colors gem. (@kellyredding) * Don't attempt to connect to a nil `:gateway` (@mattheath) * Simplify our .gemspec dependency list (@timoschilling) * Make the existece of `config/deploy/{stage}.rb` optional, it'll be loaded if it exists, otherwise we continue without it (@ymainier) * Misc spelling/typo fixes. (@mv) * Update mtime and atime with touch when fixing asset timestamps (@wildoats) * Change call of `rake {env} precompile:all` to drop the errornous `{env}` (@zxiest) * Evaluate assets_role at runtime using a lambda (@nlenepveu) * Handle when hosts (for example by joining/leaving the no_release meta group) have different old releases for `deploy:cleanup` (@oggy) * Check for nil when tearing down connections (@yyuu) * Go back to using SCP for uploads as against SFTP (@pjungwir) * Added an option to dereference symlinks when using the :copy strategy (`set :copy_dereference_symlink, true`) useful when your working directory contains files symlinked in from outside your project root (@mehmetc) * Small typo fix in README (@yule) * Add Ruby 2.0.0-p0 to the TravisCI build (@jarrettmeyer) * Add the option to set the shared asset prefix for Rails, (`set :shared_assets_prefix, "my_shared_assets"`) corresponds with it's namesake in Rails. By default is set to `assets`. (@spectator) * Improved error messages for `cap {stage} deploy:check` (@petems) * Make `run_locally` work with the `--dry-run` flag. (@flagthisiskun) * Fix a link in the README to writing a good commit message. (@mhutchin) * Code style fixes (@mv) * Report differently if the command was killed by a signal (for example the oom killer on Ubuntu/Debian). (@tanob)
Update capistrano to 2.14.2. ## 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)
Update capistrano to 2.13.5. ## 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)
Update sysutils/capistrano to 2.12.0 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.
Update capistrano to 2.11.2. ## 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)
Update sysutils/capistrano to 2.9.0 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).
Update sysutils/capistrano to 2.8.0 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)
Update sysutils/capistrano to 2.5.21 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)
Update sysutils/capistrano to 2.5.19 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
Updated capistrano to 2.5.10 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
Remove @dirrm entries from PLISTs
Initial import of capistrano-2.2.0 as sysutils/capistrano. 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.
Initial revision