Part of lp.registry.model.distributionsourcepackage View In Hierarchy
| Method | __init__ | Undocumented |
| Method | name | See IDistributionSourcePackage. |
| Method | display_name | See IDistributionSourcePackage. |
| Method | bugtargetdisplayname | See IBugTarget. |
| Method | bugtargetname | See IBugTarget. |
| Method | title | See IDistributionSourcePackage. |
| Method | summary | See IDistributionSourcePackage. |
| Method | development_version | See IDistributionSourcePackage. |
| Method | is_official | See DistributionSourcePackage. |
| Method | drivers | See IHasDrivers. |
| Method | delete | See DistributionSourcePackage. |
| Method | latest_overall_publication | See IDistributionSourcePackage. |
| Method | getVersion | See IDistributionSourcePackage. |
| Method | currentrelease | See IDistributionSourcePackage. |
| Method | get_distroseries_packages | See IDistributionSourcePackage. |
| Method | findRelatedArchives | See IDistributionSourcePackage. |
| Method | publishing_history | See IDistributionSourcePackage. |
| Method | binary_names | See IDistributionSourcePackage. |
| Method | upstream_product | Undocumented |
| Method | current_publishing_records | See IDistributionSourcePackage. |
| Method | getReleasesAndPublishingHistory | See IDistributionSourcePackage. |
| Method | releases | See IDistributionSourcePackage. |
| Method | __eq__ | See IDistributionSourcePackage. |
| Method | __hash__ | Return the combined hash of distribution and package name. |
| Method | __ne__ | See IDistributionSourcePackage. |
| Method | pillar | See IBugTarget. |
| Method | getBugSummaryContextWhereClause | See BugTargetBase. |
| Method | official_bug_tags | See IHasBugs. |
| Method | composeCustomLanguageCodeMatch | See HasCustomLanguageCodesMixin. |
| Method | createCustomLanguageCode | See IHasCustomLanguageCodes. |
| Class Method | ensure | Create DistributionSourcePackage record, if necessary. |
| Method | _self_in_database | Return the equivalent database-backed record of self. |
| Method | _getPublishingHistoryQuery | Undocumented |
| Method | _customizeSearchParams | Customize search_params for this distribution source package. |
| Method | _getOfficialTagClause | Undocumented |
| Class Method | _get | Undocumented |
| Class Method | _new | Undocumented |
Inherited from BugTargetBase:
| Method | getUsedBugTagsWithOpenCounts | See IBugTarget. |
| Method | createBug | See IBugTarget. |
Inherited from HasBugsBase (via BugTargetBase):
| Method | searchTasks | See IHasBugs. |
| Method | getBugTaskWeightFunction | Default weight function is the simple one. |
Inherited from SourcePackageQuestionTargetMixin:
| Method | getTargetTypes | See QuestionTargetMixin. |
| Method | questionIsForTarget | See QuestionTargetMixin. |
| Method | searchQuestions | See IQuestionCollection. |
| Method | getAnswerContactsForLanguage | See IQuestionTarget. |
| Method | getAnswerContactRecipients | See IQuestionTarget. |
| Method | answer_contacts | See IQuestionTarget. |
| Method | answer_contacts_with_languages | Answer contacts with their languages pre-filled. |
| Method | owner | Undocumented |
| Method | _store | Undocumented |
Inherited from QuestionTargetMixin (via SourcePackageQuestionTargetMixin):
| Method | newQuestion | See IQuestionTarget. |
| Method | createQuestionFromBug | See IQuestionTarget. |
| Method | getQuestion | See IQuestionTarget. |
| Method | findSimilarQuestions | See IQuestionTarget. |
| Method | getQuestionLanguages | See IQuestionTarget. |
| Method | direct_answer_contacts | See IQuestionTarget. |
| Method | direct_answer_contacts_with_languages | Direct answer contacts with their languages pre-filled. |
| Method | canUserAlterAnswerContact | See IQuestionTarget. |
| Method | addAnswerContact | See IQuestionTarget. |
| Method | removeAnswerContact | See IQuestionTarget. |
| Method | getSupportedLanguages | See IQuestionTarget. |
| Method | _getConditionsToQueryAnswerContacts | The SQL conditions to query this target's answer contacts. |
| Method | _selectPersonFromAnswerContacts | Return the Persons or Teams who are AnswerContacts. |
Inherited from StructuralSubscriptionTargetMixin:
| Method | parent_subscription_target | See IStructuralSubscriptionTarget. |
| Method | target_type_display | See IStructuralSubscriptionTarget. |
| Method | userCanAlterSubscription | See IStructuralSubscriptionTarget. |
| Method | addSubscription | See IStructuralSubscriptionTarget. |
| Method | userCanAlterBugSubscription | See IStructuralSubscriptionTarget. |
| Method | addBugSubscription | See IStructuralSubscriptionTarget. |
| Method | addBugSubscriptionFilter | See IStructuralSubscriptionTarget. |
| Method | removeBugSubscription | See IStructuralSubscriptionTarget. |
| Method | getSubscription | See IStructuralSubscriptionTarget. |
| Method | getSubscriptions | See IStructuralSubscriptionTarget. |
| Method | bug_subscriptions | See IStructuralSubscriptionTarget. |
| Method | userHasBugSubscriptions | See IStructuralSubscriptionTarget. |
| Method | __helper | A IStructuralSubscriptionTargetHelper for this object. |
| Method | _target_args | Target Arguments. |
Inherited from HasBranchesMixin:
| Method | getBranches | See IHasBranches. |
Inherited from HasCodeImportsMixin:
| Method | newCodeImport | See IHasCodeImports. |
Inherited from HasCustomLanguageCodesMixin:
| Method | has_custom_language_codes | See IHasCustomLanguageCodes. |
| Method | custom_language_codes | See IHasCustomLanguageCodes. |
| Method | getCustomLanguageCode | See IHasCustomLanguageCodes. |
| Method | removeCustomLanguageCode | See IHasCustomLanguageCodes. |
| Method | _queryCustomLanguageCodes | Query CustomLanguageCodes belonging to self. |
Inherited from HasMergeProposalsMixin:
| Method | getMergeProposals | See IHasMergeProposals. |
Inherited from HasDriversMixin:
| Method | personHasDriverRights | See IHasDrivers. |
IDistributionSourcePackage.search_params for this distribution source package.Only create a record for primary archives (i.e. not for PPAs) or for official package branches. Requires either a SourcePackage or a SourcePackagePublishingHistory.
| Parameters | spph | A SourcePackagePublishingHistory to create a DSP to represent an official uploaded/published package. |
| sourcepackage | A SourcePackage to create a DSP to represent an official package branch. |