Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jgarber-capistrano-deepmodules

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jgarber-capistrano-deepmodules

  • 0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

This plugin allows your Capistrano to deploy git repositories those have multiple-level nested submodules in them.

By default Capistrano issues git submodule init && git submodule update commands only at the repository root, those initializion first-level submodules. But if those submodules has their own submodules, your application will fail as they will stay uninitialized. This plugin fixes it and automatically checks for all included submodules (and their submodules, and their, etc) and initializes them, too.

Usage is very simple - just install this gem and add following requirement to your deployment scenario:

require 'capistrano/deepmodules'

Also make sure that you're using remote cache to deploy your code as current only remote cache strategy is supported:

set :deploy_via, :remote_cache

I see no reason not to use it, especially on large codebases with a lot of submodules, so currently this plugin does not support other strategies. If you need such support - drop me a note and I'll if it's plausible.

And you don't need to set :git_enable_submodules parameter in your scenario - it doesn't affect operations if this plugin as it pays no attention to it. If you want to disable submodules - just comment out 'require' line.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc