Part of lp.soyuz.interfaces.archive View In Hierarchy
Known subclasses: lp.soyuz.interfaces.webservice.IArchive
| Method | newPackageUploader | Add permisson for a person to upload a package to this archive. |
| Method | newComponentUploader | Add permission for a person to upload to a component. |
| Method | newPocketUploader | Add permission for a person to upload to a pocket. |
| Method | newQueueAdmin | Add permission for a person to administer a distroseries queue. |
| Method | newPocketQueueAdmin | Add permission for a person to administer a distroseries queue. |
| Method | newPackagesetUploader | Add a package set based permission for a person. |
| Method | deletePackageUploader | Revoke permission for the person to upload the package. |
| Method | deleteComponentUploader | Revoke permission for the person to upload to the component. |
| Method | deletePocketUploader | Revoke permission for the person to upload to the pocket. |
| Method | deleteQueueAdmin | Revoke permission for the person to administer distroseries queues. |
| Method | deletePocketQueueAdmin | Revoke permission for the person to administer distroseries queues. |
| Method | deletePackagesetUploader | Revoke upload permissions for a person. |
| Method | enable | Enable the archive. |
| Method | disable | Disable the archive. |
| Method | addArchiveDependency | Record an archive dependency record for the context archive. |
| Method | removeArchiveDependency | Remove the IArchiveDependency record for the given dependency. |
| Method | newNamedAuthToken | Create a new named authorization token. |
| Method | newNamedAuthTokens | Create named authorization tokens in bulk. |
| Method | getNamedAuthToken | Return a named authorization token for the given name in this |
| Method | getNamedAuthTokens | Return a subset of active named authorization tokens for this |
| Method | revokeNamedAuthToken | Deactivate a named authorization token. |
| Method | revokeNamedAuthTokens | Deactivate named authorization tokens in bulk. |
| Method | markSuiteDirty | Mark a suite as dirty in this archive. |
| Method | _addArchiveDependency | Record an archive dependency record for the context archive. |
| Parameters | person | An IPerson whom should be given permission. |
| source_package_name | An ISourcePackageName or textual package
name. | |
| Returns | An IArchivePermission which is the newly-created
permission. | |
| Parameters | person | An IPerson whom should be given permission. |
| component | An IComponent or textual component name. | |
| Returns | An IArchivePermission which is the newly-created
permission. | |
| Raises | InvalidComponent | if this archive is a PPA and the component is not 'main'. |
| Parameters | person | An IPerson whom should be given permission. |
A PackagePublishingPocket. | ||
| Returns | An IArchivePermission which is the newly-created
permission. | |
| Raises | InvalidPocketForPartnerArchive | if this archive is a partner archive and the pocket is not RELEASE or PROPOSED. |
| InvalidPocketForPPA | if this archive is a PPA and the pocket is not RELEASE. | |
The supplied person will gain permission to administer the distroseries queue for packages in the supplied component.
| Parameters | person | An IPerson whom should be given permission. |
| component | An IComponent or textual component name. | |
| Returns | An IArchivePermission which is the newly-created
permission. | |
The supplied person will gain permission to administer the distroseries queue for packages in the supplied series and pocket.
| Parameters | person | An IPerson whom should be given permission. |
A PackagePublishingPocket. | ||
| distroseries | An optional IDistroSeries. | |
| Returns | An IArchivePermission which is the newly-created
permission. | |
| Parameters | person | An IPerson for whom you want to add permission. |
| packageset | An IPackageset. | |
| explicit | True if the package set in question requires specialist skills for proper handling. | |
| Returns | The new ArchivePermission, or the existing one if it
already exists. | |
| Parameters | person | An IPerson whose permission should be revoked. |
| source_package_name | An ISourcePackageName or textual package
name. |
| Parameters | person | An IPerson whose permission should be revoked. |
| component | An IComponent or textual component name. |
| Parameters | person | An IPerson whose permission should be revoked. |
| distroseries | An IDistroSeries. | |
A PackagePublishingPocket. |
The supplied person will lose permission to administer the distroseries queue for packages in the supplied component.
| Parameters | person | An IPerson whose permission should be revoked. |
| component | An IComponent or textual component name. |
The supplied person will lose permission to administer the distroseries queue for packages in the supplied series and pocket.
| Parameters | person | An IPerson whose permission should be revoked. |
A PackagePublishingPocket. | ||
| distroseries | An optional IDistroSeries. |
| Parameters | person | An IPerson for whom you want to revoke permission. |
| packageset | An IPackageset. | |
| explicit | The value of the 'explicit' flag for the permission to be revoked. |
| Parameters | dependency | is an IArchive object. |
is an PackagePublishingPocket enum. | ||
| component | is an optional IComponent object, if not given
the archive dependency will be tied to the component used
for a corresponding source in primary archive. | |
| Returns | a IArchiveDependency object targeted to the context
IArchive requiring 'dependency' IArchive. | |
| Raises | ArchiveDependencyError if given 'dependency' does not fit
the context archive. | |
| Parameters | dependency | is an IArchive object. |
is an PackagePublishingPocket enum. | ||
| component | is the name of a component. If not given, the archive dependency will be tied to the component used for a corresponding source in primary archive. | |
| Returns | a IArchiveDependency object targeted to the context
IArchive requiring 'dependency' IArchive. | |
| Raises | ArchiveDependencyError if given 'dependency' does not fit
the context archive. | |
IArchiveDependency record for the given dependency.| Parameters | dependency | is an IArchive object. |
| Parameters | name | An identifier string for this token. |
| token | Optional unicode text to use as the token. One will be generated if not given. | |
| as_dict | Optional boolean, controls whether the return value is a dictionary or a full object. | |
| Returns | An ArchiveAuthToken object or a dictionary where the value
of token is the secret and the value of archive_url is the
externally-usable archive URL including basic auth. | |
| Parameters | names | A list of token names. |
| as_dict | Optional boolean, controls whether the return value is a list of dictionaries or a list of full objects. | |
| Returns | A list of ArchiveAuthToken objects or a dictionary of
{name: {token, archive_url} where name is a token name,
token is the secret and archive_url is the externally-usable
archive URL including basic auth. | |
| Parameters | name | The identifier string for a token. |
| as_dict | Optional boolean, controls whether the return value is a dictionary or a full object. | |
| Returns | An ArchiveAuthToken object or a dictionary where the value
of token is the secret and the value of archive_url is the
externally-usable archive URL including basic auth. | |
| Raises | NotFoundError | if no matching token could be found. |
names is specified, or all active named authorization
tokens for this archive is names is null.| Parameters | names | An optional list of token names. |
| as_dict | Optional boolean, controls whether the return value is a list of dictionares or a list of full objects. | |
| Returns | A list of ArchiveAuthToken objects or a list of dictionaries
where token is the secret and archive_url is the
externally-usable archive URL including basic auth. | |
| Parameters | name | The identifier string for a token. |
| Raises | NotFoundError | if no matching token could be found. |
| Parameters | names | A list of token names. |
The next publisher run will publish this suite regardless of whether it has any pending publications.
| Parameters | distroseries | An IDistroSeries. |
A PackagePublishingPocket. |