l.r.i.p.IProductView(ICanGetMilestonesDirectly, IHasAppointedDriver, IHasBranches, IHasExternalBugTracker, IHasMergeProposals, IHasMilestones, IHasExpirableBugs, IHasMugshot, IHasSprints, IHasTranslationImports, ITranslationPolicy, IKarmaContext, IMakesAnnouncements, IOfficialBugTagTargetPublic, IHasOOPSReferences, IHasRecipes, IHasCodeImports, IServiceUsage, IHasGitRepositories) : interface documentation

Part of lp.registry.interfaces.product View In Hierarchy

Known subclasses: lp.registry.interfaces.webservice.IProduct

Public IProduct properties.
Text homepage_content The content of this project's home page. Edit this and it will be displayed for all the world to see. It is NOT a wiki so you cannot undo changes.
Bool autoupdate Whether or not this project's attributes are updated automatically.
Attribute sourcepackages List of packages for this product
Attribute distrosourcepackages List of distribution packages for this product
Attribute ubuntu_packages List of distribution packages for this product in Ubuntu
Attribute development_focusID The development focus ID.
Attribute translatable_packages A list of the source packages for this product that can be translated sorted by distroseries.name and sourcepackage.name.
Attribute translatable_series A list of the series of this product for which we have translation templates.
Attribute obsolete_translatable_series A list of the series of this product with obsolete translation
Attribute primary_translatable The best guess we have for what new translators will want to translate for a given product: the latest series for which we have templates, and failing that, an Ubuntu package.
Attribute translationgroups The list of applicable translation groups for a product. There can be several: one from the product, and potentially one from the project, too.
Attribute has_current_commercial_subscription Whether the project has a current commercial subscription.
Attribute license_status Whether the licence is OPENSOURCE, UNREVIEWED, or PROPRIETARY.
Attribute active_or_packaged_series Series that are active and/or have been packaged.
Attribute packagings All the packagings for the project.
Choice inferred_vcs Inferred version control system for this project's code.
Method getAllowedBugInformationTypes Get the information types that a bug in this project can have.
Method getDefaultBugInformationType Get the default information type of a new bug in this project.
Method getVersionSortedSeries Return all the series sorted by the name field as a version.
Method redeemSubscriptionVoucher Redeem a voucher and extend the subscription expiration date.
Method getPackage Return a package in that distroseries for this product.
Method getSeries Return the series for this product for the given name, or None.
Method getRelease Return the release for this product that has the version given.
Method getMilestonesAndReleases Return all the milestones and releases for this product.
Method packagedInDistros Returns the distributions this product has been packaged in.
Method userCanEdit Can the user edit this product?
Method getLinkedBugWatches Return all the bug watches that are linked to this Product.
Method getTimeline Return basic timeline data useful for creating a diagram.

Inherited from ICanGetMilestonesDirectly:

Method getMilestone Return a milestone with the given name for this object, or None.

Inherited from IHasAppointedDriver:

Choice driver Undocumented

Inherited from IHasBranches:

Method getBranches Returns all branches with the given lifecycle status.

Inherited from IHasExternalBugTracker:

Method getExternalBugTracker Return the external bug tracker used by this bug tracker.

Inherited from IHasMergeProposals:

Method getMergeProposals Returns all merge proposals of a given status.

Inherited from IHasMilestones:

Bool has_milestones Undocumented

Inherited from IHasMugshot:

Attribute mugshot The 192x192 mugshot.

Inherited from IHasSprints:

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 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 ITranslationPolicy:

Method getTranslationGroups List all applicable translation groups.
Method getTranslators Find the applicable `TranslationGroup`(s) and translators.
Method getEffectiveTranslationPermission Get the effective TranslationPermission.
Method invitesTranslationEdits Does this policy invite person to edit translations?
Method invitesTranslationSuggestions Does this policy invite person to enter suggestions?
Method allowsTranslationEdits Is person allowed to edit translations to language?
Method allowsTranslationSuggestions Is person allowed to enter suggestions for language?
Method sharesTranslationsWithOtherSide Should translations be shared across `TranslationSide`s?

Inherited from IKarmaContext:

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 IMakesAnnouncements:

Method announce Create a Announcement for this project.

Inherited from IHasAnnouncements (via IMakesAnnouncements):

Method getAnnouncement Return the requested announcement.
Method getAnnouncements Return a list of announcements visible to this user.

Inherited from IHasOfficialBugTags (via IOfficialBugTagTargetPublic):

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 IHasOOPSReferences:

Method findReferencedOOPS Find OOPS reports between start_date and end_date.

Inherited from IHasCodeImports:

Method newCodeImport Create a new code import.

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
homepage_content =
The content of this project's home page. Edit this and it will be displayed for all the world to see. It is NOT a wiki so you cannot undo changes.
autoupdate =
Whether or not this project's attributes are updated automatically.
sourcepackages =
List of packages for this product
distrosourcepackages =
List of distribution packages for this product
ubuntu_packages =
List of distribution packages for this product in Ubuntu
development_focusID =
The development focus ID.
translatable_packages =
A list of the source packages for this product that can be translated sorted by distroseries.name and sourcepackage.name.
translatable_series =
A list of the series of this product for which we have translation templates.
obsolete_translatable_series =
A list of the series of this product with obsolete translation templates.
primary_translatable =
The best guess we have for what new translators will want to translate for a given product: the latest series for which we have templates, and failing that, an Ubuntu package.
translationgroups =
The list of applicable translation groups for a product. There can be several: one from the product, and potentially one from the project, too.
has_current_commercial_subscription =
Whether the project has a current commercial subscription.
license_status =
Whether the licence is OPENSOURCE, UNREVIEWED, or PROPRIETARY.
active_or_packaged_series =
Series that are active and/or have been packaged.
packagings =
All the packagings for the project.
inferred_vcs =
Inferred version control system for this project's code.
def getAllowedBugInformationTypes():
Get the information types that a bug in this project can have.

:return: A sequence of `InformationType`s.
def getDefaultBugInformationType():
Get the default information type of a new bug in this project.
ReturnsThe InformationType.
def getVersionSortedSeries(statuses=None, filter_statuses=None):
Return all the series sorted by the name field as a version.

The development focus field is an exception. It will always be sorted first.

ParametersstatusesIf statuses is not None, only include series which are in the given statuses.
filter_statusesFilter out any series with statuses listed in filter_statuses.
def redeemSubscriptionVoucher(voucher, registrant, purchaser, subscription_months, whiteboard=None, current_datetime=None):
Redeem a voucher and extend the subscription expiration date.

The voucher must have already been verified to be redeemable.
:param voucher: The voucher id as tracked in the external system.
:param registrant: Who is redeeming the voucher.
:param purchaser: Who purchased the voucher.  May not be known.
:param subscription_months: integer indicating the number of months
    the voucher is for.
:param whiteboard: Notes for this activity.
:param current_datetime: Current time.  Will be datetime.now() if not
    specified.
:return: None
def getPackage(distroseries):
Return a package in that distroseries for this product.
@operation_parameters(TextLine(_('Name'), True))
@operation_returns_entry(IProductSeries)
@export_read_operation()
def getSeries(name):
Return the series for this product for the given name, or None.
@operation_parameters(TextLine(_('Version'), True))
@operation_returns_entry(IProductRelease)
@export_read_operation()
def getRelease(version):
Return the release for this product that has the version given.
def getMilestonesAndReleases():
Return all the milestones and releases for this product.
def packagedInDistros():
Returns the distributions this product has been packaged in.
def userCanEdit(user):
Can the user edit this product?
def getLinkedBugWatches():
Return all the bug watches that are linked to this Product.

Being linked, means that a bug watch having the same bug tracker as this Product is using, is linked to a bug task targeted to this Product.

@operation_parameters(Bool(_('Include inactive'), False, False))
@export_read_operation()
@export_operation_as('get_timeline')
def getTimeline(include_inactive):
Return basic timeline data useful for creating a diagram.

The number of milestones returned per series is limited.

API Documentation for Launchpad, generated by pydoctor at 2019-09-23 00:00:04.