Add support for XBPS (Void Linux) #1

Closed
opened 2022-11-13 21:35:47 +00:00 by Ghost · 4 comments

I'm not asking you to add this support, mainly made this as a reminder for myself to look into it one day :)

Looking under manager/ it doesn't look that bad to implement.

Distro: https://voidlinux.org/
Package manager: https://github.com/void-linux/xbps
Docs: https://docs.voidlinux.org/xbps/index.html

I'm **not** asking you to add this support, mainly made this as a reminder for myself to look into it one day :) Looking under [`manager/`](https://gitea.arsenm.dev/Arsen6331/lure/src/branch/master/manager) it doesn't look *that* bad to implement. Distro: https://voidlinux.org/ Package manager: https://github.com/void-linux/xbps Docs: https://docs.voidlinux.org/xbps/index.html
Owner

Implementing support for the package manager itself is the easy part. The difficult part is adding support for building the actual package. I use nfpm to do so. When I started building LURE, nFPM had no support for Arch packages, so I added it with a PR. Despite Arch having one of the simplest packaging formats that exist, that took 1.2k lines of code. I do eventually plan to look into XBPS support and how much it would take to implement, but this is likely a long-term goal since I don't use Void regularly.

Implementing support for the package manager itself is the easy part. The difficult part is adding support for building the actual package. I use [nfpm](https://github.com/goreleaser/nfpm) to do so. When I started building LURE, nFPM had no support for Arch packages, so I added it with a PR. Despite Arch having one of the simplest packaging formats that exist, that took 1.2k lines of code. I do eventually plan to look into XBPS support and how much it would take to implement, but this is likely a long-term goal since I don't use Void regularly.
Author

Ah I just noticed https://github.com/Arsen6331/lure exists, do you mind if I move tracking this to issues there instead as there wasn't anything here before?

Ah I just noticed https://github.com/Arsen6331/lure exists, do you mind if I move tracking this to issues there instead as there wasn't anything here before?
Owner

Sure, you can do that if you want. I'll also copy and paste my reply there so that others can see it.

Sure, you can do that if you want. I'll also copy and paste my reply there so that others can see it.
Author
https://github.com/Arsen6331/lure/issues/31
Ghost closed this issue 2022-11-13 23:04:39 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 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: lure/lure#1
No description provided.