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

(PUP-11985) correctly enable module:stream without default profile with dnfmodule #9138

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

evgeni
Copy link
Contributor

@evgeni evgeni commented Oct 30, 2023

the old code would work correctly for ensure => present, but not for ensure => 'some_stream', as dnf does include the whole module spec in the error message and the old regex didn't match anymore.

# dnf module install -d 0 -e 1 -y 389-ds
Error: Problems in request:
broken groups or modules: 389-ds

# dnf module install -d 0 -e 1 -y 389-ds:1.4
Error: Problems in request:
broken groups or modules: 389-ds:1.4

@evgeni evgeni requested a review from a team as a code owner October 30, 2023 07:36
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@evgeni
Copy link
Contributor Author

evgeni commented Oct 30, 2023

I would have loved to create a Jira for this, but it seems new issues for "PUP" cannot be created on https://puppet.atlassian.net and https://tickets.puppetlabs.com is just a redirect 😿

@evgeni
Copy link
Contributor Author

evgeni commented Nov 4, 2023

Opened #9142

@evgeni evgeni changed the title correctly enable module:stream without default profile with dnfmodule (PUP-11985) correctly enable module:stream without default profile with dnfmodule Nov 7, 2023
the old code would work correctly for ensure => present, but not for
ensure => 'some_stream', as dnf does include the whole module spec in
the error message and the old regex didn't match anymore.

```
Error: Problems in request:
broken groups or modules: 389-ds

Error: Problems in request:
broken groups or modules: 389-ds:1.4
```
@evgeni
Copy link
Contributor Author

evgeni commented Nov 7, 2023

Nothing in this PR touches Windows related code, so 🤷‍♀️

@evgeni evgeni closed this Nov 7, 2023
@evgeni evgeni reopened this Nov 7, 2023
@joshcooper joshcooper added triaged Jira issue has been created for this and removed triaged Jira issue has been created for this labels Nov 7, 2023
@joshcooper joshcooper added the bug Something isn't working label Nov 15, 2023
@joshcooper joshcooper merged commit 5ab8d48 into puppetlabs:7.x Nov 15, 2023
20 of 25 checks passed
@evgeni evgeni deleted the enable-right-stream branch November 15, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants