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

Add Package.get_packages() to return all installed packages #725

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

CarstenGrohmann
Copy link
Contributor

Get all installed packages with name version number, release number (if available) and architecture

>>> host.package.get_packages()
{'acl.x86_64': {'arch': 'x86_64',
				'name': 'acl',
				'release': '4.3.1',
				'version': '2.2.52'},
 <redacted>
 'zypper.x86_64': {'arch': 'x86_64',
				   'name': 'zypper',
				   'release': '150200.39.1',
				   'version': '1.14.57'}}

@CarstenGrohmann CarstenGrohmann force-pushed the get_packages branch 6 times, most recently from 5a4c2fb to eb926c9 Compare August 7, 2023 09:40
Get all installed packages with name version number, release number (if
available) and architecture:

>>> host.package.get_packages()
{'acl.x86_64': {'arch': 'x86_64',
				'name': 'acl',
				'release': '4.3.1',
				'version': '2.2.52'},
 <redacted>
 'zypper.x86_64': {'arch': 'x86_64',
				   'name': 'zypper',
				   'release': '150200.39.1',
				   'version': '1.14.57'}}
@philpep philpep added feature enhancement This issue/PR relates to a feature request. and removed feature labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue/PR relates to a feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants