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

feat(exporter): add a safe_upload_single function #3199

Merged
merged 6 commits into from
Feb 28, 2025

Conversation

andrewpollock
Copy link
Contributor

This adds a file size delta function to prevent the unintended overwriting of a file with a significantly smaller one.

It only uses it for the unified all.zip upload at present, as I'm not sure how to identify when to use it for the ecosystem-specific zip files as they seem to be bundled in with the individual record files.

This adds a file size delta function to prevent the unintended
overwriting of a file with a significantly smaller one.

It only uses it for the unified all.zip upload at present, as I'm not
sure how to identify when to use it for the ecosystem-specific zip files
as they seem to be bundled in with the individual record files.
andrewpollock and others added 3 commits February 28, 2025 03:46
This addresses reviewer feedback and moves the default value to a
constant at the top of the file.
@andrewpollock andrewpollock merged commit f133747 into google:master Feb 28, 2025
11 checks passed
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