Expand description
Package dependency scanning and resolution.
This module provides the Scan struct for discovering package dependencies
and building a directed acyclic graph (DAG) for build ordering.
§Scan Process
- Create a scan sandbox
- Run
make pbulk-indexon each package to discover dependencies - Recursively discover all transitive dependencies
- Resolve dependency patterns to specific package versions
- Verify no circular dependencies exist
- Return buildable and skipped package lists
§Skip Reasons
Packages may be skipped for several reasons:
PKG_SKIP_REASON- Package explicitly marked to skip on this platformPKG_FAIL_REASON- Package expected to fail on this platform- Unresolved dependencies - Required dependency not found
- Circular dependencies - Package has a dependency cycle
Structs§
- Resolved
Package - A successfully resolved package that is ready to build.
- Scan
- Package dependency scanner.
- Scan
Counts - Counts of packages by outcome category.
- Scan
Summary - Result of scanning and resolving packages.
- Skipped
Counts - Counts of skipped packages by SkipReason category.
Enums§
- Scan
Result - Result of scanning/resolving a single package.
- Skip
Reason - Reason why a package was skipped (not built).