Part of lp.registry.model.distribution View In Hierarchy
| Method | __repr__ | Undocumented |
| Method | displayname | Undocumented |
| Method | title | Undocumented |
| Method | pillar | See IBugTarget. |
| Method | pillar_category | See IPillar. |
| Method | branch_sharing_policy | See `IHasSharingPolicies. |
| Method | bug_sharing_policy | See `IHasSharingPolicies. |
| Method | specification_sharing_policy | See `IHasSharingPolicies. |
| Method | uploaders | See IDistribution. |
| Method | official_codehosting | Undocumented |
| Method | official_anything | Undocumented |
| Method | codehosting_usage | Undocumented |
| Method | bug_tracking_usage | Undocumented |
| Method | uses_launchpad | Does this distribution actually use Launchpad? |
| Method | main_archive | See IDistribution. |
| Method | all_distro_archives | See IDistribution. |
| Method | all_distro_archive_ids | See IDistribution. |
| Method | getArchiveIDList | See IDistribution. |
| Method | archive_mirrors | See IDistribution. |
| Method | archive_mirrors_by_country | See IDistribution. |
| Method | cdimage_mirrors | See IDistribution. |
| Method | cdimage_mirrors_by_country | See IDistribution. |
| Method | disabled_mirrors | See IDistribution. |
| Method | unofficial_mirrors | See IDistribution. |
| Method | pending_review_mirrors | See IDistribution. |
| Method | drivers | See IDistribution. |
| Method | series | See IDistribution. |
| Method | derivatives | See IDistribution. |
| Method | architectures | See IDistribution. |
| Method | bugtargetdisplayname | See IBugTarget. |
| Method | bugtargetname | See IBugTarget. |
| Method | getBugSummaryContextWhereClause | See BugTargetBase. |
| Method | getBranchTips | See IDistribution. |
| Method | getMirrorByName | See IDistribution. |
| Method | getCountryMirror | See IDistribution. |
| Method | newMirror | See IDistribution. |
| Method | currentseries | See IDistribution. |
| Method | __getitem__ | Undocumented |
| Method | __iter__ | Undocumented |
| Method | getArchive | See IDistribution. |
| Method | resolveSeriesAlias | See IDistribution. |
| Method | getSeries | See IDistribution. |
| Method | getDevelopmentSeries | See IDistribution. |
| Method | getNonObsoleteSeries | See IDistribution. |
| Method | getMilestone | See IDistribution. |
| Method | getSourcePackage | See IDistribution. |
| Method | getSourcePackageRelease | See IDistribution. |
| Method | getCurrentSourceReleases | See IDistribution. |
| Method | specifications | See IHasSpecifications. |
| Method | getSpecification | See ISpecificationTarget. |
| Method | getAllowedSpecificationInformationTypes | See ISpecificationTarget. |
| Method | getDefaultSpecificationInformationType | See ISpecificationTarget. |
| Method | searchQuestions | See IQuestionCollection. |
| Method | getTargetTypes | See QuestionTargetMixin. |
| Method | questionIsForTarget | See QuestionTargetMixin. |
| Method | newFAQ | See IFAQTarget. |
| Method | findReferencedOOPS | See IHasOOPSReferences. |
| Method | findSimilarFAQs | See IFAQTarget. |
| Method | getFAQ | See IFAQCollection. |
| Method | searchFAQs | See IFAQCollection. |
| Method | getDistroSeriesAndPocket | See IDistribution. |
| Method | getSeriesByStatus | See IDistribution. |
| Method | getBuildRecords | See IHasBuildRecords |
| Method | searchSourcePackageCaches | See IDistribution. |
| Method | searchSourcePackages | See IDistribution. |
| Method | searchBinaryPackages | See IDistribution. |
| Method | guessPublishedSourcePackageName | See IDistribution |
| Method | getAllPPAs | See IDistribution |
| Method | searchPPAs | See IDistribution. |
| Method | getPendingAcceptancePPAs | See IDistribution. |
| Method | getPendingPublicationPPAs | See IDistribution. |
| Method | getArchiveByComponent | See IDistribution. |
| Method | getAllowedBugInformationTypes | See IDistribution. |
| Method | getDefaultBugInformationType | See IDistribution. |
| Method | userCanEdit | See IDistribution. |
| Method | newSeries | See IDistribution. |
| Method | has_published_binaries | See IDistribution. |
| Method | sharesTranslationsWithOtherSide | See ITranslationPolicy. |
| Method | getBugTaskWeightFunction | Provide a weight function to determine optimal bug task. |
| Method | has_published_sources | Undocumented |
| Method | _get_answers_usage | Undocumented |
| Method | _set_answers_usage | Undocumented |
| Method | _get_blueprints_usage | Undocumented |
| Method | _set_blueprints_usage | Undocumented |
| Method | _getMilestoneCondition | See HasMilestonesMixin. |
| Method | _getMirrors | Builds the query to get the mirror data for various purposes. |
| Method | _sort_key | Return something that can be used to sort distributions, |
| Method | _customizeSearchParams | Customize search_params for this distribution. |
Inherited from SQLBase:
| Method | __init__ | Extended version of the SQLObjectBase constructor. |
| Method | destroySelf | Undocumented |
| Method | __eq__ | Equality operator. |
| Method | __ne__ | Inverse of __eq__. |
| Method | __storm_invalidated__ | Flush cached properties. |
| Class Method | _get_store | Undocumented |
Inherited from BugTargetBase:
| Method | getUsedBugTagsWithOpenCounts | See IBugTarget. |
| Method | createBug | See IBugTarget. |
Inherited from HasBugsBase (via BugTargetBase):
| Method | searchTasks | See IHasBugs. |
Inherited from MakesAnnouncements:
| Method | announce | See IHasAnnouncements. |
Inherited from HasAnnouncements (via MakesAnnouncements):
| Method | getAnnouncement | Undocumented |
| Method | getAnnouncements | See IHasAnnouncements. |
Inherited from HasSpecificationsMixin:
| Method | visible_specifications | See IHasSpecifications. |
| Method | valid_specifications | See IHasSpecifications. |
| Method | api_valid_specifications | Undocumented |
| Method | specificationCount | See IHasSpecifications. |
| Method | _specification_sort | Return the storm sort order for 'specifications'. |
Inherited from HasSprintsMixin:
| Method | getSprints | Undocumented |
| Method | sprints | See IHasSprints. |
| Method | getComingSprings | Undocumented |
| Method | coming_sprints | See IHasSprints. |
| Method | past_sprints | See IHasSprints. |
| Method | _getBaseQueryAndClauseTablesForQueryingSprints | Return the base SQL query and the clauseTables to be used when |
Inherited from HasAliasMixin:
| Method | aliases | See IHasAlias. |
| Method | setAliases | See IHasAlias. |
Inherited from HasTranslationImportsMixin:
| Method | getFirstEntryToImport | See IHasTranslationImports. |
| Method | getTranslationImportQueueEntries | See IHasTranslationImports. |
Inherited from KarmaContextMixin:
| Method | getTopContributorsGroupedByCategory | See IKarmaContext. |
| Method | getTopContributors | See IKarmaContext. |
Inherited from OfficialBugTagTargetMixin:
| Method | addOfficialBugTag | See IOfficialBugTagTarget. |
| Method | removeOfficialBugTag | See IOfficialBugTagTarget. |
| Method | _getOfficialTagClause | Undocumented |
| Method | _getOfficialTags | Get the official bug tags as a sorted list of strings. |
| Method | _setOfficialTags | Set the official bug tags from a list of strings. |
| Method | _getTag | Return the OfficialBugTag record for the given tag, if it exists. |
Inherited from QuestionTargetMixin:
| Method | newQuestion | See IQuestionTarget. |
| Method | createQuestionFromBug | See IQuestionTarget. |
| Method | getQuestion | See IQuestionTarget. |
| Method | findSimilarQuestions | See IQuestionTarget. |
| Method | getQuestionLanguages | See IQuestionTarget. |
| Method | answer_contacts | See IQuestionTarget. |
| Method | answer_contacts_with_languages | Answer contacts with their languages pre-filled. |
| 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 | getAnswerContactsForLanguage | See IQuestionTarget. |
| Method | getAnswerContactRecipients | See IQuestionTarget. |
| Method | removeAnswerContact | See IQuestionTarget. |
| Method | getSupportedLanguages | See IQuestionTarget. |
| Method | _store | Undocumented |
| 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 HasMilestonesMixin:
| Method | has_milestones | Undocumented |
| Method | all_milestones | See IHasMilestones. |
| Method | _get_milestones | See IHasMilestones. |
Inherited from HasDriversMixin:
| Method | personHasDriverRights | See IHasDrivers. |
Inherited from TranslationPolicyMixin:
| Method | getInheritedTranslationPolicy | Get any ITranslationPolicy objects that this one inherits. |
| Method | isTranslationsOwner | Is person one of the owners of these translations? |
| Method | getTranslationGroups | See ITranslationPolicy. |
| Method | getTranslators | See ITranslationPolicy. |
| Method | getEffectiveTranslationPermission | See ITranslationPolicy. |
| Method | invitesTranslationEdits | See ITranslationPolicy. |
| Method | invitesTranslationSuggestions | See ITranslationPolicy. |
| Method | allowsTranslationEdits | See ITranslationPolicy. |
| Method | allowsTranslationSuggestions | See ITranslationPolicy. |
| Method | _hasSpecialTranslationPrivileges | Does this person have special translation editing rights here? |
| Method | _canTranslate | Is person in a position to translate? |
| Method | _getTranslator | Retrieve one (TranslationGroup, Translator, Person) tuple. |
This is used to ensure that the list of distributions displayed in Soyuz generally puts Ubuntu at the top.
IDistribution.See IHasSpecifications.
In the case of distributions, there are two kinds of filtering, based on:
- completeness: we want to show INCOMPLETE if nothing is said
- informationalness: we will show ANY if nothing is said
IQuestionCollection.IHasBuildRecordsIDistribution.IDistribution.IDistribution.ITranslationPolicy.Full weight is given to tasks for this distribution.
Given that there must be a distribution task for a series of that distribution to have a task, we give no more weighting to a distroseries task than any other.