(Auto) build operating system packages #53

Closed
opened 2021-08-15 23:03:44 +00:00 by 3wordchant · 3 comments
Owner
  • Debian/Ubuntu DEB
  • Arch - started, see coop-cloud/aur-abra-git
  • Fedora etc. RPM
  • Windows (?!?!)
  • Gentoo (??)

Questions:

  • Do we have a build from git main as well as tagged releases? Or do people need to install from git to get development versions?
  • Do we want to try and get abra into official repositories? Or are we fine with unofficial distribution for the foreseeable?
  • Do we use downstream build architecture (COPR, PPA) where available? Or do we hook up Drone to do all our builds, and publish our own package index?
  • What's the relationship between CI availability on a platform, and releasing builds for it? i.e. should we wait until we have CI testing on Windows before releasing a build for it?

Fedora RPM notes

Auto-build from git with COPR: https://hobo.house/2017/09/03/automate-rpm-builds-from-git-sources-using-copr/

Hugo's spec: https://src.fedoraproject.org/rpms/hugo/blob/rawhide/f/hugo.spec

How to build an RPM with Drone: c234894f23/.drone.yml

- [ ] Debian/Ubuntu DEB - [x] Arch - started, see coop-cloud/aur-abra-git - [ ] Fedora etc. RPM - [ ] Windows (?!?!) - [ ] Gentoo (??) ## Questions: - Do we have a build from git `main` as well as tagged releases? Or do people need to install from git to get development versions? - Do we want to try and get abra into official repositories? Or are we fine with unofficial distribution for the foreseeable? - Do we use downstream build architecture (COPR, PPA) where available? Or do we hook up Drone to do all our builds, and publish our own package index? - What's the relationship between CI availability on a platform, and releasing builds for it? i.e. should we wait until we have CI testing on Windows before releasing a build for it? ### Fedora RPM notes Auto-build from git with COPR: https://hobo.house/2017/09/03/automate-rpm-builds-from-git-sources-using-copr/ Hugo's spec: https://src.fedoraproject.org/rpms/hugo/blob/rawhide/f/hugo.spec How to build an RPM with Drone: https://github.com/purplepalmdash/netdata_build_rpms/blob/c234894f23fe5955c9f926da997951132ad41ec4/.drone.yml
3wordchant added the
enhancement
question
labels 2021-08-15 23:03:44 +00:00

I wouldnt consider arch done but I would also advise against its automation since its a bit fidly really. the -git version is automatic but always the main branch. The releases need shas and getting those can be a little annoying. Doable but then youneed to make manual edits to the PKGBUILD file to update the checksums, version, and any build changes, since your always building from source in the AUR vs like if we was in community where we would just be giving the output of makepkg. And that is similar to have deb files work. The work is small though to do manuelly and i will be documenting it.

I wouldnt consider arch done but I would also advise against its automation since its a bit fidly really. the `-git` version is automatic but always the main branch. The releases need shas and getting those can be a little annoying. Doable but then youneed to make manual edits to the PKGBUILD file to update the checksums, version, and any build changes, since your always building from source in the AUR vs like if we was in community where we would just be giving the output of `makepkg`. And that is similar to have deb files work. The work is small though to do manuelly and i will be documenting it.
Owner

https://goreleaser.com/ does it all 🖤

https://goreleaser.com/ does it all 🖤
knoflook self-assigned this 2021-09-03 13:34:01 +00:00
Owner
Binary publishing is up: https://git.coopcloud.tech/coop-cloud/abra/releases
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#53
No description provided.