l.s.i.d.IDistroArchSeriesPublic(IHasBuildRecords, IHasOwner) : interface documentation

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

Known subclasses: lp.soyuz.interfaces.webservice.IDistroArchSeries

Public attributes for a DistroArchSeries.
Attribute id Identifier
Attribute packages List of binary packages in this port.
Method updatePackageCount Update the cached binary package count for this distro arch
Method getPocketChroot Return the PocketChroot for this series, pocket, and image type.
Method getChroot Return the Chroot for this series, pocket, and image type.
Method getChrootURL Return the chroot URL for this series, pocket, and image type.
Method addOrUpdateChroot Return the just added or modified PocketChroot.
Method searchBinaryPackages Search BinaryPackageRelease published in this series for those
Method __getitem__ Getter
Method getBinaryPackage Return the DistroArchSeriesBinaryPackage with the given name in

Inherited from IHasBuildRecords:

Method getBuildRecords Return build records in the context it is implemented.

Inherited from IHasOwner:

Attribute owner The object's owner, which is an IPerson.
id =
Identifier
packages =
List of binary packages in this port.
def updatePackageCount():
Update the cached binary package count for this distro arch series.
def getPocketChroot(pocket, exact_pocket=False, image_type=None):
Return the PocketChroot for this series, pocket, and image type.

If exact_pocket is False, this follows pocket dependencies and finds the chroot for the closest pocket that exists: for example, if no chroot exists for SECURITY, then it will choose the one for RELEASE. If exact_pocket is True, this only finds chroots for exactly the given pocket.

The image type defaults to BuildBaseImageType.CHROOT.

def getChroot(default=None, pocket=None, image_type=None):
Return the Chroot for this series, pocket, and image type.

It uses getPocketChroot and if not found returns 'default'.

The pocket defaults to PackagePublishingPocket.RELEASE; the image type defaults to BuildBaseImageType.CHROOT.

@operation_parameters(Choice(PackagePublishingPocket, False), Choice(BuildBaseImageType, False))
@export_read_operation()
@operation_for_version('devel')
def getChrootURL(pocket=None, image_type=None):
Return the chroot URL for this series, pocket, and image type.

The pocket defaults to "Release"; the image type defaults to "Chroot tarball".

def addOrUpdateChroot(chroot, pocket=None, image_type=None):
Return the just added or modified PocketChroot.

The pocket defaults to PackagePublishingPocket.RELEASE; the image type defaults to BuildBaseImageType.CHROOT.

def searchBinaryPackages(text):
Search BinaryPackageRelease published in this series for those matching the given text.
def __getitem__(name):
Getter
def getBinaryPackage(name):
Return the DistroArchSeriesBinaryPackage with the given name in this distro arch series.
API Documentation for Launchpad, generated by pydoctor at 2019-05-25 00:00:03.