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

Use libsolv selection for filtering DepSolvables (RhBug:1812596) #914

Merged

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Mar 17, 2020

We cannot use pool_whatmatchessolvable because it considers only
installable solvables, which means source rpms are ignored.

https://bugzilla.redhat.com/show_bug.cgi?id=1812596

Tests:
rpm-software-management/ci-dnf-stack#807
rpm-software-management/ci-dnf-stack#805 (This one is required, meaning without this fix the tests will be failing)

We cannot use pool_whatmatchessolvable because it considers only
installable solvables, which means source rpms are ignored.

https://bugzilla.redhat.com/show_bug.cgi?id=1812596
@Conan-Kudo
Copy link
Member

@rh-atomic-bot r+

@rh-atomic-bot
Copy link

📌 Commit 3a880fd has been approved by Conan-Kudo

@rh-atomic-bot
Copy link

⌛ Testing commit 3a880fd with merge e343e54...

rh-atomic-bot pushed a commit that referenced this pull request Mar 18, 2020
We cannot use pool_whatmatchessolvable because it considers only
installable solvables, which means source rpms are ignored.

https://bugzilla.redhat.com/show_bug.cgi?id=1812596

Closes: #914
Approved by: Conan-Kudo
@rh-atomic-bot
Copy link

💔 Test failed - status-papr

@kontura
Copy link
Contributor Author

kontura commented Mar 18, 2020

one unrelated test failed:

dnf-3-encoding.Test encoding.non-UTF-8 character in an option when using corresponding locale

@kontura kontura merged commit bb8b51a into rpm-software-management:dnf-4-master Mar 18, 2020
@kontura kontura deleted the whatrequires-srpm branch March 18, 2020 06:36
@lukash
Copy link
Contributor

lukash commented Apr 1, 2020

Just came across this, sorry about the inconvenience 😒

However, @Conan-Kudo, when merging, could I ask to always merge together with the tests that come along with it? The tests PR is still unmerged: rpm-software-management/ci-dnf-stack#807

I understand reviewing the tests is additional work and requires some understanding of the CI stack component. And while you can run the tests yourself (in e.g. podman), it certainly is a big hassle... But is there a way around it?

For that matter, when doing reviews, we should require tests to be provided for the new code, unless not feasible for some reason.

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.

None yet

4 participants