zos icon indicating copy to clipboard operation
zos copied to clipboard

[research] different packages formats (deb, flatpack, snaps, appimage, etc...)

Open muhamadazmy opened this issue 1 year ago • 3 comments

Related to #2012

muhamadazmy avatar Jul 26 '23 12:07 muhamadazmy

We can utilize goreleaser nFPM to manage generating deb, rpm, apk and archlinux packages. It can manage the package's requirements, conflicts, recommended packages and suggested packages. We can also specify scripts to run preinstall and postinstall for doing any system reconfiguration (network stuff I assume?). There is the option of using FPM which offers more target options but goreleaser will offer easier integration with our CD and the extra targets might not be needed. goreleaser also supports snaps which FPM doesn't.

AbdelrahmanElawady avatar Jul 30 '23 10:07 AbdelrahmanElawady

I am wondering if we should support multiple formats in the first place. The problem with that if we do we need to support multiple systems (ubuntu, redhat, etc...) which the zos code can be very system specific (think networking for example, or others...) I can't think if all places where specific linux flavor support might be needed.

muhamadazmy avatar Aug 09 '23 08:08 muhamadazmy

We should probably check voidlinux as well, it's systemd free and has plethora of packages and similar packaging to archlinux

xmonader avatar Oct 29 '23 20:10 xmonader