dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Build a repo for RHEL/Fedora/Debian distributions

Open romange opened this issue 2 years ago • 5 comments

  • [ ] support building an rpm package
  • [ ] support building a deb package
  • [ ] host a custom repo for both rpm and deb for simpler installation of Dragonfly

romange avatar Aug 12 '22 21:08 romange

a pretty extensive blog post that guides on how to build and host debian packages. And more low level https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/

romange avatar Aug 13 '22 15:08 romange

aptly is to manage the repo and upload it to s3-like bucket (can be gcs as well) https://www.aptly.info/tutorial/repo/

createrepo is somewhat similar tool for rpm packages

romange avatar Aug 13 '22 15:08 romange

Please consider creating a snap package for the software. Publishing the software through the Snap store can help distribute the software outside the above Linux distributions.

iko1 avatar Aug 15 '22 05:08 iko1

From a devops perspective, it would be really nice to have a cross-platform bash script one-liner install.

Whether you roll by hand, use ansible/chef/puppet, ubuntu/cent, etc... this just works.

This is my personal opinion and .02, but I find this easier to keep correct than a bunch of different package managers; especially for fast-change-cadence software like where DF currently is.

Adding the task of maintaining a sync between the github version and snap, yum, apt sounds a bit expensive when new features are pushing weekly(or daily)...

Source: https://get.docker.com/

image

ryanrussell avatar Aug 15 '22 12:08 ryanrussell

Another article on how to do it: https://medium.com/sqooba/create-your-own-custom-and-authenticated-apt-repository-1e4a4cf0b864

romange avatar Mar 30 '23 13:03 romange