Module scan

Module scan 

Source
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

  1. Create a scan sandbox
  2. Run make pbulk-index on each package to discover dependencies
  3. Recursively discover all transitive dependencies
  4. Resolve dependency patterns to specific package versions
  5. Verify no circular dependencies exist
  6. 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 platform
  • PKG_FAIL_REASON - Package expected to fail on this platform
  • Unresolved dependencies - Required dependency not found
  • Circular dependencies - Package has a dependency cycle

Structs§

ResolvedPackage
A successfully resolved package that is ready to build.
Scan
Package dependency scanner.
ScanCounts
Counts of packages by outcome category.
ScanSummary
Result of scanning and resolving packages.
SkippedCounts
Counts of skipped packages by SkipReason category.

Enums§

ScanResult
Result of scanning/resolving a single package.
SkipReason
Reason why a package was skipped (not built).

Functions§

find_cycle