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

avoid hitting servers for binaries when upload_policy=skip #13771

Conversation

memsharded
Copy link
Member

Changelog: Feature: Optimize and avoid hitting servers for binaries when upload_policy=skip
Docs: Omit

Close #13770

if dep_node.binary == BINARY_BUILD:
with_deps_to_build = True
break
with_deps_to_build = any(dep.dst.binary == BINARY_BUILD for dep in node.dependencies)
Copy link
Member Author

Choose a reason for hiding this comment

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

this is a pure refactor, no functional change

@memsharded memsharded marked this pull request as ready for review May 3, 2023 15:02
@memsharded memsharded merged commit 1e116ea into conan-io:release/2.0 May 4, 2023
@memsharded memsharded deleted the feature/upload_policy_skip_avoid_servers branch May 4, 2023 07:41
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] build_policy = "missing" and upload_policy = "skip" should work when later remotes are offline
3 participants