Commit graph

13 commits

Author SHA1 Message Date
Till Wegmueller
6ee6392b01
Standardize description, version, authors, and edition fields across packages using workspace inheritance. 2026-01-19 00:25:47 +01:00
Till Wegmueller
b8c625a11e
Refactor attribute value access and error handling
- Replaced `values.get(0)` with `values.first()` for improved clarity and consistency across multiple files.
- Simplified conditional checks with `.is_empty()` and `format_args!` to enhance readability.
- Implemented `Default` trait for `VariableMode` directly within the enum.
- Updated error handling by boxing errors in `RepositoryError` and `CatalogError`.
- Replaced redundant `else` blocks with streamlined logic.
2026-01-18 13:00:21 +01:00
Till Wegmueller
d2d1c297cc
Refactor to align with Rust formatting guidelines and enhance code readability.
- Adjusted indentation and line breaks for structs, functions, and method calls to comply with Rust formatting standards.
- Improved error message formatting and consistency across `PkgTreeError` instances.
- Restructured long function arguments and chained calls for clarity and maintainability.
- Simplified conditional statements and loops for better readability.
- No functional changes introduced.
2025-12-22 20:10:17 +01:00
Till Wegmueller
77147999b3
Add incorporation lock support and update dependencies across the project
- Implemented incorporation lock functionality for packages, including pre-checks, addition, and retrieval methods.
- Enhanced package installation logic to handle incorporation constraints.
- Updated dependency versions in `Cargo.toml` and `Cargo.lock`, aligning with latest compatible releases.
- Introduced new tests to verify incorporation lock behavior, including scenarios with and without locks.
- Refactored code for improved readability and added error handling improvements.
- Fixed minor typos and inconsistencies in comments and log messages.
2025-08-19 14:30:55 +02:00
Till Wegmueller
5b4b719b42
Introduce cleanup functionality for obsoleted packages with TTL support
- 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.
2025-07-29 19:08:18 +02:00
Till Wegmueller
1a66c34f1c
fix clippy
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 17:33:40 +01:00
Till Wegmueller
2fd593ff41 Cleanup repo 2022-09-01 19:23:09 -03:00
Till Wegmueller
bf9d0289a7 Add recursive Parsing of makefiles 2022-03-28 20:27:15 -03:00
Till Wegmueller
09635558ae Switch to rustls for embedded tls
Refine Makefile parsing so we also parse define rules
Implement Recursive Vraiable resolving Algorithm
2022-03-28 15:07:05 -03:00
Till Wegmueller
3481814af2 Switch to anyhow and thiserror
Update clap to version 3
Make golang file parseable by removing line breaks
2022-03-24 19:48:41 -03:00
Till Wegmueller
4476b85936 Add Publishing metadata 2021-05-01 16:26:04 -03:00
Till Wegmueller
3c4f75ab5c Fixing makefile targets,
Added Version to userland crate
2021-05-01 16:21:17 -03:00
Till Wegmueller
37d7d8ee08 Add userland library for things related to oi userland 2021-04-25 18:40:06 -03:00