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

symlink to staging area before uploading #16

Closed
daler opened this issue Jan 16, 2015 · 1 comment
Closed

symlink to staging area before uploading #16

daler opened this issue Jan 16, 2015 · 1 comment

Comments

@daler
Copy link
Owner

daler commented Jan 16, 2015

currently, a separate rsync call is made for uploading every single file. For large hubs, a lot of time can be wasted on starting and stopping each connection.

A nicer approach would be to first symlink all files to a local temp dir used as a staging area, and then rsync the whole thing in one shot to the remote host (using the -L flag). This strategy has the additional benefits of 1) of identifying missing files before anything gets uploaded (currently, you have to pay close attention to the rsync output to see if something failed) and 2) seeing the full directory structure of the hub exactly as it will be uploaded.

@daler
Copy link
Owner Author

daler commented Feb 19, 2021

This is now implemented as of v0.2.4.

@daler daler closed this as completed Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant