Git Product home page Git Product logo

deploybundle's People

Contributors

bitdeli-chef avatar dator avatar hjanuschka avatar hpatoio avatar nelsonkopliku avatar royopa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deploybundle's Issues

Argument for process timeout

When deploying, I often get timeouts (Symfony\Component\Process\Exception\RuntimeException)

So it would be nice to be able to set a timeout for the process

Possible patch:

--------------------------------8<-----------------------------

--- DeployCommand.php   2013-12-10 14:01:57.385970911 +0100
+++ DeployCommand.php.new   2013-12-10 14:03:51.477975039 +0100
@@ -31,6 +31,7 @@
             ->addOption('go', null, InputOption::VALUE_NONE, 'Do the deployment')
             ->addOption('rsync-options', null, InputOption::VALUE_NONE, 'Options to pass to the rsync executable')
             ->addOption('force-vendor', null, InputOption::VALUE_NONE, 'Force sync of vendor dir.')
+            ->addArgument('timeout', InputArgument::OPTIONAL, 'Process timeout')
             ;
     }
 
@@ -45,7 +46,10 @@
         $available_env = $this->getContainer()->getParameter('deploy.config');       
         
         $env = $input->getArgument('env');
-        
+        $timeout = $input->getArgument('timeout');
+        if(!$timeout) {
+            $timeout = 60;
+        }
         if (!in_array($env, array_keys($available_env))) {
             $output->writeln('Env value not valid.');
             exit();
@@ -82,7 +86,7 @@
             $command));
 
         $process = new Process($command);
-
+        $process->setTimeout($timeout);
         $output->writeln("\nSTART deploy\n--------------------------------------------");
 
         $process->run(function ($type, $buffer) use ($output) {

------------------------------------>8------------------------------------------------

Your bitly repo

Hi @hpatoio
I could not open an issue on your bitly github. Wanted to say as you abandoned your bitly repo. We are grateful if you add a link to our bitly repo as replacement suggestion.
Thanks,

Better doc

Improve doc.

  • Put everything in README.md
  • Include new feature
  • Reword and reorganize

Can't execute nothing after installing DeployBundle

After installing the DeployBundle with composer I can't execute no command with the symfony console. Regardless of which command I try, following exception is thrown:

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]  
The path "deploy" should have at least 1 element(s) defined.

This exception is also thrown in the development-env (app_dev.php)

Environment: Symfony v2.1.7 Standard Distribution plus FOSUserBundle v1.3.1

Cache folder

Hi, how can I ignore the cache folder?

Thanks

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.