Skip to main content

Module package

Module package 

Source
Expand description

GitLab Package Registry management (torii package …).

gitorii’s release pipeline uploads cross-compiled binaries into GitLab’s Generic Package Registry under gitorii/v0.7.X/…. Over time these accumulate and eat the namespace’s storage quota (free tier: 5 GB). This module is the CLI surface to inspect and prune them.

GitHub doesn’t have a directly equivalent Package Registry for Generic binaries — its binary distribution model is Release Assets attached to Releases. That lives in release.rs (0.7.10). On GitHub-detected projects, the factory here errors out and points the user at torii release.

Structs§

Package
PackageFile
PackageListFilters

Traits§

PackageClient

Functions§

filter_by_version
Filter packages matching exact version. Used by batch delete.
filter_older_than
Filter packages older than N days (i.e. KEEP only the ones older than the cutoff — used by batch-delete to figure out which old entries to remove). Conservative: packages with unparseable timestamps are KEPT (we don’t auto-delete state we can’t reason about) — matches pipeline::filter_older_than semantics.
get_package_client