l.r.m.d.DistroSeries(SQLBase, BugTargetBase, HasSpecificationsMixin, HasTranslationImportsMixin, HasTranslationTemplatesMixin, HasMilestonesMixin, SeriesMixin, StructuralSubscriptionTargetMixin) : class documentation

Part of lp.registry.model.distroseries View In Hierarchy

A particular series of a distribution.
Method __init__ Extended version of the SQLObjectBase constructor.
Method displayname Undocumented
Method pillar See IBugTarget.
Method series See ISeriesBugTarget.
Method named_version Undocumented
Method upload_components See IDistroSeries.
Method components See IDistroSeries.
Method component_names See IDistroSeries.
Method suite_names See IDistroSeries.
Method answers_usage See IServiceUsage.
Method blueprints_usage See IServiceUsage.
Method translations_usage See IServiceUsage.
Method codehosting_usage See IServiceUsage.
Method bug_tracking_usage See IServiceUsage.
Method uses_launchpad See IServiceUsage.
Method __getitem__ See IDistroSeries.
Method __repr__ Undocumented
Method __str__ Undocumented
Method getDistroArchSeries See IDistroSeries.
Method getDistroArchSeriesByProcessor See IDistroSeries.
Method inherit_overrides_from_parents 0 Undocumented
Method inherit_overrides_from_parents Undocumented
Method enabled_architectures Undocumented
Method buildable_architectures Undocumented
Method virtualized_architectures Undocumented
Method parent See IDistroSeries.
Method owner See IDistroSeries.
Method sortkey A string to be used for sorting distro seriess.
Method packagings See IDistroSeries.
Method getPrioritizedUnlinkedSourcePackages See IDistroSeries.
Method getPrioritizedPackagings See IDistroSeries.
Method getMostRecentlyLinkedPackagings See IDistroSeries.
Method supported Undocumented
Method distroserieslanguages Undocumented
Method bug_reporting_guidelines See IBugTarget.
Method bug_reported_acknowledgement See IBugTarget.
Method updatePackageCount See IDistroSeries.
Method architecturecount See IDistroSeries.
Method fullseriesname Undocumented
Method bugtargetname See IBugTarget.
Method bugtargetdisplayname See IBugTarget.
Method bugtarget_parent See ISeriesBugTarget.
Method last_full_language_pack_exported Undocumented
Method last_delta_language_pack_exported Undocumented
Method backports_not_automatic 0 Undocumented
Method backports_not_automatic Undocumented
Method include_long_descriptions 0 Undocumented
Method include_long_descriptions Undocumented
Method index_compressors 0 Undocumented
Method index_compressors Undocumented
Method publish_by_hash 0 Undocumented
Method publish_by_hash Undocumented
Method advertise_by_hash 0 Undocumented
Method advertise_by_hash Undocumented
Method strict_supported_component_dependencies 0 Undocumented
Method strict_supported_component_dependencies Undocumented
Method official_bug_tags See IHasBugs.
Method specifications See IHasSpecifications.
Method getDistroSeriesLanguage See IDistroSeries.
Method getDistroSeriesLanguageOrDummy See IDistroSeries.
Method updateStatistics See IDistroSeries.
Method getSourcePackage See IDistroSeries.
Method getBinaryPackage See IDistroSeries.
Method getCurrentSourceReleases See IDistroSeries.
Method getTranslatableSourcePackages See IDistroSeries.
Method getUnlinkedTranslatableSourcePackages See IDistroSeries.
Method getPublishedSources See IDistroSeries.
Method isUnstable See IDistroSeries.
Method getAllPublishedSources See IDistroSeries.
Method getAllPublishedBinaries See IDistroSeries.
Method getAllUncondemnedSources See IDistroSeries.
Method getAllUncondemnedBinaries See IDistroSeries.
Method getSourcePackagePublishing See IDistroSeries.
Method getBinaryPackagePublishing See IDistroSeries.
Method getBuildRecords See IHasBuildRecords
Method createUploadedSourcePackageRelease See IDistroSeries.
Method getComponentByName See IDistroSeries.
Method getSectionByName See IDistroSeries.
Method searchPackages See IDistroSeries.
Method newArch See IDistroSeries.
Method newMilestone See IDistroSeries.
Method getLatestUploads See IDistroSeries.
Static Method setNewerDistroSeriesVersions Set the newer_distroseries_version attribute on the spph entries.
Method createQueueEntry See IDistroSeries.
Method getPackageUploadQueue See IDistroSeries.
Method getPackageUploads See IDistroSeries.
Method getBugSummaryContextWhereClause See BugTargetBase.
Method getPOFileContributorsByLanguage See IDistroSeries.
Method main_archive Undocumented
Method getTemplatesCollection See IHasTranslationTemplates.
Method getSharingPartner See IHasTranslationTemplates.
Method getSuite See IDistroSeries.
Method isSourcePackageFormatPermitted Undocumented
Method initDerivedDistroSeries See IDistroSeries.
Method getParentSeries See IDistroSeriesPublic.
Method getDerivedSeries See IDistroSeriesPublic.
Method getBugTaskWeightFunction Provide a weight function to determine optimal bug task.
Method getDifferencesTo See IDistroSeries.
Method isDerivedSeries See IDistroSeries.
Method isInitializing See IDistroSeries.
Method isInitialized See IDistroSeries.
Method getInitializationJob See IDistroSeries.
Method getDifferenceComments See IDistroSeries.
Method _all_packagings Get an unordered list of all packagings.
Static Method _packaging_row_to_packaging Undocumented
Method _current_sourcepackage_po_weight See getPrioritized*.
Method _current_sourcepackage_joins_and_conditions The SQL joins and conditions to prioritize source packages.
Method _getMilestoneCondition See HasMilestonesMixin.
Method _customizeSearchParams Customize search_params for this distribution series.
Method _getOfficialTagClause Undocumented
Method _getAllSources Get all sources ever published in this series' main archives.
Method _getAllBinaries Get all binaries ever published in this series' main archives.

Inherited from SQLBase:

Method destroySelf Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented

Inherited from BugTargetBase:

Method getUsedBugTagsWithOpenCounts See IBugTarget.
Method createBug See IBugTarget.

Inherited from HasBugsBase (via BugTargetBase):

Method searchTasks See IHasBugs.

Inherited from HasSpecificationsMixin:

Method visible_specifications See IHasSpecifications.
Method valid_specifications See IHasSpecifications.
Method api_valid_specifications Undocumented
Method specificationCount See IHasSpecifications.
Method _specification_sort Return the storm sort order for 'specifications'.

Inherited from HasTranslationImportsMixin:

Method getFirstEntryToImport See IHasTranslationImports.
Method getTranslationImportQueueEntries See IHasTranslationImports.

Inherited from HasTranslationTemplatesMixin:

Method getCurrentTemplatesCollection See IHasTranslationTemplates.
Method getCurrentTranslationTemplates See IHasTranslationTemplates.
Method has_translation_templates See IHasTranslationTemplates.
Method has_current_translation_templates See IHasTranslationTemplates.
Method has_obsolete_translation_templates See IHasTranslationTemplates.
Method has_sharing_translation_templates See IHasTranslationTemplates.
Method getCurrentTranslationFiles See IHasTranslationTemplates.
Method has_translation_files See IHasTranslationTemplates.
Method getTranslationTemplates See IHasTranslationTemplates.
Method getTranslationTemplateByName See IHasTranslationTemplates.
Method getTranslationTemplateFormats See IHasTranslationTemplates.
Method _orderTemplates Apply the conventional ordering to a result set of templates.

Inherited from HasMilestonesMixin:

Method has_milestones Undocumented
Method all_milestones See IHasMilestones.
Method _get_milestones See IHasMilestones.

Inherited from SeriesMixin:

Method active Undocumented
Method bug_supervisor See ISeriesMixin.
Method drivers See IHasDrivers.

Inherited from HasDriversMixin (via SeriesMixin):

Method personHasDriverRights See IHasDrivers.

Inherited from StructuralSubscriptionTargetMixin:

Method parent_subscription_target See IStructuralSubscriptionTarget.
Method target_type_display See IStructuralSubscriptionTarget.
Method userCanAlterSubscription See IStructuralSubscriptionTarget.
Method addSubscription See IStructuralSubscriptionTarget.
Method userCanAlterBugSubscription See IStructuralSubscriptionTarget.
Method addBugSubscription See IStructuralSubscriptionTarget.
Method addBugSubscriptionFilter See IStructuralSubscriptionTarget.
Method removeBugSubscription See IStructuralSubscriptionTarget.
Method getSubscription See IStructuralSubscriptionTarget.
Method getSubscriptions See IStructuralSubscriptionTarget.
Method bug_subscriptions See IStructuralSubscriptionTarget.
Method userHasBugSubscriptions See IStructuralSubscriptionTarget.
Method __helper A IStructuralSubscriptionTargetHelper for this object.
Method _target_args Target Arguments.
def __init__(self, *args, **kwargs):
Extended version of the SQLObjectBase constructor.

We force use of the master Store.

We refetch any parameters from different stores from the correct master Store.

@property
def displayname(self):
Undocumented
@property
def pillar(self):
See IBugTarget.
@property
def series(self):
See ISeriesBugTarget.
@property
def named_version(self):
Undocumented
@property
def upload_components(self):
See IDistroSeries.
@cachedproperty
def components(self):
See IDistroSeries.
@cachedproperty
def component_names(self):
See IDistroSeries.
@cachedproperty
def suite_names(self):
See IDistroSeries.
@property
def answers_usage(self):
See IServiceUsage.
@property
def blueprints_usage(self):
See IServiceUsage.
@property
def translations_usage(self):
See IServiceUsage.
@property
def codehosting_usage(self):
See IServiceUsage.
@property
def bug_tracking_usage(self):
See IServiceUsage.
@property
def uses_launchpad(self):
See IServiceUsage.
def __getitem__(self, archtag):
See IDistroSeries.
def __repr__(self):
Undocumented
def __str__(self):
Undocumented
def getDistroArchSeries(self, archtag):
See IDistroSeries.
def getDistroArchSeriesByProcessor(self, processor):
See IDistroSeries.
@property
def inherit_overrides_from_parents 0(self):
Undocumented
@inherit_overrides_from_parents.setter
def inherit_overrides_from_parents(self, value):
Undocumented
@property
def enabled_architectures(self):
Undocumented
@property
def buildable_architectures(self):
Undocumented
@property
def virtualized_architectures(self):
Undocumented
@property
def parent(self):
See IDistroSeries.
@property
def owner(self):
See IDistroSeries.
@property
def sortkey(self):
A string to be used for sorting distro seriess.

This is designed to sort alphabetically by distro and series name, except that Ubuntu will be at the top of the listing.

@cachedproperty
def _all_packagings(self):
Get an unordered list of all packagings.
ReturnsA ResultSet which can be decorated or tuned further. Use DistroSeries._packaging_row_to_packaging to extract the packaging objects out.
@staticmethod
def _packaging_row_to_packaging(row):
Undocumented
@property
def packagings(self):
See IDistroSeries.
def getPrioritizedUnlinkedSourcePackages(self):
See IDistroSeries.

The prioritization is a heuristic rule using bug count, translatable messages, and the source package release's component.

def getPrioritizedPackagings(self):
See IDistroSeries.

The prioritization is a heuristic rule using the branch, bug heat, translatable messages, and the source package release's component.

@property
def _current_sourcepackage_po_weight(self):
See getPrioritized*.
@property
def _current_sourcepackage_joins_and_conditions(self):
The SQL joins and conditions to prioritize source packages.

Used for getPrioritizedPackagings only.

def getMostRecentlyLinkedPackagings(self):
See IDistroSeries.
@property
def supported(self):
Undocumented
@property
def distroserieslanguages(self):
Undocumented
@property
def bug_reporting_guidelines(self):
See IBugTarget.
@property
def bug_reported_acknowledgement(self):
See IBugTarget.
def _getMilestoneCondition(self):
See HasMilestonesMixin.
def updatePackageCount(self):
See IDistroSeries.
@property
def architecturecount(self):
See IDistroSeries.
@property
def fullseriesname(self):
Undocumented
@property
def bugtargetname(self):
See IBugTarget.
@property
def bugtargetdisplayname(self):
See IBugTarget.
@property
def bugtarget_parent(self):
See ISeriesBugTarget.
@property
def last_full_language_pack_exported(self):
Undocumented
@property
def last_delta_language_pack_exported(self):
Undocumented
@property
def backports_not_automatic 0(self):
Undocumented
@backports_not_automatic.setter
def backports_not_automatic(self, value):
Undocumented
@property
def include_long_descriptions 0(self):
Undocumented
@include_long_descriptions.setter
def include_long_descriptions(self, value):
Undocumented
@property
def index_compressors 0(self):
Undocumented
@index_compressors.setter
def index_compressors(self, value):
Undocumented
@property
def publish_by_hash 0(self):
Undocumented
@publish_by_hash.setter
def publish_by_hash(self, value):
Undocumented
@property
def advertise_by_hash 0(self):
Undocumented
@advertise_by_hash.setter
def advertise_by_hash(self, value):
Undocumented
@property
def strict_supported_component_dependencies 0(self):
Undocumented
@strict_supported_component_dependencies.setter
def strict_supported_component_dependencies(self, value):
Undocumented
def _customizeSearchParams(self, search_params):
Customize search_params for this distribution series.
def _getOfficialTagClause(self):
Undocumented
@property
def official_bug_tags(self):
See IHasBugs.
def specifications(self, user, sort=None, quantity=None, filter=None, need_people=True, need_branches=True, need_workitems=False):

See IHasSpecifications.

In this case the rules for the default behaviour cover three things:

  • acceptance: if nothing is said, ACCEPTED only
  • completeness: if nothing is said, ANY
  • informationalness: if nothing is said, ANY
def getDistroSeriesLanguage(self, language):
See IDistroSeries.
def getDistroSeriesLanguageOrDummy(self, language):
See IDistroSeries.
def updateStatistics(self, ztm):
See IDistroSeries.
def getSourcePackage(self, name):
See IDistroSeries.
def getBinaryPackage(self, name):
See IDistroSeries.
def getCurrentSourceReleases(self, source_package_names):
See IDistroSeries.
def getTranslatableSourcePackages(self):
See IDistroSeries.
def getUnlinkedTranslatableSourcePackages(self):
See IDistroSeries.
def getPublishedSources(self, sourcepackage_or_name, version=None, pocket=None, include_pending=False, archive=None):
See IDistroSeries.
def isUnstable(self):
See IDistroSeries.
def _getAllSources(self):
Get all sources ever published in this series' main archives.
def _getAllBinaries(self):
Get all binaries ever published in this series' main archives.
def getAllPublishedSources(self):
See IDistroSeries.
def getAllPublishedBinaries(self):
See IDistroSeries.
def getAllUncondemnedSources(self):
See IDistroSeries.
def getAllUncondemnedBinaries(self):
See IDistroSeries.
def getSourcePackagePublishing(self, pocket, component, archive):
See IDistroSeries.
def getBinaryPackagePublishing(self, archtag, pocket, component, archive):
See IDistroSeries.
def getBuildRecords(self, build_state=None, name=None, pocket=None, arch_tag=None, user=None, binary_only=True):
See IHasBuildRecords
def createUploadedSourcePackageRelease(self, sourcepackagename, version, maintainer, builddepends, builddependsindep, architecturehintlist, component, creator, urgency, changelog, changelog_entry, dsc, dscsigningkey, section, dsc_maintainer_rfc822, dsc_standards_version, dsc_format, dsc_binaries, archive, copyright, build_conflicts, build_conflicts_indep, dateuploaded=DEFAULT, source_package_recipe_build=None, user_defined_fields=None, homepage=None, buildinfo=None):
See IDistroSeries.
def getComponentByName(self, name):
See IDistroSeries.
def getSectionByName(self, name):
See IDistroSeries.
def searchPackages(self, text):
See IDistroSeries.
def newArch(self, architecturetag, processor, official, owner, enabled=True):
See IDistroSeries.
def newMilestone(self, name, dateexpected=None, summary=None, code_name=None, tags=None):
See IDistroSeries.
def getLatestUploads(self):
See IDistroSeries.
@staticmethod
def setNewerDistroSeriesVersions(spphs):
Set the newer_distroseries_version attribute on the spph entries.
ParametersspphsThe SourcePackagePublishingHistory objects to set the newer_distroseries_version attribute on.
def createQueueEntry(self, pocket, archive, changesfilename=None, changesfilecontent=None, changes_file_alias=None, signing_key=None, package_copy_job=None):
See IDistroSeries.
def getPackageUploadQueue(self, state):
See IDistroSeries.
def getPackageUploads(self, status=None, created_since_date=None, archive=None, pocket=None, custom_type=None, name=None, version=None, exact_match=False):
See IDistroSeries.
def getBugSummaryContextWhereClause(self):
See BugTargetBase.
def getPOFileContributorsByLanguage(self, language):
See IDistroSeries.
@property
def main_archive(self):
Undocumented
def getTemplatesCollection(self):
See IHasTranslationTemplates.
def getSharingPartner(self):
See IHasTranslationTemplates.
def getSuite(self, pocket):
See IDistroSeries.
def isSourcePackageFormatPermitted(self, format):
Undocumented
def initDerivedDistroSeries(self, user, parents, architectures=(), archindep_archtag=None, packagesets=(), rebuild=False, overlays=(), overlay_pockets=(), overlay_components=()):
See IDistroSeries.
def getParentSeries(self):
See IDistroSeriesPublic.
def getDerivedSeries(self):
See IDistroSeriesPublic.
def getBugTaskWeightFunction(self):
Provide a weight function to determine optimal bug task.

Full weight is given to tasks for this distro series.

If the series isn't found, the distribution task is better than others.

def getDifferencesTo(self, parent_series=None, difference_type=None, source_package_name_filter=None, status=None, child_version_higher=False):
See IDistroSeries.
def isDerivedSeries(self):
See IDistroSeries.
def isInitializing(self):
See IDistroSeries.
def isInitialized(self):
See IDistroSeries.
def getInitializationJob(self):
See IDistroSeries.
def getDifferenceComments(self, since=None, source_package_name=None):
See IDistroSeries.
API Documentation for Launchpad, generated by pydoctor at 2019-11-20 00:00:15.