Debian Packaging?
Hi, is there any chance you'll provide packaging for debian or ubuntu?
Hi there!
First, thanks for trying out Bravetools. In short, there are plans to provide deb packaging through a custom PPA. This feature is a little bit further down the list. We're currently prioritising automated multi-host container deployments and a few other features.
If there's a good case for pushing deb packaging further up the list, we can include that in our next feature release this month.
@Szubie wanted to bump this up for our 2.0 release
would this also include removing the requirement for Snap based LXD?
I prefer Debian to Ubuntu and have no interest in installing Snap on any system. I would really like to use and help develop bravetools as this seems like a much needed application.
I will look and see if I can PR a fork that doesn't have this limitation, but any help or direction will of course be much appreciated.
We started looking at this a while ago and settled on using GoReleaser (https://github.com/goreleaser/goreleaser), but were side-tracked with all the remotes features to take advantage of remote builds and deployments.
There are already a number of blueprints available for debian packaging in the repo:
- https://github.com/bravetools/bravetools/blob/master/nfpm.yaml
- https://github.com/bravetools/bravetools/blob/master/.lintian-overrides
- https://github.com/bravetools/bravetools/blob/master/.chglog.yml
Unfortunately we don't have yet an end-to-end script that would pull all of this together into a debian package and any help would be greatly appreciated :)
Also worth a mention that Bravetools doesn't require snap LXD installed. Any LXD client available to your user will do.
Ok great! I will look into goreleaser and the current state of the scripts.
I am little confused regarding the requirement or lack there of for snap. In attempting to run my first "bravetools build" command I was greeted with: 2024/02/16 19:40:13 Get "http://unix.socket/1.0": dial unix /var/snap/lxd/common/lxd/unix.socket: connect: no such file or directory
I do have a functioning lxd client and service installed, but by apt and not snap.
If I am missing something I apologize, but it appears to me that the brave binary is looking to open a socket it expects the lxd service installed by snap to have created.