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
VirtualProvidersCheck: new check for providers issues #484
Conversation
Codecov ReportBase: 81.11% // Head: 81.05% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #484 +/- ##
==========================================
- Coverage 81.11% 81.05% -0.07%
==========================================
Files 55 55
Lines 8063 8095 +32
Branches 1810 1820 +10
==========================================
+ Hits 6540 6561 +21
- Misses 1425 1435 +10
- Partials 98 99 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
You mean BDEPEND or DEPEND? ("not RDEPEND")? |
These are false positives in an interesting way:
In libintl:
The reason is that non-glibc & non-musl usually need an external libintl. In fact, musl needed it for a long time. This lets ebuilds be correct when they need libintl. A real example of this is macOS, btw. Same for libiconv. I'm not sure yet how to cleanly identify these. Maybe if the RDEPEND is "complex" (USE-conditionals) for VirtualWithSingleProvider, we should skip? |
9774053
to
df24c8e
Compare
- check for virtual package defining DEPEND or BDEPEND - check for virtual package with a single provider across versions Closes: https://bugs.gentoo.org/744784 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
df24c8e
to
9fefb10
Compare
Added exception check for dependence on use flags starting with |
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.
Sorry, I just wanted to check one thing (for other USE_EXPANDs), and we're all good.
Warning
levelThe logic for the single provider is:
Closes: https://bugs.gentoo.org/744784
results over gentoo repo
virtual/libiconv
andvirtual/libintl