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

add option: create non-existing files before updating existing files #100

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

bojieli
Copy link
Contributor

@bojieli bojieli commented Mar 25, 2023

Rsync does not provide atomicity, so, the links in existing pages (e.g., homepage) may be updated before new large files (e.g., images and media) are uploaded, leading to dead links.

This patch introduces a 'create_before_update' option to upload non-existing files before updating links to them in the existing pages.

Rsync does not provide atomicity, so, the links in existing pages (e.g., homepage)
may be updated before new large files (e.g., images and media) are uploaded,
leading to dead links.
This patch introduces a 'create_before_update' option to upload non-existing files
before updating links to them in the existing pages.
@stevenjoezhang
Copy link
Member

There are some eslint errors need to be fixed.

@bojieli
Copy link
Contributor Author

bojieli commented Apr 6, 2023

There are some eslint errors need to be fixed.

Fixed, thanks!

@stevenjoezhang stevenjoezhang merged commit fff450e into hexojs:master Apr 27, 2023
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

Successfully merging this pull request may close these issues.

2 participants