daytonaio / daytona

The Open Source Dev Environment Manager.
https://daytona.io
Apache License 2.0
10.1k stars 810 forks source link

Package managers #102

Open metcalfc opened 8 months ago

metcalfc commented 8 months ago

In addition to the easy but often hated curl | bash we should consider adding support for a Brew cask tap (Mac/Linux), Winget (Windows) and possibly Linux packages.

harkiratsm commented 8 months ago

May I address this issue?

harkiratsm commented 8 months ago

We can use Goreleaser to cross-compile and publish our package on Brew, Winget, Nix, and Snap.

Tpuljak commented 8 months ago

@harkiratsm thanks for you interest.

As we have a separate repo for managing releases, we will handle this issue there. But thanks for the recommendation for using Goreleaser, we'll definitely consider using it.

harkiratsm commented 8 months ago

is that a private repo ?

Tpuljak commented 8 months ago

is that a private repo ?

@harkiratsm it is.

harkiratsm commented 7 months ago

Daytona package now available in Winget. Check out the PR.

metcalfc commented 7 months ago

@harkiratsm Thanks for getting started. I left a review to fix a couple things. https://github.com/microsoft/winget-pkgs/pull/144153/files/1871a980f4ff53790d9a6eda509544441333c5d1

Most importantly, the binary thats packaged is our commercial application not the open sourced one. It won't harm anything but it just won't work. We should fix those 7 or so issues and that should be good.

RyzeNGrind commented 7 months ago

Most importantly, the binary thats packaged is our commercial application not the open sourced one. It won't harm anything but it just won't work. We should fix those 7 or so issues and that should be good.

Does this also mean that the soon to be released Nixpkg will also contain the commercial application and not the open source one?

metcalfc commented 7 months ago

The commercial is a separate product. It’s built for enterprises that want to run 100s or 1000s of dev env in their cloud account.  

The original package on winget just grabbed the wrong binary from downloads.daytona.io. That’s fixed now.

Winget, brew, downloads.daytona.io, and nixpkg will all use this project. For nix we’re working with folks to use the same flow. Nixpkg will not build from source but it will download the open source product built by us.

osslate commented 7 months ago

Packaging for RHEL-like distros (RHEL, Fedora, CentOS Stream, Rocky, Amazon Linux, Oracle Linux, AlmaLinux, etc.) should be relatively straightforward if we leverage the Fedora COPR. Publishing an rpm would cover a chunk of enterprise Linux distributions.

https://docs.fedoraproject.org/en-US/quick-docs/publish-rpm-on-copr/

The install process would roughly become dnf copr enable daytonaio/daytona && dnf install -y daytona.