l.r.m.d.DistroSeriesDifference(StormBase) : class documentation

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

See DistroSeriesDifference.
Static Method new See IDistroSeriesDifferenceSource.
Static Method getForDistroSeries See IDistroSeriesDifferenceSource.
Static Method getByDistroSeriesNameAndParentSeries See IDistroSeriesDifferenceSource.
Static Method getSimpleUpgrades See IDistroSeriesDifferenceSource.
Method sourcepackagename See IDistroSeriesDifference
Method source_pub See IDistroSeriesDifference.
Method parent_source_pub See IDistroSeriesDifference.
Method base_source_pub See IDistroSeriesDifference.
Method owner See IDistroSeriesDifference.
Method title See IDistroSeriesDifference.
Method getAncestry Return the version ancestry for the given SPR, or None.
Method package_diff_url See IDistroSeriesDifference.
Method parent_package_diff_url See IDistroSeriesDifference.
Method packagesets See IDistroSeriesDifference.
Method parent_packagesets See IDistroSeriesDifference.
Method package_diff_status See IDistroSeriesDifference.
Method parent_package_diff_status See IDistroSeriesDifference.
Method parent_source_package_release Undocumented
Method source_package_release Undocumented
Method base_distro_source_package_release See IDistroSeriesDifference.
Method update See IDistroSeriesDifference.
Method addComment See IDistroSeriesDifference.
Method latest_comment See IDistroSeriesDifference.
Method getComments See IDistroSeriesDifference.
Method blacklist See IDistroSeriesDifference.
Method unblacklist See IDistroSeriesDifference.
Method requestPackageDiffs See IDistroSeriesDifference.
Method _getLatestSourcePub Helper to keep source_pub/parent_source_pub DRY.
Method _getPackageDiffURL Check status and return URL if appropriate.
Method _package_release Undocumented
Method _updateType Helper for update() interface method.
Method _updateVersionsAndStatus Helper for the update() interface method.
Method _updateBaseVersion Check for the most-recently published common version.
Method _setPackageDiffs Set package diffs if they exist.
Method _getCommentWithStatusChange Undocumented

Inherited from StormBase:

Method __storm_invalidated__ Flush cached properties.
@staticmethod
def new(derived_series, source_package_name, parent_series):
See IDistroSeriesDifferenceSource.
@staticmethod
def getForDistroSeries(distro_series, difference_type=None, name_filter=None, status=None, child_version_higher=False, parent_series=None, packagesets=None, changed_by=None):
See IDistroSeriesDifferenceSource.
@staticmethod
def getByDistroSeriesNameAndParentSeries(distro_series, source_package_name, parent_series):
See IDistroSeriesDifferenceSource.
@staticmethod
def getSimpleUpgrades(distro_series):
See IDistroSeriesDifferenceSource.

Eager-load related ISourcePackageName records.

@property
def sourcepackagename(self):
See IDistroSeriesDifference
@cachedproperty
def source_pub(self):
See IDistroSeriesDifference.
@cachedproperty
def parent_source_pub(self):
See IDistroSeriesDifference.
def _getLatestSourcePub(self, for_parent=False):
Helper to keep source_pub/parent_source_pub DRY.
@cachedproperty
def base_source_pub(self):
See IDistroSeriesDifference.
@property
def owner(self):
See IDistroSeriesDifference.
@property
def title(self):
See IDistroSeriesDifference.
def getAncestry(self, spr):
Return the version ancestry for the given SPR, or None.
def _getPackageDiffURL(self, package_diff):
Check status and return URL if appropriate.
@property
def package_diff_url(self):
See IDistroSeriesDifference.
@property
def parent_package_diff_url(self):
See IDistroSeriesDifference.
@cachedproperty
def packagesets(self):
See IDistroSeriesDifference.
@cachedproperty
def parent_packagesets(self):
See IDistroSeriesDifference.
@property
def package_diff_status(self):
See IDistroSeriesDifference.
@property
def parent_package_diff_status(self):
See IDistroSeriesDifference.
@cachedproperty
def parent_source_package_release(self):
Undocumented
@cachedproperty
def source_package_release(self):
Undocumented
def _package_release(self, distro_series, version):
Undocumented
@cachedproperty
def base_distro_source_package_release(self):
See IDistroSeriesDifference.
def update(self, manual=False):
See IDistroSeriesDifference.
def _updateType(self):
Helper for update() interface method.

Check whether the presence of a source in the derived or parent series has changed (which changes the type of difference).

def _updateVersionsAndStatus(self, manual):
Helper for the update() interface method.

Check whether the status of this difference should be updated.

ParametersmanualBoolean, True if this is a user-requested change. This overrides auto-blacklisting.
def _updateBaseVersion(self):
Check for the most-recently published common version.

Return whether the record was updated or not.

def _setPackageDiffs(self):
Set package diffs if they exist.
def addComment(self, commenter, comment):
See IDistroSeriesDifference.
@cachedproperty
def latest_comment(self):
See IDistroSeriesDifference.
def getComments(self):
See IDistroSeriesDifference.
def _getCommentWithStatusChange(self, new_status, comment=None):
Undocumented
def blacklist(self, commenter, all=False, comment=None):
See IDistroSeriesDifference.
def unblacklist(self, commenter, comment=None):
See IDistroSeriesDifference.
def requestPackageDiffs(self, requestor):
See IDistroSeriesDifference.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.