Part of lp.registry.interfaces.productrelease View In Hierarchy
Known subclasses: lp.registry.interfaces.webservice.IProductRelease
Method | addReleaseFile | Add file to the library and link to this IProductRelease . |
Method | destroySelf | Delete this release. |
IProductRelease
.
The signature file will also be added if available.
Parameters | filename | Name of the file being uploaded. |
file_content | StringIO or file object. | |
content_type | A MIME content type string. | |
uploader | The person who uploaded the file. | |
signature_filename | Name of the uploaded gpg signature file. | |
signature_content | StringIO or file object. | |
file_type | An UpstreamFileType enum value. | |
description | Info about the file. | |
Returns | IProductReleaseFile object. | |
Raises | InvalidFilename if the filename is invalid or a duplicate of a file previously added to the release. |