Part of lp.archivepublisher.interfaces.archivesigningkey View In Hierarchy
Known subclasses: lp.archivepublisher.interfaces.archivesigningkey.IArchiveSigningKey
Object | archive | Undocumented |
Attribute | can_sign | True if this archive is set up for signing. |
Method | signRepository | Sign the corresponding repository. |
Method | signFile | Sign the corresponding file. |
Parameters | suite | suite name to be signed. |
pubconf | an optional publisher configuration instance indicating where files should be written (if not passed, uses the archive's defaults). | |
suffix | an optional suffix for repository index files (e.g. ".new" to help with publishing files atomically). | |
log | an optional logger. | |
Returns | A sequence of output paths that were produced, relative to
the suite's path, with suffix removed. | |
Raises | CannotSignArchive | if the context archive is not set up for signing. |
AssertionError | if there is no Release file in the given suite. |
Parameters | suite | name of the suite containing the file to be signed. |
path | path within dists to sign with the archive key. | |
log | an optional logger. | |
Raises | CannotSignArchive | if the context archive is not set up for signing. |
AssertionError | if the given 'path' is outside of the archive root. |