-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Adding --skip-existing
on upload
#306
Labels
question
Further information is requested
Comments
Closed
6 tasks
It might be something like this patch: diff --git a/recipe/conda_forge_ci_setup/upload_or_check_non_existence.py b/recipe/conda_forge_ci_setup/upload_or_check_non_existence.py
index bd8c0d2..8188ed6 100644
--- a/recipe/conda_forge_ci_setup/upload_or_check_non_existence.py
+++ b/recipe/conda_forge_ci_setup/upload_or_check_non_existence.py
@@ -105,7 +105,7 @@ def built_distribution_already_exists(cli, name, version, fname, owner):
def upload(token_fn, path, owner, channels, private_upload=False, force_metadata_update=True):
cmd = ['anaconda', '--quiet', '--show-traceback', '-t', token_fn,
'upload', path, '--user={}'.format(owner),
- '--channel={}'.format(channels)]
+ '--channel={}'.format(channels), '--skip-existing']
if private_upload:
cmd.append("--private")
if force_metadata_update: |
5 tasks
I wonder if we rely on this to fix partial uploads that didn't finish due to network errors. Regardless, it could be added as a conda-forge.yml option via conda-smithy? We only need to support that optional flag here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Comment:
I'm trying to build a few different combinations of split packages.
However, some outputs are the same between builds which is causing them to fail upload as shown in the message bolow.
I know that anaconda upload has an option
--skip-existing
would it be acceptable to add it?The alternative is to add the package to every output, which is both redundant, and "unecessary".
Example logs:
xref: conda-forge/openvino-feedstock#86
cc: @ilya-lavrenov
The text was updated successfully, but these errors were encountered: