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

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

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

A writeable interface for package sets.
Method add Add source package names or other package sets to this one.
Method remove Remove source package names or other package sets from this one.
Method addSources Add the named source packages to this package set.
Method removeSources Remove the named source packages from this package set.
Method addSubsets Add the named package sets as subsets to this package set.
Method removeSubsets Remove the named package subsets from this package set.
Method destroySelf Delete the package set.
def add(data):
Add source package names or other package sets to this one.

Any passed SourcePackageName or Packageset instances will become directly associated with the package set at hand.

This function is idempotent in the sense that entities that are already directly associated with a package set will be ignored.

Parametersdataan iterable with SourcePackageName XOR Packageset instances
def remove(data):
Remove source package names or other package sets from this one.

Only source package names or package subsets directly included by this package set can be removed. Any others will be ignored.

Parametersdataan iterable with SourcePackageName XOR Packageset instances
@operation_parameters(List(_('A list of source package names.'), TextLine()))
@export_write_operation()
def addSources(names):
Add the named source packages to this package set.

Any passed source package names will become directly associated with the package set at hand.

This function is idempotent in the sense that source package names that are already directly associated with a package set will be ignored.

This method facilitates the addition of source package names to package sets via the LP web services API. It takes string names as opposed to ISourcePackageName instances. Non-existing source package names will be ignored.

Parametersnamesan iterable with string source package names
@operation_parameters(List(_('A list of source package names.'), TextLine()))
@export_write_operation()
def removeSources(names):
Remove the named source packages from this package set.

Only source package names directly included by this package set can be removed. Any others will be ignored.

This method facilitates the removal of source package names from package sets via the LP web services API. It takes string names as opposed to ISourcePackageName instances.

Parametersnamesan iterable with string source package names
@operation_parameters(List(_('A list of package set names.'), TextLine()))
@export_write_operation()
def addSubsets(names):
Add the named package sets as subsets to this package set.

Any passed source package names will become directly associated with the package set at hand.

This function is idempotent in the sense that package subsets that are already directly associated with a package set will be ignored.

This method facilitates the addition of package subsets via the LP web services API. It takes string names as opposed to IPackageset instances.

Parametersnamesan iterable with string package set names
@operation_parameters(List(_('A list of package set names.'), TextLine()))
@export_write_operation()
def removeSubsets(names):
Remove the named package subsets from this package set.

Only package subsets directly included by this package set can be removed. Any others will be ignored.

This method facilitates the removal of package subsets via the LP web services API. It takes string names as opposed to IPackageset instances.

Parametersnamesan iterable with string package set names
@export_destructor_operation()
@operation_for_version('devel')
def destroySelf():
Delete the package set.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.