Part of lp.soyuz.interfaces.sourcepackagerelease View In Hierarchy
Known subclasses: lp.soyuz.interfaces.distributionsourcepackagerelease.IDistributionSourcePackageRelease, lp.soyuz.interfaces.reporting.ILatestPersonSourcePackageReleaseCache
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 | builds | Builds for this sourcepackagerelease excluding PPA archives. |
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 | name | The sourcepackagename for this release, as text |
Attribute | title | The title of this sourcepackagerelease |
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. |
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.PackageUpload
record corresponding to original upload of this source package release. It's 'None' if it is a source imported by Gina.ILibraryFileAlias
in this context.
The following file types (and extension) can be looked up in the SourcePackageRelease context:
- Source files: '.orig.tar.gz', 'tar.gz', '.diff.gz' and '.dsc'.
:raises NotFoundError if no file could be found.
:return the corresponding ILibraryFileAlias
if the file was found.
Parameters | filename | the exact filename to be looked up. |
All arguments are optional and can be set individually. A non-passed argument remains untouched.
Parameters | requester: it's the diff requester, any valid IPerson ; | |
to_source: it's the ISourcePackageRelease to diff against. | ||
Returns | the corresponding IPackageDiff record. | |
Raises | PackageDiffAlreadyRequested | when there is already a
PackageDiff record matching the request being made. |
Please note: empty packages (i.e. ones with no files or with files that are all empty) have a size of zero.
Returns | total size (in KB) of this package |
Parameters | since_version | Return changelogs of all versions after since_version up to and including the version of the sourcepackagerelease for this publication. |
Returns | A concatenated set of changelogs of all the required versions, with a blank line between each. If there is no changelog, or there is an error parsing it, None is returned. |