feat: Implement build state tracking and interactive package specification creation

- Added StateTracker to manage build steps and allow resuming interrupted builds.
- Updated post_extract function to utilize StateTracker for patch and command execution.
- Introduced makefile.rs to handle building and installing packages via Makefile.
- Created interactive.rs for an interactive package specification creator with SHA256 computation for source URLs.
- Enhanced checksum verification to support multiple algorithms (SHA256, SHA512, MD5).
- Added example configuration files in contrib for system-wide and user-level Depot configurations.
- Updated tests to cover new functionality and ensure correctness of state tracking and interactive creation.
This commit is contained in:
2026-02-16 21:38:05 -06:00
parent 00ca2ebac6
commit 9a00608104
30 changed files with 3501 additions and 434 deletions
+5 -2
View File
@@ -10,7 +10,7 @@ warnings = "deny"
anyhow = "1.0.101"
ar = "0.9.0"
bzip2 = "0.6.1"
clap = { version = "4.5.58", features = ["derive"] }
clap = { version = "4.5.59", features = ["derive"] }
flate2 = "1.1.9"
git2 = "0.20.4"
indicatif = "0.18.4"
@@ -28,8 +28,11 @@ toml = "0.9.8"
url = "2.5.8"
walkdir = "2.5.0"
xz2 = "0.1.7"
zip = "8.0.0"
zip = "8.1.0"
zstd = { version = "0.13.3", features = ["zstdmt"] }
inquire = "0.9.3"
md5 = "0.8.0"
ftp = "3.0.1"
[dev-dependencies]
tempfile = "3.25.0"