Skip to content

zypperpkg: detect non-visible installed patterns#52744

Merged
dwoz merged 1 commit into
saltstack:developfrom
aplanas:fix_patterns
Apr 30, 2019
Merged

zypperpkg: detect non-visible installed patterns#52744
dwoz merged 1 commit into
saltstack:developfrom
aplanas:fix_patterns

Conversation

@aplanas
Copy link
Copy Markdown
Contributor

@aplanas aplanas commented Apr 29, 2019

What does this PR do?

Some patters are non-visible, and cannot be detected via

zypper se -t pattern

unless we know the name.

When we are listing all installed patterns, we still do not know
the names of the patterns, so we need to use a different approach.

This patch use rpm -q --provides --whatprovides search to detect
the non-visible patters, and complete the result for
list_installed_patterns.

Tests written?

Yes

Some patters are non-visible, and cannot be detected via

   zypper se -t pattern

unless we know the name.

When we are listing all installed patterns, we still do not know
the names of the patterns, so we need to use a different approach.

This patch use `rpm -q --provides --whatprovides` search to detect
the non-visible patters, and complete the result for
`list_installed_patterns`.
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.

4 participants