Part of lp.archiveuploader.nascentuploadfile View In Hierarchy
Known subclasses: lp.archiveuploader.dscfile.DSCFile
This class only check consistency on information contained in changesfile (CheckSum, Size, component, section, filename). Further checks on file contents and package consistency are done in DSCFile.
Method | filetype | Undocumented |
Method | verify | Verify the uploaded source file. |
Method | checkBuild | See PackageUploadFile. |
Inherited from SourceFileMixin:
Method | is_orig | Undocumented |
Inherited from PackageUploadFile:
Method | __init__ | Check presence of the component and section from an uploaded_file. |
Method | component | Return an IComponent for self.component.name. |
Method | section | Return an ISection for self.section_name. |
Method | extractUserDefinedFields | Extract the user defined fields out of a control file list. |
Inherited from NascentUploadFile (via PackageUploadFile):
Method | content_type | The content type for this file. |
Method | filename | Return the NascentUpload filename. |
Method | dirname | Return the NascentUpload filename. |
Method | exists_on_disk | Whether or not the file is present on disk. |
Method | storeInDatabase | Implement this to store this representation in the database. |
Method | checkNameIsTaintFree | Verify if the filename contains forbidden characters. |
Method | checkSizeAndCheckSum | Check the size and checksums of the nascent file. |
It returns an iterator over all the encountered errors and warnings.