104 releases (42 breaking)

new 0.46.0 Feb 13, 2025
0.45.3 Dec 29, 2024
0.43.0 Nov 29, 2024
0.24.0 Jul 26, 2024
0.15.3 Nov 28, 2023

#328 in Operating systems

Download history 509/week @ 2024-10-26 537/week @ 2024-11-02 575/week @ 2024-11-09 463/week @ 2024-11-16 379/week @ 2024-11-23 211/week @ 2024-11-30 40/week @ 2024-12-07 90/week @ 2024-12-14 173/week @ 2024-12-21 191/week @ 2024-12-28 172/week @ 2025-01-04 141/week @ 2025-01-11 7/week @ 2025-01-18 4/week @ 2025-02-01 93/week @ 2025-02-08

108 downloads per month

GPL-3.0-or-later

115KB
3K SLoC

oma-pm

The package manager component for oma.

The oma-pm crate provides essential functionalities for package management operations such as install, remove, upgrade, and search.

Features

  1. PackageInfo: Package information to be handled by oma-apt.
  2. Progress: Reports the progress of package management operations.
  3. Search Result: Structure and handling of search results.
  4. Communication with rust-apt: Communicate with oma-apt.

NOTE: oma-apt is another fork of rust-apt, maintained by AOSC-Dev

Modules

  • apt: Handles interactions with apt.
  • matches: Provides utilities for matching package information.
  • pkginfo: Contains definitions and structures for package information.
  • progress: Tracks the progress of package management operations.
  • search: Defines the structure and handling of search results.
  • dbus: Manages D-Bus communication.

Re-exports

  • AptErrors: Error definitions from oma-apt crate.
  • PkgCurrentState: Current package management status from oma-apt.
  • PackageStatus: Package status definitions from the search module.

Dependencies

~30–46MB
~724K SLoC