Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 1st deploy bug #195

Merged
merged 2 commits into from
Mar 7, 2015
Merged

Conversation

spongeben
Copy link

Fix 2 problems leading to a 1st deploy failure (one only with rsync strategy and the other more widely I think)

In ReleaseTask.php, we're trying to change owner of symlink file. But on first release the symlink does not exists yet so the release fail (problem comes from #178 I think). I've updated to only check owner if symlink exists. (maybe we can remove totaly the symlink owner check as it's created after ?)

In RsyncTask.php, with rsync_copy enabled, if the previous release folder does not exists, the release directory is not created, and rsync fail. I've updated to revert to manual empty directory creation if there is no previous release.

@spongeben spongeben changed the title Fix rsync deploy Fix 1st deploy bug Feb 9, 2015
@eps90
Copy link
Collaborator

eps90 commented Feb 11, 2015

Whoa, the code here is so complecated that it's almost unreadable. Surely the feedback is needed here but for me this should work.

@robi50
Copy link

robi50 commented Mar 3, 2015

+1

It should merged. aab71ec is closes #199 (which is definitely an important bug).

@eps90
Copy link
Collaborator

eps90 commented Mar 7, 2015

Hey guys. Sorry but I didn't know how serious bug it is until today. Merging immediately!
@robi50 I think I can close your issue and PR since this one, containg a bit more, fixes one more bug in RSync. Thanks for all!

eps90 added a commit that referenced this pull request Mar 7, 2015
@eps90 eps90 merged commit a45802a into andres-montanez:develop Mar 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants