pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
291 stars 45 forks source link

some directories are not transferred #6

Closed danielzzz closed 12 years ago

danielzzz commented 13 years ago

hi, I noticed another problem - I was trying to deploy a project based on cakephp (www.cakephp.org); basically there are a lot of files to be transfered. But somehow, some directories were not created/transfered to the server. Unfortunately I was not able to spot the problem (these files/dirs have the same properties as the others).

Maybe there is some bug when the system tries to copy files to an inexistent directory? I will follow up with more info if possible...

thx, dan

pocketarc commented 13 years ago

Hmmm. I need to make this store the output in a log, otherwise I'll never be able to find out what could've gone wrong. Actually, I had a problem just yesterday with some files failing to upload, but because I noticed it before it uploaded the REVISION file, I was able to close it and just start again, and then it worked. I suspect this is some sort of network-related issue. I wonder if just repeating the failed upload until it works would fix the issue, since it seems it only happens randomly.

danielzzz commented 13 years ago

yep, it might be a problem when a deployment is not fully successful (and somehow hard to handle, I guess). a log would be helpful. I hope to help with some problems, but right now I am on a really tight schedule :/

pocketarc commented 13 years ago

I've been pretty busy as well (hence why I haven't gotten around to resolving the SFTP issues), but it's nice to get all the issues out here so I can work on them as soon as possible (probably over the weekend or something).

pocketarc commented 13 years ago

Got it to retry 10 times before giving up and completely exiting, thus not uploading the REVISION file or anything like that (which enables you to restart the upload at a later date). Still need to test this properly, though, but unfortunately, since this is a random event, it's hard to test. I might just try uploading something and then shutting off my Internet during the middle of the upload to see what happens.

pocketarc commented 13 years ago

Hey Daniel, let me know if this issue still happens, or if I can close it. Thanks in advance.