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

[wip] RDEPEND cycle check #603

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arthurzam
Copy link
Member

This is WIP, showing results across the repo, but with possible false positives (since we compare on cat/pkg level instead of cat/pkg-ver levels).

Resolves: #400

Resolves: pkgcore#400
Signed-off-by: Arthur Zamarin <[email protected]>
@arthurzam arthurzam requested a review from thesamesam July 15, 2023 10:51
@arthurzam arthurzam marked this pull request as draft July 15, 2023 19:04
@thesamesam
Copy link
Member

thesamesam commented Sep 1, 2023

  • net-libs/gssdp has a FP: gssdp-1.6.2 depends on gssdp-1.4:0, but it thinks there's a cycle
  • dev-libs/libusb-compat has a FP: libusb-compat-0.1.5-r3 depends on virtual/libusb:1, which depends on >=dev-libs/libusb-1.0.19:1 (so it's ignoring slots, or it's confused by the blocker in libusb-compat; we should ignore blockers for now, that's subject of another bug: Checking for blockers without a solution #507)

not checked others yet

for missing_key in missing:
try:
self._collect_deps_graph(self.repo.match(atom(missing_key)))
except IndexError:
Copy link
Member

Choose a reason for hiding this comment

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

Let's put a comment for how it can happen (nonexistent/invalid dep, NonexistentDeps)

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.

Detect unconditional RDEPEND-RDEPEND cycles
2 participants