Part of lp.archiveuploader.changesfile View In Hierarchy
Method | __init__ | Undocumented |
Method | parseChanges | Process the given changesfile. |
Method | checkFileName | Make sure the changes file name is well-formed. |
Method | processAddresses | Parse addresses and build person objects. |
Method | isCustom | Check if given 'component_and_section' matches a custom upload. |
Method | processFiles | Build objects for each file mentioned in this changesfile. |
Method | verify | Run all the verification checks on the changes data. |
Method | filename | Return the changesfile name. |
Method | dirname | Return the current upload path name. |
Method | binary_package_files | Get a list of BaseBinaryUploadFile initialized in this context. |
Method | source_package_files | Return a list of SourceUploadFile initialized in this context. |
Method | custom_files | Return a list of CustomUploadFile initialized in this context. |
Method | suite_name | Returns the targeted suite name. |
Method | architectures | Return set of strings specifying architectures listed in file. |
Method | binaries | Return set of binary package names listed. |
Method | converted_urgency | Return the appropriate SourcePackageUrgency item. |
Method | version | Return changesfile claimed version. |
Class Method | formatChangesComment | A class utility method for formatting changes for display. |
Method | changes_comment | Return changesfile 'change' comment. |
Method | date | Return changesfile date. |
Method | source | Return changesfile claimed source name. |
Method | architecture_line | Return changesfile archicteture line. |
Method | simulated_changelog | Build and return a changelog entry for this changesfile. |
Method | _getFilesByType | Look up for specific type of processed uploaded files. |
Inherited from SignableTagFile:
Method | signer | Undocumented |
Method | parse | Parse the tag file, optionally verifying the signature. |
Method | parseAddress | Parse an address, using the policy to decide if we should add a |
Method | _verifySignature | Verify the signature on the file content. |
If any of these checks fail, UploadError is yielded, and it should be considered a fatal error (no subsequent processing of the upload should be done).
Logger and Policy are instances built in uploadprocessor.py passed via NascentUpload class.
Please note: for well-formed changes file names the filename_archtag
property will be set appropriately.
Process 'maintainer' and 'changed_by' addresses separately and return an iterator over all exceptions generated while processing them.
We recognize an upload as custom if it is targeted at a section like 'raw-<something>'. Further checks will be performed in CustomUploadFile class.
This method is an error generator, i.e, it returns an iterator over all exceptions that are generated while processing all mentioned files.
This method is an error generator, i.e, it returns an iterator over all exceptions that are generated while verifying the changesfile consistency.
It ensure the files mentioned in the changes are already processed.
For example, 'hoary' or 'hoary-security'.
For instance ['source', 'all'] or ['source', 'i386', 'amd64'] or ['source'].