Part of lp.archiveuploader.nascentuploadfile View In Hierarchy
Method | local_checks | Checks to be executed on UDEBs. |
Inherited from BaseBinaryUploadFile:
Method | __init__ | Check presence of the component and section from an uploaded_file. |
Method | is_archindep | Check if the binary is targeted to architecture 'all'. |
Method | archtag | Return the binary target architecture. |
Method | priority | Checks whether the priority indicated is valid |
Method | verify | Verify the contents of the .deb or .udeb as best we can. |
Method | extractAndParseControl | Extract and parse control information. |
Method | parseControl | Undocumented |
Method | verifyPackage | Check if the binary is in changesfile and its name is valid. |
Method | verifyVersion | Check if control version is valid matches the filename version. |
Method | verifyArchitecture | Check if the control architecture matches the changesfile. |
Method | verifyDepends | Check if control depends field is present and not empty. |
Method | verifySection | Check the section & priority match those in changesfile. |
Method | verifyPriority | Check if priority matches changesfile. |
Method | verifyFormat | Check if the DEB format is sane. |
Method | verifyDebTimestamp | Check specific DEB format timestamp checks. |
Method | findCurrentSourcePublication | Return the respective ISourcePackagePublishingHistory for this |
Method | findSourcePackageRelease | Return the respective ISourcePackageRelease for this binary upload. |
Method | verifySourcePackageRelease | Check if the given ISourcePackageRelease matches the context. |
Method | findBuild | Find and return a build for the given archtag, cached on policy. |
Method | checkBuild | See PackageUploadFile. |
Method | storeInDatabase | Insert this binary release and build into the database. |
Inherited from PackageUploadFile (via BaseBinaryUploadFile):
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 BaseBinaryUploadFile, 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 | checkNameIsTaintFree | Verify if the filename contains forbidden characters. |
Method | checkSizeAndCheckSum | Check the size and checksums of the nascent file. |