dak.cruft_report¶
Check for obsolete binary packages
@contact: Debian FTP Master <ftpmaster@debian.org> @copyright: 2000-2006 James Troup <james@nocrew.org> @copyright: 2009 Torsten Werner <twerner@debian.org> @license: GNU General Public License version 2 or later
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
returns newest source that builds binary package in suite grouped and sorted by source and package name |
|
returns obsolete source packages for suite_name without binaries in the same suite sorted by install_date; install_date should help detecting source only (or binary throw away) uploads; duplicates in the suite are skipped |
|
|
|
|
|
|
|
searches for arch != all packages that have an arch == all package with a higher version in the same suite |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
returns binaries built by source for all or no suite grouped and ordered by package name |
|
- dak.cruft_report.add_nbs(nbs_d: dict[str, dict[str, set[str]]], source: str, version: str, package: str, suite_id: int, session: Session) None[source]¶
- dak.cruft_report.do_anais(architecture: str, binaries_list: Iterable[str], source: str, session: Session) str[source]¶
- dak.cruft_report.do_newer_version(lowersuite_name: str, highersuite_name: str, code: str, session: Session) None[source]¶
- dak.cruft_report.newest_source_bab(suite_name: str, package: str, session: Session) Result[tuple[str, str]][source]¶
returns newest source that builds binary package in suite grouped and sorted by source and package name
- dak.cruft_report.obsolete_source(suite_name: str, session: Session) CursorResult[tuple[int, str, str, str]][source]¶
returns obsolete source packages for suite_name without binaries in the same suite sorted by install_date; install_date should help detecting source only (or binary throw away) uploads; duplicates in the suite are skipped
subquery ‘source_suite_unique’ returns source package names from suite without duplicates; the rationale behind is that neither cruft-report nor rm cannot handle duplicates (yet)
- dak.cruft_report.queryNewerAll(suite_name: str, session: Session) CursorResult[tuple[str, str, str, str]][source]¶
searches for arch != all packages that have an arch == all package with a higher version in the same suite
- dak.cruft_report.reportAllNBS(suite_name: str, suite_id: int, session: Session, rdeps=False) None[source]¶
- dak.cruft_report.reportNBSMetadata(suite_name: str, suite_id: int, session: Session, rdeps=False) None[source]¶
- dak.cruft_report.reportWithoutSource(suite_name: str, suite_id: int, session: Session, rdeps=False) None[source]¶