l.s.i.d.IDistroArchSeriesModerate(Interface) : interface documentation

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

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

No interface docstring
Method setChroot Set the chroot tarball used for builds in this architecture.
Method setChrootFromBuild Set the chroot tarball from a live filesystem build.
Method removeChroot Remove the chroot tarball used for builds in this architecture.
Method setSourceFilter Set a filter for packages to build for this architecture.
Method removeSourceFilter Remove any filter for packages to build for this architecture.
@operation_parameters(Bytes(), Text(), Choice(PackagePublishingPocket, False), Choice(BuildBaseImageType, False))
@export_write_operation()
@operation_for_version('devel')
def setChroot(data, sha1sum, pocket=None, image_type=None):
Set the chroot tarball used for builds in this architecture.

The SHA-1 checksum must match the chroot file.

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

@operation_parameters(Reference(Interface, _('Live filesystem build'), True), TextLine(_('Filename'), True), Choice(PackagePublishingPocket, False), Choice(BuildBaseImageType, False))
@export_write_operation()
@operation_for_version('devel')
def setChrootFromBuild(livefsbuild, filename, pocket=None, image_type=None):
Set the chroot tarball from a live filesystem build.

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

@operation_parameters(Choice(PackagePublishingPocket, False), Choice(BuildBaseImageType, False))
@export_write_operation()
@operation_for_version('devel')
def removeChroot(pocket=None, image_type=None):
Remove the chroot tarball used for builds in this architecture.

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

@operation_parameters(Reference(Interface, _('Package set'), True), Choice(DistroArchSeriesFilterSense, _('Sense'), True))
@call_with(REQUEST_USER)
@export_write_operation()
@operation_for_version('devel')
def setSourceFilter(packageset, sense, creator):
Set a filter for packages to build for this architecture.

Packages are normally built for all available architectures, subject to any constraints in their Architecture field. If a filter is set, then it applies the additional constraint that packages not included by the filter will not be built for this architecture.

If the sense of the filter is "Include", then the filter only includes packages in the given package set. If the sense of the filter is "Exclude", then the filter only includes packages not in the given package set.

Later changes to the given package set will also affect any filters using it.

ParameterspackagesetAn IPackageset to use as a filter.
senseA DistroArchSeriesFilterSense item indicating whether the filter includes or excludes packages.
creatorThe IPerson who is creating this filter.
@export_write_operation()
@operation_for_version('devel')
def removeSourceFilter():
Remove any filter for packages to build for this architecture.

This causes packages to be built for this architecture when they might previously have been filtered, subject to any constraints in their Architecture field.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.