-
Notifications
You must be signed in to change notification settings - Fork 991
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
Feature: Upload parallel #15360
Conversation
conan/api/subapi/upload.py
Outdated
@@ -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, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to upload_full
Changelog: Feature: New
conan upload
core.upload:parallel
for faster parallel uploads.Docs: conan-io/docs#3540
Close #13224