How linux-on-ibm-z/build-scripts works
The repository is a collection of package build scripts and supporting automation; its README offers no further product description. A distinct runtime workflow processes package/version BOM and license data, using scanner adapters and Cloud Object Storage, then writes updated results. The build-script collection is represented as a capability, but its internal flow is not mapped because the sampled build-script files expose no relationships in the source index. Links for the BOM workflow are limited to excerpted calls and imports; unsampled behavior is not inferred.
Main entry points: BOMProcessor.py BOM Aggregator · BaseProcessors.py Scanner Base · CurrencyProcessor.py Currency Processor · COSWrapper.py Object Storage Client
Components 16
Package Builds
- Package Build Scripts
a - Wheel Build Automation
gha-script/build_wheels.py
Currency Processing
- Currency CLI
process_bom/run_currency_processor.py - Currency Processor
process_bom/CurrencyProcessor.py - BOM Aggregator
process_bom/BOMProcessor.py - License Evaluation
process_bom/LicensesProcessor.py
Scanning
- Scanner Base
process_bom/ScanProcessors/BaseProcessors.py - Trivy Adapter
process_bom/ScanProcessors/TrivyProcessor.py - Grype Adapter
process_bom/ScanProcessors/GrypeProcessor.py - Syft Adapter
process_bom/ScanProcessors/SyftProcessor.py - Clair Adapter
process_bom/ScanProcessors/ClairProcessor.py
Storage and Config
- Object Storage Client
process_bom/COSWrapper.py - Runtime Configuration
process_bom/ca_config.py
Other components
- Build Maintainer
- IBM IAM
- IBM Cloud Storage
Connections 21
- Build Maintainer → Package Build Scripts: maintains
- Currency CLI → Currency Processor: invokes
process_bom/run_currency_processor.py - Currency Processor → BOM Aggregator: retrieves BOM
process_bom/CurrencyProcessor.py - Currency Processor → License Evaluation: evaluates licenses
process_bom/CurrencyProcessor.py - Currency Processor → Object Storage Client: uploads results
process_bom/CurrencyProcessor.py - BOM Aggregator → Trivy Adapter: initializes
process_bom/BOMProcessor.py - BOM Aggregator → Grype Adapter: initializes
process_bom/BOMProcessor.py - BOM Aggregator → Syft Adapter: initializes
process_bom/BOMProcessor.py - BOM Aggregator → Clair Adapter: initializes
process_bom/BOMProcessor.py - Trivy Adapter → Scanner Base: inherits
process_bom/ScanProcessors/TrivyProcessor.py - Grype Adapter → Scanner Base: inherits
process_bom/ScanProcessors/GrypeProcessor.py - Syft Adapter → Scanner Base: inherits
process_bom/ScanProcessors/SyftProcessor.py - Clair Adapter → Scanner Base: inherits
process_bom/ScanProcessors/ClairProcessor.py - Scanner Base → Object Storage Client: fetches artifacts
process_bom/ScanProcessors/BaseProcessors.py - Object Storage Client → IBM IAM: requests token
process_bom/COSWrapper.py - Object Storage Client → IBM Cloud Storage: reads and writes
process_bom/COSWrapper.py - Currency Processor → Runtime Configuration: uses settings
process_bom/CurrencyProcessor.py - BOM Aggregator → Runtime Configuration: uses settings
process_bom/BOMProcessor.py - Scanner Base → Runtime Configuration: uses settings
process_bom/ScanProcessors/BaseProcessors.py - Object Storage Client → Runtime Configuration: uses credentials
process_bom/COSWrapper.py - Wheel Build Automation → Package Build Scripts: builds wheels