Image Packaging System in Rust - mirror
Find a file
Till Wegmueller a5f1b7d815
Refactor obsoleted.rs to optimize database schema and enhance error handling
- Replace `FMRI_TO_HASH_TABLE` and `HASH_TO_METADATA_TABLE` with a unified `FMRI_TO_METADATA_TABLE` for direct FMRI-to-metadata mapping, reducing complexity and eliminating intermediate hash lookups.
- Implement robust error handling and logging in database transactions, serialization, and deserialization procedures.
- Introduce on-the-fly manifest generation for entries with `NULL_HASH`, streamlining workflows for minimal manifest creation.
- Update indexing, querying, and removal logic to align with the new table and error handling improvements.
- Streamline `list_obsoleted_packages` by introducing index-based fetching with structured fallbacks to filesystem methods.
2025-07-29 21:24:32 +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
crates/pkg6 Introduce cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +02:00
doc Add support for null hash in obsoleted package metadata 2025-07-29 18:40:34 +02:00
libips Refactor obsoleted.rs to optimize database schema and enhance error handling 2025-07-29 21:24:32 +02:00
oi-userland@ca81f7dcc5 Adding ports and specfile crates. Switch to thiserror for libraries 2022-09-02 23:48:26 +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 Introduce cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +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 cleanup functionality for obsoleted packages with TTL support 2025-07-29 19:08:18 +02:00
Cargo.toml Update workspace structure, unify metadata, enhance logging, and expand error handling 2025-07-27 11:08:39 +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_file_structure.rs Organize repository files into hierarchical directory structure for improved scalability 2025-07-27 13:15:52 +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.