Skip to content

xbps-rindex: add --purge mode to remove a single package - #708

Open
hosaka wants to merge 1 commit into
void-linux:masterfrom
hosaka:xbps-rindex-purge
Open

hosaka wants to merge 1 commit into
void-linux:masterfrom
hosaka:xbps-rindex-purge

Conversation

@hosaka

@hosaka hosaka commented Oct 29, 2026

Copy link
Copy Markdown

Adds -p, --purge <repodir/file.xbps>, which removes specific packages from a repository's index. This is a trimmed down take on the idea in #418 covering only the purge part.

Some setups keep only the repodata locally, for example CIs that publish to a remote package registry. This is how I maintain my packages in a self-hosted Forgejo instance. There is no way to remove a single package without fetching the whole repository first.

If this is acceptable, let me know and I can write the manpage as well.

Disclosure: purge_test.sh was generated using an LLM.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant