Part of lp.registry.model.sourcepackage View In Hierarchy
This object is not a true database object, but rather attempts to represent the concept of a source package in a distro series, with links to the relevant database objects.
| Method | __init__ | Undocumented |
| Class Method | new | See ISourcePackageFactory. |
| Method | __repr__ | Undocumented |
| Method | currentrelease | Undocumented |
| Method | path | See ISourcePackage. |
| Method | display_name | Undocumented |
| Method | bugtargetdisplayname | See IBugTarget. |
| Method | bugtargetname | See IBugTarget. |
| Method | bugtarget_parent | See ISeriesBugTarget. |
| Method | title | See ISourcePackage. |
| Method | summary | See ISourcePackage. |
| Method | distribution | Undocumented |
| Method | format | Undocumented |
| Method | releases | See ISourcePackage. |
| Method | distinctreleases | Return all distinct SourcePackageReleases for this sourcepackage. |
| Method | name | Undocumented |
| Method | productseries | Undocumented |
| Method | direct_packaging | See ISourcePackage. |
| Method | packaging | See ISourcePackage |
| Method | published_by_pocket | See ISourcePackage. |
| Method | development_version | See ISourcePackage. |
| Method | distribution_sourcepackage | See ISourcePackage. |
| Method | bug_reporting_guidelines | See IBugTarget. |
| Method | bug_reported_acknowledgement | See IBugTarget. |
| Method | enable_bugfiling_duplicate_search | See IBugTarget. |
| Method | official_bug_tags | See IHasBugs. |
| Method | getUsedBugTagsWithOpenCounts | See IBugTarget. |
| Method | drivers | See IHasDrivers. |
| Method | owner | See IHasOwner. |
| Method | pillar | See IBugTarget. |
| Method | series | See ISeriesBugTarget. |
| Method | getBugSummaryContextWhereClause | See BugTargetBase. |
| Method | setPackaging | See ISourcePackage. |
| Method | setPackagingReturnSharingDetailPermissions | See ISourcePackage. |
| Method | getSharingDetailPermissions | Undocumented |
| Method | deletePackaging | See ISourcePackage. |
| Method | __hash__ | See ISourcePackage. |
| Method | __eq__ | See ISourcePackage. |
| Method | __ne__ | See ISourcePackage. |
| Method | getBuildRecords | See IHasBuildRecords |
| Method | latest_published_component | See ISourcePackage. |
| Method | latest_published_component_name | See ISourcePackage. |
| Method | get_default_archive | See ISourcePackage. |
| Method | getTemplatesCollection | See IHasTranslationTemplates. |
| Method | getSharingPartner | See IHasTranslationTemplates. |
| Method | getBranch | See ISourcePackage. |
| Method | setBranch | See ISourcePackage. |
| Method | linked_branches | See ISourcePackage. |
| Method | getSuiteSourcePackage | See ISourcePackage. |
| Method | getPocketPath | See ISourcePackage. |
| Method | getLatestTranslationsUploads | See ISourcePackage. |
| Method | linkedBranches | See ISourcePackage. |
| Method | getBugTaskWeightFunction | Provide a weight function to determine optimal bug task. |
| Method | _getPublishingHistory | Build a query and return a list of SourcePackagePublishingHistory. |
| Method | _getFirstPublishingHistory | As _getPublishingHistory, but just returns the first item. |
| Method | _customizeSearchParams | Customize search_params for this source package. |
| Method | _getOfficialTagClause | Undocumented |
Inherited from BugTargetBase:
| Method | createBug | See IBugTarget. |
Inherited from HasBugsBase (via BugTargetBase):
| Method | searchTasks | See IHasBugs. |
Inherited from HasCodeImportsMixin:
| Method | newCodeImport | See IHasCodeImports. |
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 HasBranchesMixin:
| Method | getBranches | See IHasBranches. |
Inherited from HasMergeProposalsMixin:
| Method | getMergeProposals | See IHasMergeProposals. |
Inherited from HasDriversMixin:
| Method | personHasDriverRights | See IHasDrivers. |
This is mainly a helper function for this class so that code is not duplicated. include_status and exclude_status must be a sequence.
SourcePackageReleases for this sourcepackage.
The results are ordered by descending version.
IHasBuildRecordsIHasTranslationTemplates.IHasTranslationTemplates.