Part of lp.soyuz.browser.archive View In Hierarchy
Known subclasses: lp.soyuz.browser.archive.ArchiveBuildsView, lp.soyuz.browser.archive.ArchiveEditDependenciesView, lp.soyuz.browser.archive.ArchiveSourcePackageListViewBase, lp.soyuz.browser.archive.BaseArchiveEditView
Method | initialize | Undocumented |
Method | private | Undocumented |
Method | repository_usage | Return a dictionary with usage details of this repository. |
Method | archive_label | Return either 'PPA' or 'Archive' as the label for archives. |
Method | build_counters | Return a dict representation of the build counters. |
Method | dependencies | Undocumented |
Method | show_dependencies | Whether or not to present the archive-dependencies section. |
Method | has_disabled_dependencies | Whether this archive has disabled archive dependencies or not. |
Method | package_copy_requests | Return any package copy requests associated with this archive. |
Method | disabled_warning_message | Return an appropriate message if the archive is disabled. |
Inherited from SourcesListEntriesWidget:
Method | sources_list_entries | Setup and return the sources list entries widget. |
Method | active_token | Return the corresponding current token for this subscription. |
Method | archive_url | Return an archive_url where available, or None. |
Method | has_sources | Whether or not this PPA has any sources for the view. |
It is desired to use the name 'PPA' for branding reasons where appropriate, even though the template logic is the same (and hence not worth splitting off into a separate template or macro)
The dependencies section is presented if there are any dependency set or if the user has permission to change it.
Although, it will be True only if the requester has permission to edit the context archive (i.e. if the user can do something about it).