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

Enable tests for module info that don't require install #1427

Merged

Conversation

pkratoch
Copy link
Contributor

I considered installing modules using dnf4 and enabling the info.feature, but dnf5 then doesn't have information about how that changed the module states, since it's stored differently in dnf4 and dnf5, so it's not very usable.

Instead, I created a duplicit set of tests for module info without the need of module install. They can be removed once the install command is implemented and the info.feature enabled.

The order of module streams listed is different, because it's not sorted (at least yet), but the output of dnf4 also doesn't seem sorted.

Requires: rpm-software-management/dnf5#1093
Requires: rpm-software-management/dnf5#1094
Requires: rpm-software-management/dnf5#1098

@jan-kolarik jan-kolarik self-assigned this Dec 15, 2023
@jan-kolarik
Copy link
Member

Seems like 2 tests are still expecting the output in different order.

@pkratoch pkratoch force-pushed the enable-module-tests branch from 277bb33 to 0138bd7 Compare December 18, 2023 14:01
@pkratoch
Copy link
Contributor Author

Seems like 2 tests are still expecting the output in different order.

Yes sorry, I implemented the sorting now: rpm-software-management/dnf5#1109

I considered installing modules using dnf4 and enabling the
`info.feature`, but dnf5 then doesn't have information about how that
changed the module states, since it's stored differently in dnf4 and
dnf5, so it's not very usable.

Instead, I created a duplicit set of tests for module info without the
need of module install. They can be removed once the install command is
implemented and the `info.feature` enabled.
@pkratoch pkratoch force-pushed the enable-module-tests branch from 0138bd7 to 83141a2 Compare December 19, 2023 07:10
@jan-kolarik jan-kolarik merged commit 1ad155b into rpm-software-management:main Jan 25, 2024
5 checks passed
@pkratoch pkratoch deleted the enable-module-tests branch April 25, 2024 11:01
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