mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +00:00
- Add methods to find and clean up obsoleted packages older than a specified TTL (`find_obsoleted_packages_older_than_ttl` and `cleanup_obsoleted_packages_older_than_ttl`) in `libips`. - Implement a new `CleanupObsoleted` command in `pkg6repo` to handle cleanup operations. - Update workspace `Cargo.toml` files with unified attributes for better consistency. - Adjust dependencies (`libips` version patterns, `thiserror` updates) and enhance metadata management for obsoleted packages. - Enhance repository operations by adding batch processing and robust logging during cleanup.
28 lines
796 B
TOML
28 lines
796 B
TOML
[package]
|
|
name = "pkg6repo"
|
|
description = "The repository management utility for IPS written in rust"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license-file.workspace = true
|
|
repository.workspace = true
|
|
readme.workspace = true
|
|
keywords.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
miette = { version = "7", features = ["fancy"] }
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
libips = { path = "../libips", version = "*"}
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tempfile = "3.8"
|
|
flate2 = "1.0"
|
|
|
|
[[test]]
|
|
name = "e2e_tests"
|
|
path = "src/e2e_tests.rs"
|