airgun.views.package
¶
Module Contents¶
Classes¶
Main Packages view |
|
Base view for Satellite pages |
- class airgun.views.package.PackagesView(parent, logger=None, **kwargs)¶
Main Packages view
- title¶
- table¶
- repository¶
- applicable¶
- upgradable¶
- search_box¶
- search(query, repository='All Repositories', applicable=False, upgradable=False)¶
Perform search using search box on the page and return table contents.
- Parameters
- Returns
list of dicts representing table rows
- Return type
- property is_displayed¶
The view is displayed when it’s title exists
- class airgun.views.package.PackageDetailsView(parent, logger=None, **kwargs)¶
Base view for Satellite pages
- class details(parent, logger=None, **kwargs)¶
Regular primary level
Tab
.Usage:
@View.nested class mytab(SatTab): TAB_NAME = 'My Tab' @View.nested class subscriptions(SatTab): # no need to specify 'TAB_NAME', it will be set to 'Subscriptions' # automatically pass
Note that
TAB_NAME
is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’- installed_on¶
- applicable_to¶
- upgradable_for¶
- description¶
- summary¶
- group¶
- license¶
- url¶
- size¶
- filename¶
- checksum¶
- checksum_type¶
- source_rpm¶
- build_host¶
- build_time¶
- class files(parent, logger=None, **kwargs)¶
Regular primary level
Tab
.Usage:
@View.nested class mytab(SatTab): TAB_NAME = 'My Tab' @View.nested class subscriptions(SatTab): # no need to specify 'TAB_NAME', it will be set to 'Subscriptions' # automatically pass
Note that
TAB_NAME
is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’- package_files¶
- breadcrumb¶