l.s.b.archive : module documentation

Part of lp.soyuz.browser

Browser views for archive.
Class ArchiveBadges Provides IHasBadges for IArchive.
Function traverse_named_ppa For PPAs, traverse the right place.
Class DistributionArchiveURL Dynamic URL declaration for IDistributionArchive.
Class PPAURL Dynamic URL declaration for named PPAs.
Class ArchiveNavigation Navigation methods for IArchive.
Class ArchiveMenuMixin No class docstring; 2/13 methods documented
Class ArchiveNavigationMenu Overview Menu for IArchive.
Interface IArchiveIndexActionsMenu A marker interface for the ppa index actions menu.
Class ArchiveIndexActionsMenu Archive index navigation menu.
Interface IArchivePackagesActionMenu A marker interface for the packages action menu.
Class ArchivePackagesActionMenu An action menu for archive package-related actions.
Class ArchiveViewBase Common features for Archive view classes.
Class ArchiveSeriesVocabularyFactory A factory for generating vocabularies of an archive's series.
Class SeriesFilterWidget Redefining default display value as 'Any series'.
Class StatusFilterWidget Redefining default display value as 'Any status'.
Interface IPPAPackageFilter The interface used as the schema for the package filtering form.
Class ArchiveSourcePackageListViewBase A Form view for filtering and batching source packages.
Class ArchiveView Default Archive view class.
Class ArchivePackagesView Detailed packages view for an archive.
Class ArchiveSourceSelectionFormView Base class to implement a source selection widget for PPAs.
Interface IArchivePackageDeletionForm Schema used to delete packages within an archive.
Class ArchivePackageDeletionView Archive package deletion view class.
Class DestinationArchiveDropdownWidget Redefining default display value as 'This PPA'.
Class DestinationSeriesDropdownWidget Redefining default display value as 'The same series'.
Function copy_asynchronously Schedule jobs to copy packages later.
Function copy_asynchronously_message Return a message detailing the sync action.
Function render_cannotcopy_as_html Render CannotCopy exception as HTML for display in the page.
Class PackageCopyingMixin A mixin class that adds helpers for package copying.
Function make_archive_vocabulary Undocumented
Class ArchivePackageCopyingView Archive package copying view class.
Function get_escapedtext Return escapedtext if message is an IStructuredString.
Class ArchiveEditDependenciesView Archive dependencies view class.
Class ArchiveActivateView PPA activation view class.
Class ArchiveBuildsView Build Records View for IArchive.
Class BaseArchiveEditView No class docstring; 1/3 methods documented
Class EnableProcessorsMixin A mixin that provides processors field support
Class ArchiveEditView No class docstring; 1/4 methods documented
Class ArchiveAdminView No class docstring; 2/3 methods documented
Class ArchiveDeleteView View class for deleting `IArchive`s
def traverse_named_ppa(person, distro_name, ppa_name):
For PPAs, traverse the right place.
ParameterspersonThe PPA owner.
distro_nameThe Distribution name part of the URL.
ppa_nameThe PPA name part of the URL.
def copy_asynchronously(source_pubs, dest_archive, dest_series, dest_pocket, include_binaries, dest_url=None, dest_display_name=None, person=None, check_permissions=True, sponsored=None):
Schedule jobs to copy packages later.
ReturnsA structured with human-readable feedback about the operation.
RaisesCannotCopyIf check_permissions is True and the copy is not permitted.
def copy_asynchronously_message(source_pubs_count, dest_archive, dest_url=None, dest_display_name=None):
Return a message detailing the sync action.
Parameterssource_pubs_countThe number of source pubs requested for syncing.
dest_archiveThe destination IArchive.
dest_urlThe URL of the destination to display in the notification box. Defaults to the target archive.
dest_display_nameThe text to use for the dest_url link. Defaults to the target archive's display name.
def render_cannotcopy_as_html(cannotcopy_exception):
Render CannotCopy exception as HTML for display in the page.
def make_archive_vocabulary(archives):
Undocumented
def get_escapedtext(message):
Return escapedtext if message is an IStructuredString.
API Documentation for Launchpad, generated by pydoctor at 2018-08-14 00:00:04.