sammcj / gollama

Go manage your Ollama models
https://smcleod.net
MIT License
460 stars 29 forks source link

Add Pacman PKGBUILD for Arch Linux and derivatives #112

Closed lainedfles closed 1 month ago

lainedfles commented 1 month ago

This adds a basic PKGBUILD file that can be used like:

  1. Set desired release tag version within PKGBUILD
  2. Change directory into the same path as the PKGBUILD
  3. Execute updpkgsums to download the tag and calculate the checksum(s)
  4. Build and install with makepkg -si

Thanks!

sammcj commented 1 month ago

Thanks for the PR :), I'll review / add comments.

sammcj commented 1 month ago

I don't have any way to test with the arch package manager so if merged as is it would never get updated.

Instead of adding every distributions custom package management (dnf/apt/pacman/opkg/snap etc...) I think it would be more maintainable to add to homebrew for folks that don't have go installed.

There is an open issue #51 for this, I just haven't had time to look into homebrews requirements.

lainedfles commented 1 month ago

I don't have any way to test with the arch package manager so if merged as is it would never get updated.

Understood, this won't affect the new versions because they are self-updating upon build of the package. I've actually submitted an AUR package that I'll maintain for a while.

Instead of adding every distributions custom package management (dnf/apt/pacman/opkg/snap etc...) I think it would be more maintainable to add to homebrew for folks that don't have go installed.

The PR is intended to improve the quality of life for Pacman users (Arch Linux and Manjaro, etc.). If that's unacceptable or unmaintainable let's just close it.

Thanks!

sammcj commented 1 month ago

I've actually submitted an AUR package that I'll maintain for a while.

Oh neat! That's cool.

The PR is intended to improve the quality of life for Pacman users (Arch Linux and Manjaro, etc.). If that's unacceptable or unmaintainable let's just close it.

While I appreciate the contribution I think realistically from a supportability perspective per-distro config is probably not the path I want to go down at present.

My work is insanely busy at the moment but when it comes down a bit I'll add an official container image + compose option which would give an alternative to go install.

Again - I do appreciate the contribution!