WIP: add: __package_xbps #29

Draft
romain-dartigues wants to merge 1 commits from romain-dartigues/cdist-contrib:package-xbps into master
First-time contributor

Introduce support for XBPS, the void-linux package manager.

Notes

Unlike most of types (but __line), it provides a --onchange optional parameter ; useful for some cases such as:

# update the packages index when adding package adding a repository
__package_xbps void-repo-nonfree \
    --onchange 'xbps-install -Su'

# update the mirror when installing a package to handle mirrors
__package_xbps xmirror \
    --onchange 'xmirror -s https://mirror.puzzle.ch/voidlinux/'
Introduce support for [XBPS](https://docs.voidlinux.org/xbps/), the [void-linux](https://voidlinux.org/) package manager. ## Notes Unlike most of types (but `__line`), it provides a `--onchange` optional parameter ; useful for some cases such as: ```sh # update the packages index when adding package adding a repository __package_xbps void-repo-nonfree \ --onchange 'xbps-install -Su' # update the mirror when installing a package to handle mirrors __package_xbps xmirror \ --onchange 'xmirror -s https://mirror.puzzle.ch/voidlinux/' ```
romain-dartigues added 1 commit 2024-04-11 18:39:36 +00:00
14fb018315 add: __package_xbps
Introduce support for XBPS, the void-linux package manager.
This pull request is marked as a work in progress.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b romain-dartigues-package-xbps master
git pull package-xbps

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff romain-dartigues-package-xbps
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist-contrib#29
No description provided.