l.s.i.p.IPackageCopyRequestSet(Interface) : interface documentation

Part of lp.soyuz.interfaces.packagecopyrequest View In Hierarchy

Interface for package copy requests.
Method new Create a new copy request using the package locations passed.
Method getByPersonAndStatus Return copy requests that match requester and status.
Method getByTargetDistroSeries Return copy requests with matching target distroseries.
Method getBySourceDistroSeries Return copy requests with matching source distroseries.
Method getByTargetArchive Return copy requests with matching target archive.
def new(source, target, requester, copy_binaries=False, reason=None):
Create a new copy request using the package locations passed.
ParameterssourcePackageLocation specifying the source of the package copy operation.
targetPackageLocation specifying the target of the package copy operation.
requesterThe person who requested the package copy operation.
copy_binariesWhether or not binary packages should be copied as well.
reasonThe reason for this package copy request.
Returnsa newly created IPackageCopyRequest.
def getByPersonAndStatus(requester, status=None):
Return copy requests that match requester and status.

If no status is passed, all copy requests for 'requester' will be returned.

ParametersrequesterThe person who requested the package copy operation.
statusOptional PackageCopyStatus filter, if passed only copy requests with that status will be considered.
Returnsa (potentially empty) result set of IPackageCopyRequest instances.
def getByTargetDistroSeries(distroseries):
Return copy requests with matching target distroseries.
ParametersdistroseriesThe target distroseries to look for.
Returnsa (potentially empty) result set of IPackageCopyRequest instances.
def getBySourceDistroSeries(distroseries):
Return copy requests with matching source distroseries.
ParametersdistroseriesThe source distroseries to look for.
Returnsa (potentially empty) result set of IPackageCopyRequest instances.
def getByTargetArchive(archive):
Return copy requests with matching target archive.
ParametersdistroseriesThe target archive to look for.
Returnsa (potentially empty) result set of IPackageCopyRequest instances.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.