Part of lp.registry.interfaces.distroseries View In Hierarchy
Known subclasses: lp.registry.interfaces.webservice.IDistroSeries
Attribute | id | The distroseries's unique number. |
Attribute | displayname | Display name (deprecated) |
Attribute | distributionID | The distribution ID. |
Attribute | named_version | The combined display name and version. |
Attribute | parent | The structural parent of this series - the distro |
Attribute | components | The series components. |
Attribute | upload_components | The series components that can be uploaded to. |
Attribute | sections | The series sections. |
Attribute | sourcecount | Source Packages Counter |
Bool | defer_translation_imports | Suspends any translation imports for this series |
Attribute | binarycount | Binary Packages Counter |
Attribute | architecturecount | The number of architectures in this series. |
Attribute | messagecount | The total number of translatable items in this series. |
Attribute | distroserieslanguages | The set of dr-languages in this series. |
Bool | hide_all_translations | Undocumented |
Choice | language_pack_base | Language pack with the export of all translations |
Choice | language_pack_delta | Language pack with the export of all translation updates |
Choice | language_pack_proposed | Base or update language pack export that is being tested and |
Object | last_full_language_pack_exported | Undocumented |
Object | last_delta_language_pack_exported | Undocumented |
Attribute | packagings | All of the Packaging entries for this distroseries. |
Attribute | specifications | The specifications targeted to this series. |
Attribute | language_packs | All language packs associated with this distribution series. |
Bool | backports_not_automatic | Set NotAutomatic: yes and ButAutomaticUpgrades: yes in Release |
Bool | inherit_overrides_from_parents | Undocumented |
Method | isUnstable | Whether or not a distroseries is unstable. |
Method | getLatestUploads | Return the latest five source uploads for this DistroSeries. |
Attribute | architectures | All architectures in this series. |
Attribute | virtualized_architectures | All architectures in this series where PPA is supported. |
Attribute | buildable_architectures | All architectures in this series with available chroot tarball. |
Method | __getitem__ | Return the distroarchseries for this distroseries with the |
Method | __str__ | Return the name of the distroseries. |
Method | getDistroArchSeriesByProcessor | Return the distroarchseries for this distroseries with the |
Method | getDistroArchSeries | Return the distroarchseries for this distroseries with the |
Method | updateStatistics | Update all the Rosetta stats for this distro series. |
Method | updatePackageCount | Update the binary and source package counts for this distro |
Method | getSourcePackage | Return a source package in this distro series by name. |
Method | getTranslatableSourcePackages | Return a list of Source packages in this distribution series |
Method | getPrioritizedUnlinkedSourcePackages | Return a list of package summaries that need packaging links. |
Method | getPrioritizedPackagings | Return a list of packagings that need more upstream information. |
Method | getMostRecentlyLinkedPackagings | Return a list of packagings that are the most recently linked. |
Method | getPackageUploads | Get package upload records for this distribution series. |
Method | getUnlinkedTranslatableSourcePackages | Return a list of source packages that can be translated in |
Method | getBinaryPackage | Return a DistroSeriesBinaryPackage for this name. |
Method | getCurrentSourceReleases | Get the current release of a list of source packages. |
Method | getPublishedSources | Return the SourcePackagePublishingHistory(s) |
Method | getAllPublishedSources | Return all currently published sources for the distroseries. |
Method | getAllUncondemnedSources | Return all uncondemned sources for the distroseries. |
Method | getAllPublishedBinaries | Return all currently published binaries for the distroseries. |
Method | getAllUncondemnedBinaries | Return all uncondemned binaries for the distroseries. |
Method | getDistroSeriesLanguage | Return the DistroSeriesLanguage for this distroseries and the |
Method | getDistroSeriesLanguageOrDummy | Return the DistroSeriesLanguage for this distroseries and the |
Method | createUploadedSourcePackageRelease | Create an uploads SourcePackageRelease . |
Method | getComponentByName | Get the named component. |
Method | getSectionByName | Get the named section. |
Method | addSection | SQLObject provided method to fill a related join key section. |
Method | getBinaryPackagePublishing | Get BinaryPackagePublishings in a DistroSeries. |
Method | getSourcePackagePublishing | Return a selectResult of ISourcePackagePublishingHistory. |
Method | searchPackages | Search through the packge cache for this distroseries and return |
Method | createQueueEntry | Create a queue item attached to this distroseries. |
Method | newArch | Create a new port or DistroArchSeries for this DistroSeries. |
Method | getPOFileContributorsByLanguage | People who translated strings to the given language. |
Method | getSuite | Return the suite for this distro series and the given pocket. |
Method | isSourcePackageFormatPermitted | Check if the specified source format is allowed in this series. |
Method | getDerivedSeries | Get all DistroSeries derived from this one. |
Method | getParentSeries | Get all parent DistroSeries . |
Method | getDifferencesTo | Return the differences between this series and the specified |
Method | isDerivedSeries | Is this series a derived series? |
Method | isInitializing | Is this series initializing? |
Method | isInitialized | Has this series been initialized? |
Method | getInitializationJob | Get the last IInitializeDistroSeriesJob for this series. |
Method | getDifferenceComments | Get IDistroSeriesDifferenceComment items. |
Inherited from IHasDrivers (via ISeriesMixin):
Attribute | drivers | A list of drivers |
Method | personHasDriverRights | Does the given person have launchpad.Driver rights on this object? |
Inherited from IHasAppointedDriver:
Choice | driver | Undocumented |
Inherited from IHasOwner:
Attribute | owner | The object's owner, which is an IPerson. |
Inherited from IBugTarget:
Attribute | bugtargetdisplayname | A display name for this bug target |
Attribute | bugtargetname | The target as shown in mail notifications. |
Attribute | pillar | The pillar containing this target. |
Bool | enable_bugfiling_duplicate_search | Undocumented |
Method | createBug | Create a new bug on this target. |
Inherited from IHasBugs (via IBugTarget):
Method | searchTasks | Search the IBugTasks reported on this entity. |
Method | getBugTaskWeightFunction | Return a function that is used to weight the bug tasks. |
Inherited from ISpecificationTarget (via ISpecificationGoal):
Method | getSpecification | Returns the specification with the given name, for this target, |
Method | getAllowedSpecificationInformationTypes | Get the InformationTypes for this target's specifications. |
Method | getDefaultSpecificationInformationType | Get the default InformationType for the target's specifications. |
Inherited from IHasSpecifications (via ISpecificationGoal, ISpecificationTarget):
Method | valid_specifications | Valid specifications for this target. |
Inherited from IHasMilestones:
Bool | has_milestones | Undocumented |
Inherited from IHasOfficialBugTags:
Method | getUsedBugTagsWithOpenCounts | Return name and bug count of tags having open bugs. |
Method | _getOfficialTagClause | Get the storm clause for finding this targets tags. |
Inherited from IHasBuildRecords:
Method | getBuildRecords | Return build records in the context it is implemented. |
Inherited from IHasTranslationImports:
Method | getFirstEntryToImport | Return the first entry of the queue ready to be imported. |
Method | getTranslationImportQueueEntries | Return entries in the translation import queue for this entity. |
Inherited from IHasTranslationTemplates:
Bool | has_translation_templates | Undocumented |
Bool | has_current_translation_templates | Undocumented |
Bool | has_obsolete_translation_templates | Undocumented |
Bool | has_sharing_translation_templates | Undocumented |
Bool | has_translation_files | Undocumented |
Method | getTemplatesCollection | Return templates as a TranslationTemplatesCollection . |
Method | getSharingPartner | Return the object on the other side of the packaging link. |
Method | getCurrentTemplatesCollection | Return TranslationTemplatesCollection of current templates. |
Method | getCurrentTranslationTemplates | Return an iterator over all active translation templates. |
Method | getCurrentTranslationFiles | Return an iterator over all active translation files. |
Method | getTranslationTemplates | Return an iterator over all its translation templates. |
Method | getTranslationTemplateByName | Return the template with the given name or None. |
Method | getTranslationTemplateFormats | A list of native formats for all current translation templates. |
Inherited from IServiceUsage:
Choice | answers_usage | Where does this pillar have an Answers forum? |
Choice | blueprints_usage | Where does this pillar host blueprints? |
Choice | codehosting_usage | Where does this pillar host code? |
Choice | bug_tracking_usage | Where does this pillar track bugs? |
Bool | uses_launchpad | Undocumented |
The distribution is "unstable" until it is released; after that point, all development on the Release pocket is stopped and development moves on to the other pockets.
It returns a list containing up to five elements as IDistributionSourcePackageRelease instances
IProcessor
.Parameters | processor | An IProcessor |
Returns | An IDistroArchSeries or None when none was found. |
The name given may be a string or an ISourcePackageName-providing object. The source package may not be published in the distro series.
A summary is a dict of package (ISourcePackage
), total_bugs,
and total_messages (translatable messages).
At most five packages are returned of those most recently linked to an upstream.
Parameters | status | Filter results by this PackageUploadStatus , or list
of statuses. |
created_since_date | If specified, only returns items uploaded since the timestamp supplied. | |
archive | Filter results for this IArchive . | |
Filter results by this PackagePublishingPocket or a
list of PackagePublishingPocket . | ||
custom_type | Filter results by this
PackageUploadCustomFormat . | |
name | Filter results by this file name or package name. | |
version | Filter results by this version number string. | |
exact_match | If True, look for exact string matches on the
name and version filters. If False, look for a substring
match so that e.g. a package "kspreadsheetplusplus" would match
the search string "spreadsheet". Defaults to False. | |
Returns | A result set containing IPackageUpload . |
The name given may be an IBinaryPackageName or a string. The binary package may not be published in the distro series.
Parameters | source_package_names | a list of ISourcePackageName
instances. |
Returns | a dict where the key is a ISourcePackage
and the value is a IDistributionSourcePackageRelease . |
Deprecated. Use IArchive.getPublishedSources instead.
Given a ISourcePackageName or name.
If pocket is not specified, we look in all pockets.
If version is not specified, return packages with any version.
If 'include_pending' is True, we return also the pending publication records, those packages that will get published in the next publisher run (it's only useful when we need to know if a given package is known during a publisher run, mostly in pre-upload checks)
If 'archive' is not specified consider publication in the main_archive, otherwise respect the given value.
Return publications in the main archives only.
An uncondemned publication is one without scheduleddeletiondate set.
Return publications in the main archives only.
Return publications in the main archives only.
An uncondemned publication is one without scheduleddeletiondate set.
Return publications in the main archives only.
Create an uploads SourcePackageRelease
.
Set this distroseries set to be the uploadeddistroseries.
All arguments are mandatory, they are extracted/built when processing and uploaded source package:
Parameters | dateuploaded | timestamp, if not provided will be UTC_NOW |
sourcepackagename | ISourcePackageName | |
version | string, a debian valid version | |
maintainer | IPerson designed as package maintainer | |
creator | IPerson, package uploader | |
component | IComponent | |
section | ISection | |
urgency | dbschema.SourcePackageUrgency | |
dscsigningkey | IGPGKey used to sign the DSC file | |
dsc | string, original content of the dsc file | |
copyright | string, the original debian/copyright content | |
changelog | LFA ID of the debian/changelog file in librarian | |
changelog_entry | string, changelog extracted from the changesfile | |
architecturehintlist | string, DSC architectures | |
builddepends | string, DSC build dependencies | |
builddependsindep | string, DSC architecture independent build dependencies. | |
build_conflicts | string, DSC Build-Conflicts content | |
build_conflicts_indep | string, DSC Build-Conflicts-Indep content | |
dsc_maintainer_rfc822 | string, DSC maintainer field | |
dsc_standards_version | string, DSC standards version field | |
dsc_format | string, DSC format version field | |
dsc_binaries | string, DSC binaries field | |
archive | IArchive to where the upload was targeted | |
dateuploaded | optional datetime, if omitted assumed nowUTC | |
source_package_recipe_build | optional SourcePackageRecipeBuild | |
user_defined_fields | optional sequence of key-value pairs with user defined fields. | |
homepage | optional string with (unchecked) upstream homepage URL | |
buildinfo | optional LFA with build information file | |
Returns | the just creates SourcePackageRelease |
Raise NotFoundError if the component is not in the permitted component list for this distroseries.
Raise NotFoundError if the section is not in the permitted section list for this distroseries.
Can optionally restrict the results by architecturetag, pocket and/or component.
If archive is passed, restricted the results to the given archive, if it is suppressed the results will be restricted to the distribution 'main_archive'.
According status and pocket. If archive is passed, restricted the results to the given archive, if it is suppressed the results will be restricted to the distribution 'main_archive'.
Create a new PackageUpload
to the given pocket and archive.
The default state is NEW. Any further state changes go through the Queue state-machine.
Parameters | The PackagePublishingPocket to upload to. | |
archive | The Archive to upload to. Must be for the same
Distribution as this series. | |
changesfilename | Name for the upload's .changes file. You may
specify a changes file by passing both changesfilename and
changesfilecontent , or by passing changes_file_alias . | |
changesfilecontent | Text for the changes file. It will be
signed and stored in the Librarian. Must be passed together with
changesfilename ; alternatively, you may provide a
changes_file_alias to replace both of these. | |
changes_file_alias | A LibraryFileAlias containing the
.changes file. Security warning: unless the file has already
been checked, this may open us up to replay attacks as per bugs
159304 and 451396. Use changes_file_alias only if you know
this can't happen. | |
signingkey | IGPGKey used to sign the changes file, or None if
it is unsigned. | |
Returns | A new PackageUpload . |
The people that translated only IPOTemplate objects that are not current will not appear in the returned list.
Parameters | A DBItem of PackagePublishingPocket . | |
Returns | A string. |
Parameters | format | The SourcePackageFormat to check. |
DistroSeries
derived from this one.DistroSeries
.Parameters | parent_series | The parent series for which the differences should be returned. All parents are considered if this is None. |
difference_type | The type of the differences to return. | |
source_package_name_filter | A package name to use as a filter for the differences. | |
status | The status of the differences to return. | |
child_version_higher | Only return differences for which the child's version is higher than the parent's version. |
A derived series has one or more parent series.
IInitializeDistroSeriesJob
for this series.Returns | None if no job is found or an IInitializeDistroSeriesJob . |
IDistroSeriesDifferenceComment
items.Parameters | since | Ignore comments older than this timestamp. |
source_package_name | Return only comments for a source package with this name. | |
Returns | A Storm result set of IDistroSeriesDifferenceComment
objects for this distroseries, ordered from oldest to newest
comment. |