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

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    5e7c46c View commit details
    Browse the repository at this point in the history
  2. Add Package.get_packages() to return all installed packages

    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 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    4ce9dd7 View commit details
    Browse the repository at this point in the history