Image Packaging System in Rust - mirror
Find a file
Till Wegmueller 2777f153c9
Introduce progress reporting infrastructure and error management refinements
- Add `ProgressReporter` trait with `start`, `update`, and `finish` methods for customizable progress tracking during operations.
- Implement `ProgressInfo` struct for detailed progress state reporting, including operation, progress, and context information.
- Create a no-op implementation `NoopProgressReporter` for cases where progress reporting is not needed.
- Enhance `pkg6` with structured error handling using `Pkg6Error` and new diagnostic variants for I/O, JSON, FMRI, and logging errors.
- Update `Image` functionality to leverage progress reporting during catalog downloads and include robust publisher management.
- Introduce `TestProgressReporter` for unit tests to validate progress reporting integration.
2025-08-03 14:28:36 +02:00
.github Update GitHub Actions workflows: upgrade actions/checkout and cache to v4, replace actions-rs/toolchain with dtolnay/rust-toolchain, and simplify toolchain setup. 2025-07-26 23:49:57 +02:00
.idea Disable RsMainFunctionNotFound inspection in project default settings. 2025-07-26 17:50:08 +02:00
.junie Add xtask for build and test automation, replacing legacy scripts, and integrate commands for environment setup, build, test, and formatting. Update documentation for cargo-xtask usage. 2025-07-26 14:18:30 +02:00
.vscode Adding ports and specfile crates. Switch to thiserror for libraries 2022-09-02 23:48:26 +02:00
doc Add pub.p5i file implementation for backward compatibility 2025-08-02 13:18:18 +02:00
libips Introduce progress reporting infrastructure and error management refinements 2025-08-03 14:28:36 +02:00
oi-userland@ca81f7dcc5 Adding ports and specfile crates. Switch to thiserror for libraries 2022-09-02 23:48:26 +02:00
pkg6 Introduce progress reporting infrastructure and error management refinements 2025-08-03 14:28:36 +02:00
pkg6depotd Introduce cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +02:00
pkg6dev Introduce cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +02:00
pkg6repo Remove redundant file checks and update test assertions for publisher-specific file paths 2025-07-31 00:29:53 +02:00
ports Introduce cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +02:00
specfile Introduce cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +02:00
userland Introduce cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +02:00
xtask Refactor codebase to improve formatting, logging clarity, and error handling 2025-07-27 15:22:49 +02:00
.gitignore Replace anyhow with custom RepositoryError for improved error specificity and consistency. Remove anyhow dependency. 2025-07-26 16:50:10 +02:00
.gitmodules Adding ports and specfile crates. Switch to thiserror for libraries 2022-09-02 23:48:26 +02:00
.replit Add run on repl.it badge to README 2020-07-03 09:24:40 +00:00
Cargo.lock Introduce progress reporting infrastructure and error management refinements 2025-08-03 14:28:36 +02:00
Cargo.toml Add tests for Image functionality and refactor image handling logic 2025-08-02 22:12:37 +02:00
Jenkinsfile Integrate GitHub Actions workflows for CI, replacing legacy scripts with xtask automation for formatting, linting, builds, tests, and documentation. Update Jenkinsfile to clarify its restricted usage for illumos builds. 2025-07-26 17:58:11 +02:00
LICENSE Add MPL V2 license 2020-05-17 21:52:39 +02:00
Makefile Add Publishing metadata 2021-05-01 16:26:04 -03:00
ports.spec Adding ports and specfile crates. Switch to thiserror for libraries 2022-09-02 23:48:26 +02:00
README.md Fixup build scripts 2022-09-04 15:23:10 -03:00
run_local_import_test.sh Simplify pkg5_import.rs by removing redundant directory creation logic; delegate to Transaction.commit() for handling. 2025-07-27 12:19:38 +02:00
test_repo_operations.sh Organize repository files into hierarchical directory structure for improved scalability 2025-07-27 13:15:52 +02:00
Vagrantfile Adding ports and specfile crates. Switch to thiserror for libraries 2022-09-02 23:48:26 +02:00

Image Packaging System for illumos

libips

The libips crate contains all modules and functions one needs to implement an Image Packaging System based utility.

Be that a server, client or other utilities.

Includes Python bindings with PyO3.

This project is intended to gradually replace the current python based implementation of IPS. Most things are documented in the docs directory but some things have been added over the years which has not been properly documented. Help is welcome but be advised, this is mainly intended for use within the illumos community and it's distributions. Big changes which are not in the current IPS will need to be carefully coordinated to not break the current IPS.