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

Add checks for duplicated refs when downloading from backup source #17813

Draft
wants to merge 3 commits into
base: develop2
Choose a base branch
from

Conversation

AbrilRBS
Copy link
Member

Changelog: Feature: Add checks for duplicated refs when downloading from backup source
Docs: Omit

To check with the team and see if this is not giving false positives

@@ -120,6 +120,9 @@ def update_backup_sources_json(cached_path, conanfile, urls):

try:
summary_key = str(conanfile.ref)
if set(summary["references"].keys()).difference({"unknown", summary_key}):
Copy link
Member

Choose a reason for hiding this comment

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

Possible false positives:

  • Different packages with different user/channel, but downloading the same source
  • Packages downloading sources of a vendored dependency that is also a Conan package elsewhere
  • Package re-names (like changing style like my_pkg to mypkg or mypkg++ to mypkgpp to comply with Conan recommendations.

@memsharded memsharded self-assigned this Feb 24, 2025
@AbrilRBS AbrilRBS marked this pull request as draft February 25, 2025 15:22
@AbrilRBS AbrilRBS modified the milestones: 2.13.0, 2.14.0 Feb 25, 2025
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