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

Feature: Upload parallel #15360

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Dec 29, 2023

Changelog: Feature: New conan upload core.upload:parallel for faster parallel uploads.
Docs: conan-io/docs#3540

Close #13224

@memsharded memsharded added this to the 2.1 milestone Dec 29, 2023
@memsharded memsharded marked this pull request as draft December 29, 2023 17:22
@memsharded memsharded requested a review from AbrilRBS December 30, 2023 10:30
@memsharded memsharded marked this pull request as ready for review December 30, 2023 10:30
@@ -57,6 +59,40 @@ def upload(self, package_list, remote):
executor = UploadExecutor(app)
executor.upload(package_list, remote)

def full_upload(self, package_list, remote, enabled_remotes, check_integrity=False, force=False,
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to add a docstring here, because this is used for the docs to add documentation for the public API methods.

Copy link
Member Author

Choose a reason for hiding this comment

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

Suggestions for a better name? I didn't love it, but also not better ideas. I thought repurposing the old upload() to mean this full one, and rename the old one to execute_upload or upload_transfer or something like that, but I am afraid that this could break users even if this is not public/stable

Copy link
Contributor

Choose a reason for hiding this comment

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

I could not think of a better name, but I think I would use upload_full instead of full_upload so it's easier to find.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed to upload_full

@memsharded memsharded merged commit 9fb047f into conan-io:develop2 Jan 10, 2024
2 checks passed
@memsharded memsharded deleted the feature/upload_parallel branch January 10, 2024 17:13
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.

[feature] conan 2.x parallel upload
2 participants