Giter Club home page Giter Club logo

capistrano-drush-make's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

medlefsen

capistrano-drush-make's Issues

Backups don't handle permissions after second run

capistrano-ash sets some permissions that fail after a second run.

Might need to override the task to skip the backups.

 ** [out :: rsc-prod01.xforty.com] ./20120214145451/install.php
    command finished in 7299ms
  * Removing the tempory copy
  * executing "rm -rf /tmp/20120214145451"
    servers: ["rsc-prod01.xforty.com"]
    [rsc-prod01.xforty.com] executing command
 ** [out :: rsc-prod01.xforty.com] rm: cannot remove `/tmp/20120214145451/sites/adamwpearce/settings.php': Permission denied
 ** [out :: rsc-prod01.xforty.com] rm: cannot remove directory `/tmp/20120214145451/sites/adamwpearce/themes': Permission denied
 ** [out :: rsc-prod01.xforty.com] rm: cannot remove directory `/tmp/20120214145451/sites/adamwpearce/files': Permission denied
 ** [out :: rsc-prod01.xforty.com] rm: cannot remove `/tmp/20120214145451/sites/default/settings.php': Permission denied
 ** [out :: rsc-prod01.xforty.com] rm: cannot remove directory `/tmp/20120214145451/sites/default/themes': Permission denied
 ** [out :: rsc-prod01.xforty.com] rm: cannot remove directory `/tmp/20120214145451/sites/default/files': Permission denied

[META] Define Workflow

There is a lot of automation missing from this process. For example if a server has database updates that need to be applied it should apply them. If it fails it should roll them back. It should put the server in maintenance mode. It would be nice to get a solid set of automation for drush make deployments. Let's document the requirements here.

Initial cap deploy fails to clear cache cause database isn't there

** [out :: rsc-prod01.xforty.com] query: SELECT COUNT(pid) FROM url_alias database.mysql.inc:135
** [out :: rsc-prod01.xforty.com] Table 'xforty.system' doesn't [error]
** [out :: rsc-prod01.xforty.com] exist

Not sure what to do to handle this. But the initial cap deploy causes drush clear cache to fail.

default_multisite undefined

Should check to see if it is defined. If it isn't just ignore it.

/home/pearcec/.rvm/gems/ruby-1.9.2-p290/gems/capistrano-2.9.0/lib/capistrano/configuration/namespaces.rb:188:in method_missing': undefined local variable or methoddefault_multisite' for #Capistrano::Configuration::Namespaces::Namespace:0x00000002b9f580 (NameError)

Backups go in DocumentRoot

A backup gets created an put in the DocumentRoot. Every time you run cap deploy after a failed attempt it keep rolling in the prior backup. This seems sloppy. Seems capistrano-ash isn't well though through on the issue of managing backups.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.