airgun.views.package

Module Contents

class airgun.views.package.PackagesView

Bases: airgun.views.common.BaseLoggedInView

Main Packages view

title
table
repository
applicable
upgradable
search_box
is_displayed

The view is displayed when it’s title exists

search(self, query, repository='All Repositories', applicable=False, upgradable=False)

Perform search using search box on the page and return table contents.

Parameters:
  • query (str) – search query to type into search field. E.g. name = "bar".
  • repository (str) – repository name to select when searching for the package.
  • applicable (bool) – To show only applicable packages
  • upgradable (bool) – To show only upgradable packages
Returns:

list of dicts representing table rows

Return type:

list

class airgun.views.package.PackageDetailsView

Bases: airgun.views.common.BaseLoggedInView

class details

Bases: airgun.views.common.SatTab

installed_on
applicable_to
upgradable_for
description
summary
group
license
url
size
filename
checksum
checksum_type
source_rpm
build_host
build_time
class files

Bases: airgun.views.common.SatTab

package_files
breadcrumb
is_displayed