l.r.i.d.IDistroSeriesDifferenceAdmin(Interface) : interface documentation

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

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

Difference attributes requiring launchpad.Admin.
Method blacklist Blacklist this version or all versions of this source package and
Method unblacklist Removes this difference from the blacklist and adds a comment on
@call_with(REQUEST_USER)
@operation_parameters(Bool(_('All'), False), TextLine(_('Comment text'), False))
@export_write_operation()
def blacklist(commenter, all=False, comment=None):
Blacklist this version or all versions of this source package and adds a comment on this difference.
ParameterscommenterThe requestor IPerson.
commentThe comment string.
allIndicates whether all versions of this package should be blacklisted or just the current (default).
ReturnsThe created DistroSeriesDifferenceComment object.
@call_with(REQUEST_USER)
@operation_parameters(TextLine(_('Comment text'), False))
@export_write_operation()
def unblacklist(commenter, comment=None):
Removes this difference from the blacklist and adds a comment on this difference.

The status will be updated based on the versions.

ParameterscommenterThe requestor IPerson.
commentThe comment string.
ReturnsThe created DistroSeriesDifferenceComment object.
API Documentation for Launchpad, generated by pydoctor at 2019-12-13 00:00:05.