-
Notifications
You must be signed in to change notification settings - Fork 23
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
replace test_zypper_dup_works with test_no_downgrade_on_install #329
Conversation
7bc3ac5
to
c48159d
Compare
continue | ||
for req in solvable.get("solvable:requires", ()): | ||
# Skip boolean dependencies or unversioned ones | ||
if "(" in req or " = " not in req: |
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.
This will also skip virtual requires like pkgconfig(libfoo) = 1.2.3
.
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.
@dcermak yeah, I didn't want to implement provides/requires matching logic. so far it was finding the essential issues without that (as typically people do Requires: %name = %version-%release
somewhere. we can always improve that later if it is necessary to find more issues (but already now it finds too many :/ )
e4add9e
to
2543ace
Compare
f85ea77
to
80829d9
Compare
233622d
to
3c99a3d
Compare
3c99a3d
to
64126dd
Compare
64126dd
to
17d3305
Compare
test_zypper_dup is a bit too agressive and on the other side misses cases. so we just validate that installing any of the additional packages would not cause a downgrade in the container.
17d3305
to
b2401ef
Compare
replace test_zypper_dup_works with test_no_downgrade_on_install
test_zypper_dup is a bit too agressive and on the other side misses cases. so we just validate that installing any of the additional packages would not cause a downgrade in the container.