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

Suggest using upload_large_folder when appropriate #2547

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Sep 17, 2024

When a user tries to upload a large folder using upload_folder, let's try to nudge them toward using upload_large_folder instead. For now the threshold is arbitrary based on number of files (>30 files => log). Let's see in the future if we want to update this threshold based on file sizes as well.

I've also deprecated the experimental feature create_commits_on_pr which is now outdated (better to use the official upload_large_folder).

Copy link
Contributor

@hanouticelina hanouticelina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Wauplin Wauplin merged commit f1a7ed4 into main Sep 17, 2024
19 checks passed
@Wauplin Wauplin deleted the suggest-upload-large-folder-when-appropriate branch September 17, 2024 12:06
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