Trees | Indices | Help |
|
---|
|
handle an upload
This class can be used in a with-statement:
with ArchiveUpload(...) as upload: ...
Doing so will automatically run any required cleanup and also rollback the transaction if it was not committed.
|
|||
|
|||
|
|||
|
|||
str or None
|
|
||
|
|||
list of daklib.dbconn.Suite |
|
||
|
|||
bool |
|
||
|
|||
daklib.dbconn.Override or
None
|
|
||
daklib.dbconn.Override or
None
|
|
||
daklib.dbconn.Component or
None
|
|
||
daklib.dbconn.Component or
None
|
|
||
bool |
|
||
|
|||
|
|||
|
|||
list of daklib.upload.HashedFile |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
daklib.archive.ArchiveTransaction |
transaction transaction used to handle the upload |
||
session database session |
|||
daklib.upload.Changes |
changes upload to process |
||
str |
directory directory with temporary copy of files. |
||
daklib.dbconn.Fingerprint |
fingerprint fingerprint of the key used to sign the upload |
||
list of str |
reject_reasons reasons why the upload cannot by accepted |
||
list of str |
warnings warnings |
||
bool |
new upload is NEW. |
||
bool |
_checked checks passes. |
|
add a warning message Adds a warning message that can later be seen in
|
prepare upload for further processing This copies the files involved to a temporary directory. If you use
this method directly, you have to remove the directory given by the
Instead of using the method directly, you can also use a with-statement: with ArchiveUpload(...) as upload: ... This will automatically handle any required cleanup. |
Path to unpacked source Get path to the unpacked source. This method does unpack the source
into a temporary directory under
|
Get target suites after mappings
|
Check if upload is NEW An upload is NEW if it has binary or source packages that do not have
an override in Debug packages (*-dbgsym in Section: debug) are not considered as NEW
if
|
Get override entry for a binary
|
Get override entry for a source
|
get component for a binary By default this will only look at overrides to get the right
component; if
|
get component for a source By default this will only look at overrides to get the right
component; if
|
run checks against the upload
|
Install upload to the given suite
|
Try AUTOBYHAND Try to handle byhand packages automatically.
|
install byhand file
|
install upload Install upload to a suite or policy queue. This method does not handle uploads to NEW. You need to have called the |
install upload to NEW Install upload to NEW. This method does not handle regular uploads to suites or policy queues. You need to have called the |
|
directorydirectory with temporary copy of files. set by
|
warningswarnings
Note: Not used yet. |
newupload is NEW. set by
|
_checkedchecks passes. set by
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jul 31 14:56:47 2022 | http://epydoc.sourceforge.net |