Part of lp.soyuz.interfaces.queue View In Hierarchy
| Method | __iter__ | IPackageUpload iterator |
| Method | __getitem__ | Retrieve an IPackageUpload by a given id |
| Method | get | Retrieve an IPackageUpload by a given id |
| Method | count | Number of IPackageUpload present in a given status. |
| Method | getAll | Get package upload records for a series with optional filtering. |
| Method | findSourceUpload | Return a PackageUpload for a matching source. |
| Method | getBuildsForSources | Return binary package upload records for a series with optional |
| Method | getBuildByBuildIDs | Return `PackageUploadBuilds`s for the supplied build IDs. |
| Method | getByPackageCopyJobIDs | Return `PackageUpload`s using `PackageCopyJob`s. |
If status is ommitted return the number of all entries. 'distroseries' is optional and restrict the results in given distroseries, same for pocket.
Get package upload records for a series with optional filtering.
:param distroseries: the `IDistroSeries` to consider.
:param status: Filter results by this `PackageUploadStatus`, or list
of statuses.
:param created_since_date: If specified, only returns items uploaded
since the timestamp supplied.
:param archive: Filter results for this `IArchive`
:param pocket: Filter results by this `PackagePublishingPocket`
:param custom_type: Filter results by this `PackageUploadCustomFormat`
:param name: Filter results by this package or file name.
:param version: Filter results by this version number string.
:param exact_match: If True, look for exact string matches on the
`name` and `version` filters. If False, look for a substring
match so that e.g. a package "kspreadsheetplusplus" would match
the search string "spreadsheet". Defaults to False.
:return: A result set containing `IPackageUpload`s
PackageUpload for a matching source.| Parameters | name | a string with the exact source name. |
| version | a string with the exact source version. | |
| archive | source upload target IArchive. | |
| distribution | source upload target IDistribution. | |
| Returns | a matching IPackageUpload object. | |
Return binary package upload records for a series with optional
filtering.
:param distroseries: the `IDistroSeries` to consider.
:param status: Filter results by this list of `PackageUploadStatus`s.
:param pockets: Filter results by this list of
`PackagePublishingPocket`s.
:param names: Filter results by this list of package names.
:return: A result set containing `IPackageUpload`s.