l.s.i.d.IDistributionSourcePackageRelease(ISourcePackageRelease) : interface documentation

Part of lp.soyuz.interfaces.distributionsourcepackagerelease View In Hierarchy

This is a SourcePackageRelease-In-A-Distribution. It represents a real source package release that has been uploaded to a distribution. You can interrogate it for interesting information about its history in the distro.
Attribute distribution The distribution.
Attribute sourcepackagerelease The source package release.
Attribute sourcepackage Meta DistributionSourcePackage correspondont to this release.
Attribute name The source package name as text
Attribute displayname Display name for this package.
Attribute title Title for this package.
Attribute publishing_history Return a list of publishing records for this source package release in this distribution.
Attribute builds The builds we have for this sourcepackage release specifically in this distribution. Note that binaries could be inherited from a parent distribution, not necessarily built here, but must be published in a main archive.
Method getBuildsByArchTag Return the builds for this SPR on the given architecture.
Attribute sample_binary_packages A single binary package of each named package produced from this source package in this distribution. The are each of form DistroSeriesBinaryPackage.
Method getBinariesForSeries Return this SourcePackageRelease's binaries in this DistroSeries.

Inherited from ISourcePackageRelease:

Attribute id SourcePackageRelease identifier
Attribute creatorID DB ID of creator
Attribute creator Person that created this release
Attribute maintainerID DB ID of the maintainer
Attribute maintainer The person in general responsible for this release
Attribute version A version string
Attribute dateuploaded Date of Upload
Attribute urgency Source Package Urgency
Attribute signing_key_owner Signing key owner
Attribute signing_key_fingerprint Signing key fingerprint
Attribute component Source Package Component
Attribute format The Source Package Format
Attribute changelog LibraryFileAlias containing debian/changelog.
Attribute changelog_entry Source Package Change Log Entry
Attribute change_summary The message on the latest change in this release. This is usually a snippet from the changelog
Attribute buildinfo LibraryFileAlias containing build information for this source upload, if any.
TextLine builddepends A comma-separated list of packages on which this package depends to build
TextLine builddependsindep Same as builddepends, but the list is of arch-independent packages
TextLine build_conflicts Binaries that will conflict when building this source.
TextLine build_conflicts_indep Same as build-conflicts but only lists arch-independent binaries.
TextLine architecturehintlist Architectures where this packages is supposed to be built
TextLine dsc_maintainer_rfc822 Original maintainer line contained in the DSC file.
TextLine dsc_standards_version DSC standards version used to build this source.
TextLine dsc_format DSC file format used to upload this source
TextLine dsc_binaries Binaries claimed to be generated by this source.
Attribute dsc The DSC file for this SourcePackageRelease
Attribute copyright Copyright information for this SourcePackageRelease, if available.
Attribute section Section this Source Package Release belongs to
Attribute files IBinaryPackageFile entries for this sourcepackagerelease
Attribute sourcepackagename SourcePackageName table reference
Attribute sourcepackagenameID SourcePackageName id.
Attribute upload_distroseries The distroseries in which this package was first uploaded in Launchpad
Attribute publishings MultipleJoin on SourcepackagePublishing
List user_defined_fields Undocumented
TextLine homepage Upstream project homepage as set in the package. This URL is not sanitized.
Attribute age Time passed since the source package release is present in Launchpad
Attribute failed_builds A (potentially empty) list of build failures that happened for this source package release, or None
Attribute needs_building A boolean that indicates whether this package still needs to be built (on any architecture)
Attribute published_archives A set of all the archives that this source package is published in.
Attribute upload_archive The archive for which this package was first uploaded in Launchpad
Attribute upload_changesfile The LibraryFileAlias object containing the changes file which was originally uploaded with this source package release. It's 'None' if it is a source imported by Gina.
Attribute package_upload The PackageUpload record corresponding to original upload of this source package release. It's 'None' if it is a source imported by Gina.
Attribute uploader The user who uploaded the package.
Method getUserDefinedField Case-insensitively get a user-defined field.
Method addFile Add the provided library file alias (file) to the list of files
Method getFileByName Return the corresponding ILibraryFileAlias in this context.
Method override Uniform method to override sourcepackagerelease attribute.
Attribute package_diffs All IPackageDiff generated from this context.
Method getDiffTo Return an IPackageDiff to a given ISourcePackageRelease.
Method requestDiffTo Request a package diff from the context source to a given source.
Method getPackageSize Get the size total (in KB) of files comprising this package.
Method aggregate_changelog Get all the changelogs since the version specified.
distribution =
The distribution.
sourcepackagerelease =
The source package release.
sourcepackage =
Meta DistributionSourcePackage correspondont to this release.
name =
The source package name as text
displayname =
Display name for this package.
title =
Title for this package.
publishing_history =
Return a list of publishing records for this source package release in this distribution.
builds =
The builds we have for this sourcepackage release specifically in this distribution. Note that binaries could be inherited from a parent distribution, not necessarily built here, but must be published in a main archive.
def getBuildsByArchTag(arch_tag):
Return the builds for this SPR on the given architecture.
sample_binary_packages =
A single binary package of each named package produced from this source package in this distribution. The are each of form DistroSeriesBinaryPackage.
def getBinariesForSeries(distroseries):
Return this SourcePackageRelease's binaries in this DistroSeries.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.