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

Deploy - Atomic symlink operation #1110

Closed
hlidek opened this issue Aug 5, 2014 · 2 comments
Closed

Deploy - Atomic symlink operation #1110

hlidek opened this issue Aug 5, 2014 · 2 comments

Comments

@hlidek
Copy link

@hlidek hlidek commented Aug 5, 2014

There is a symlink operation splited into 2 commands: rm -rf and ln -s
in the 'lib/capistrano/tasks/deploy.rake' file.
It can lead into small amount of not found errors.

So it should be implemented by one atomic command:

ln -s release_path tmp_path && mv -Tf tmp_path current_path

Thanks for your response.

@Kriechi
Copy link
Contributor

@Kriechi Kriechi commented Aug 6, 2014

already discussed in all details.
see #346 #749 #460 and #1097.

@Kriechi
Copy link
Contributor

@Kriechi Kriechi commented Nov 17, 2014

@leehambley I think this can be closed now. Thanks.

@leehambley leehambley closed this Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.