DEBSBOM-DOWNLOAD(1)
π debsbom-download π
okay so bestie, welcome to debsbom-download, the download command from the debsbom manual (that's the one, the debsbom(1) suite π«Ά). this is the part of the tool that goes and gets your stuff. no cap. let's go π¦
β¨ SYNOPSIS β¨
debsbom download [-h] [-t {cdx,spdx}] [--outdir OUTDIR] [--sources]
[--binaries] [--skip-pkgs SKIP]
[--resolver {debian-snapshot}]
[bomin]
πΈ DESCRIPTION πΈ
Download referenced packages. that's the whole vibe, fr fr.
so the way this works: it processes a SBOM and then goes and downloads all the packages that SBOM is referencing. iconic behaviour honestly. π
and if you don't hand it an SBOM at all? no worries. it'll just read line separated entries from stdin β each line being name version arch β and that's how you tell it what shall be downloaded. cute, right? π
π§ JSON Output Schema π§
when the application is run with JSON output enabled (that's via the --json flag, bestie), status messages get emitted as single-line JSON objects to standard output. every single line = one distinct package download operation β¨
here's the schema for those JSON objects, exactly as it is:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/siemens/debsbom/refs/heads/main/src/debsbom/schema/schema-download.json",
"title": "Download Result",
"description": "The result of a download operation including the status, package name, package version, file name and file path.",
"type": "object",
"properties": {
"status": {
"description": "The status of the download operation.",
"enum": [
"ok",
"not_found",
"checksum_mismatch"
]
},
"package": {
"type": "object",
"description": "An object identifying the package.",
"properties": {
"name": {
"type": "string",
"description": "The name of the package."
},
"version": {
"type": "string",
"description": "The version of the package."
},
"purl": {
"type": "string",
"description": "The package url of the package."
}
},
"required": [
"name",
"version",
"purl"
]
},
"filename": {
"type": "string",
"description": "The name of the processed file or an empty string if the package is unavailable."
},
"path": {
"type": "string",
"description": "The absolute path to the downloaded file on success."
}
},
"required": [
"status",
"package"
]
}
π Fields π
- status: the status of the download operation. this one's gonna hold one of these predefined values from the
DownloadStatusenum:"ok": the file was either successfully downloaded or found in the cache, and the checksum was verified. slay. β"checksum_mismatch": the downloaded file's checksum did not match the expected value. π¨"not_found": the requested file or package could not be located π
- package: an object identifying the package, including the name and the version as a string.
- filename: the name of the processed file, or an empty string if the package is unavailable.
- path: the absolute path to the downloaded file, or an empty string if nothing could be downloaded.
π OPTIONS π
Positional Arguments
bominβ sbom file(s) to process for 'bomin'. use-to read from stdin π
Named Arguments
-t,--sbom-typeβ SBOM type to process (default: auto-detect), and it's required when reading from stdin, bestie, don't forget. possible choices:cdx,spdx--outdir='downloads'β directory to store downloaded files π (yes,downloadsis the default, it's giving "we picked a sensible one for you")--sources=Falseβ operate only on source packages (skip binaries) π±--binaries=Falseβ operate only on binary packages (skip sources) βοΈ--skip-pkgsβ packages to exclude from the download, in package-list format π--resolver='debian-snapshot'β resolver to use to find upstream packages (default:'debian-snapshot') possible choices:debian-snapshot
π SEE ALSO π
π DEBSBOM π
part of the debsbom(1) suite π«Ά
Author Christoph Steiger, Felix Moessbauer π
Copyright 2025, Siemens
and that's the whole page, bestie!! β¨ this dropped from the debsbom source, dated Jul 28, 2026 β go download something cute, mwah ππ
π¦ where this page comes from
- ubuntu stonking: debsbom 0.9.0-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms