Part of lp.registry.interfaces.distribution View In Hierarchy
Known subclasses: lp.registry.interfaces.distribution.IBaseDistribution, lp.registry.interfaces.distribution.IDerivativeDistribution
Known implementations: lp.registry.model.distribution.Distribution
Inherited from IOfficialBugTagTargetRestricted (via IDistributionEditRestricted):
Method | addOfficialBugTag | Add tag to the official bug tags of this target. |
Method | removeOfficialBugTag | Remove tag from the official bug tags of this target. |
Inherited from IDistributionPublic:
Attribute | id | The distro's unique number. |
Attribute | drivers | Presents the distro driver as a list for consistency with IProduct.drivers where the list might include a project driver. |
PublicPersonChoice | members | The distro's members team. |
TextLine | lucilleconfig | The Lucille Config. |
Attribute | disabled_mirrors | All disabled and official mirrors of this Distribution. |
Attribute | unofficial_mirrors | All unofficial mirrors of this Distribution. |
Attribute | pending_review_mirrors | All mirrors of this Distribution that haven't been reviewed yet. |
List | architectures | Undocumented |
Attribute | uploaders | ArchivePermission records for uploaders with rights to upload to this distribution. |
Attribute | full_functionality | Whether or not we enable the full functionality of Launchpad for this distribution. Currently only Ubuntu and some derivatives get the full functionality of LP |
Choice | translation_focus | The DistroSeries that should get the translation effort focus. |
Choice | language_pack_admin | The distribution language pack administrator. |
Attribute | all_distro_archive_ids | A list containing the IDs of all the non-PPA archives. |
Attribute | upstream_report_excluded_packages | A list of the source packages that should not be shown on the upstream bug report for this Distribution. |
Bool | has_published_binaries | True if this distribution has binaries published on disk. |
Method | getArchiveIDList | Return a list of archive IDs suitable for sqlvalues() or quote(). |
Method | __getitem__ | Returns a DistroSeries that matches name, or raises and |
Method | __iter__ | Iterate over the series for this distribution. |
Method | getArchive | Return the distribution archive with the given name. |
Method | getDevelopmentSeries | Return the DistroSeries which are marked as in development. |
Method | getSeries | Return the series with the name or version given. |
Method | getMirrorByName | Return the mirror with the given name for this distribution or None |
Method | getCountryMirror | Return the country DNS mirror for a country and content type. |
Method | newMirror | Create a new DistributionMirror for this distribution. |
Method | getSourcePackage | Return a DistributionSourcePackage with the given name for this |
Method | getSourcePackageRelease | Returns an IDistributionSourcePackageRelease |
Method | getCurrentSourceReleases | Get the current release of a list of source packages. |
Method | getDistroSeriesAndPocket | Return a (distroseries,pocket) tuple which is the given textual |
Method | getSeriesByStatus | Query context distribution for distroseries with a given status. |
Method | getSourcePackageCaches | The set of all source package info caches for this distribution. |
Method | removeOldCacheItems | Delete any cache records for removed packages. |
Method | updateCompleteSourcePackageCache | Update the source package cache. |
Method | updateSourcePackageCache | Update cached source package details. |
Method | searchSourcePackages | Search for source packages that correspond to the given text. |
Method | searchSourcePackageCaches | Search for source packages that correspond to the given text. |
Method | searchBinaryPackages | Search for binary packages in this distribution. |
Method | searchBinaryPackagesFTI | Do an FTI search on binary packages. |
Method | getFileByName | Find and return a LibraryFileAlias for the filename supplied. |
Method | guessPackageNames | Try and locate source and binary package name objects that |
Method | getAllPPAs | Return all PPAs for this distribution. |
Method | getCommercialPPAs | Return all commercial PPAs. |
Method | searchPPAs | Return all PPAs matching the given text in this distribution. |
Method | getPendingAcceptancePPAs | Return only pending acceptance PPAs in this distribution. |
Method | getPendingPublicationPPAs | Return all PPAs in this distribution that are pending publication. |
Method | getArchiveByComponent | Return the archive most appropriate for the component name. |
Method | getPackagesAndPublicUpstreamBugCounts | Return list of tuples of packages, upstreams and public bug counts. |
Method | userCanEdit | Can the user edit this distribution? |
Inherited from IBugTarget (via IDistributionPublic):
Attribute | bugtargetdisplayname | A display name for this bug target |
Attribute | bugtargetname | The target as shown in mail notifications. |
Method | createBug | Create a new bug on this target. |
Inherited from IHasBugs (via IDistributionPublic, IBugTarget):
Attribute | open_bugtasks | A list of open bugTasks for this target. |
Attribute | closed_bugtasks | A list of closed bugTasks for this target. |
Attribute | inprogress_bugtasks | A list of in-progress bugTasks for this target. |
Attribute | high_bugtasks | A list of high importance BugTasks for this target. |
Attribute | critical_bugtasks | A list of critical BugTasks for this target. |
Attribute | new_bugtasks | A list of New BugTasks for this target. |
Attribute | unassigned_bugtasks | A list of unassigned BugTasks for this target. |
Attribute | all_bugtasks | A list of all BugTasks ever reported for this target. |
Attribute | has_bugtasks | True if a BugTask has ever been reported for this target. |
Method | searchTasks | Search the IBugTasks reported on this entity. |
Method | getBugCounts | Return a dict with the number of bugs in each possible status. |
Inherited from ICanGetMilestonesDirectly (via IDistributionPublic):
Method | getMilestone | Return a milestone with the given name for this object, or None. |
Inherited from IHasAppointedDriver (via IDistributionPublic):
Choice | driver | Undocumented |
Inherited from IHasBuildRecords (via IDistributionPublic):
Method | getBuildRecords | Return build records in the context it is implemented. |
Inherited from IHasMentoringOffers (via IDistributionPublic):
Attribute | mentoring_offers | The list of mentoring offers related to this object. |
Inherited from IHasMilestones (via IDistributionPublic):
Bool | has_milestones | Undocumented |
Inherited from IHasOwner (via IDistributionPublic):
Attribute | owner | The object's owner, which is an IPerson. |
Inherited from IHasSprints (via IDistributionPublic):
Attribute | coming_sprints | A list of up to 5 events currently on, or soon to be on, that are relevant to this context. |
Attribute | sprints | All sprints relevant to this context. |
Attribute | past_sprints | Sprints that occured in the past. |
Inherited from ITranslationPolicy (via IDistributionPublic):
Choice | translationgroup | The translation group that helps review translations for this project or distribution. The group's role depends on the permissions policy selected below. |
Choice | translationpermission | The policy this project or distribution uses to balance openness and control for their translations. |
Inherited from IKarmaContext (via IDistributionPublic):
Method | getTopContributorsGroupedByCategory | Return a dict mapping categories to the top contributors (and their |
Method | getTopContributors | Return the people with the highest amount of Karma, and their |
Inherited from ILaunchpadUsage (via IDistributionPublic):
Bool | official_answers | Undocumented |
Bool | official_blueprints | Undocumented |
Bool | official_codehosting | Undocumented |
Bool | official_malone | Undocumented |
Bool | official_rosetta | Undocumented |
Bool | official_anything | Undocumented |
Bool | enable_bug_expiration | Undocumented |
Inherited from IMakesAnnouncements (via IDistributionPublic):
Method | announce | Create a Announcement for this project. |
Inherited from IHasAnnouncements (via IDistributionPublic, IMakesAnnouncements):
Method | getAnnouncement | Return the requested announcement. |
Method | getAnnouncements | Return a list of announcements visible to this user. |
Inherited from IHasOfficialBugTags (via IDistributionPublic, IOfficialBugTagTargetPublic):
Method | getUsedBugTags | Return the tags used by the context as a sorted list of strings. |
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 IServiceUsage (via IDistributionPublic):
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 | translations_usage | Where does this pillar do translations? |
Choice | bug_tracking_usage | Where does this pillar track bugs? |
Bool | uses_launchpad | Undocumented |
Inherited from ISpecificationTarget (via IDistributionPublic):
Method | getSpecification | Returns the specification with the given name, for this target, |
Inherited from IHasSpecifications (via IDistributionPublic, ISpecificationTarget):
Attribute | all_specifications | A list of all specifications, regardless of status or approval or completion, for this object. |
Attribute | has_any_specifications | A true or false indicator of whether or not this object has any specifications associated with it, regardless of their status. |
Attribute | valid_specifications | A list of all specifications that are not obsolete. |
Attribute | latest_specifications | The latest 5 specifications registered for this context. |
Attribute | latest_completed_specifications | The 5 specifications most recently completed for this context. |
Method | specifications | Specifications for this target. |
Inherited from IHasBugSupervisor:
Method | setBugSupervisor | Set the bug contact and create a bug subscription. |
Inherited from IRootContext:
Attribute | title | The title of the root context object. |
Inherited from IStructuralSubscriptionTarget:
Method | getSubscriptions | Return all the subscriptions with the specified levels. |
Attribute | parent_subscription_target | The target's parent, or None if one doesn't exist. |
Method | userCanAlterSubscription | Check if a user can change a subscription for a person. |
Method | addSubscription | Add a subscription for this structure. |
Method | userCanAlterBugSubscription | Check if a user can change a bug subscription for a person. |
Method | addBugSubscription | Add a bug subscription for this structure. |
Method | removeBugSubscription | Remove a subscription to bugs from this structure. |
Method | getSubscription | Return the subscription for person , if it exists. |
Method | getBugNotificationsRecipients | Return the set of bug subscribers to this target. |
Attribute | target_type_display | The type of the target, for display. |
Method | userHasBugSubscriptions | Is user subscribed, directly or via a team, to bug mail? |