Skip to content

fix(installers): archive format and extraction fixes (gh, goreleaser, ollama, pandoc, sd, yq) - #1086

Merged
coolaj86 merged 3 commits into
mainfrom
ref-installer-script-fixes
May 18, 2026
Merged

fix(installers): archive format and extraction fixes (gh, goreleaser, ollama, pandoc, sd, yq)#1086
coolaj86 merged 3 commits into
mainfrom
ref-installer-script-fixes

Conversation

@coolaj86

@coolaj86 coolaj86 commented May 14, 2026

Copy link
Copy Markdown
Member

Summary

Update paths, filenames, and format handling for current upstream releases in 5 installers: `gh`, `goreleaser`, `ollama`, `sd`, `yq`. (pandoc was in the original commit message but not changed.)

Split out from the same commit as #1085 (releases.conf). Completions/man page work follows in a separate PR.

ollama (macOS)

The macOS release is a flat tgz — bare `ollama` binary + `libggml-.dylib`/`.so` GPU backend files + `mlx_metal_/` dirs, all at the archive root. This is different from Linux (`bin/ollama` + `lib/ollama/` hierarchy).

Installer now detects macOS via `uname -s` and sets `pkg_src_cmd` to the root-level binary accordingly, then moves the whole archive root into `~/.local/opt/ollama-vX.Y.Z/`.

Test plan

  • `webi gh` — already installed, correctly detected (Linux/beta)
  • `webi goreleaser` — v2.15.4 installs and links correctly (Linux/beta)
  • `webi sd` — v1.1.0 installs and links correctly (Linux/beta)
  • `webi yq` — v4.53.2 installs and links correctly (Linux/beta)
  • `webi ollama` — v0.24.0 installs and runs correctly (macOS arm64/beta)

@coolaj86
coolaj86 force-pushed the ref-installer-script-fixes branch from 2966fe1 to bff4ce2 Compare May 14, 2026 21:19
@coolaj86 coolaj86 changed the title fix(installers): completions + archive format fixes for 12 packages fix(installers): archive format and extraction fixes (gh, goreleaser, ollama, pandoc, sd, yq) May 14, 2026
@coolaj86
coolaj86 force-pushed the ref-installer-script-fixes branch from bff4ce2 to 9a0c892 Compare May 14, 2026 21:25
@coolaj86
coolaj86 force-pushed the ref-installer-script-fixes branch 3 times, most recently from 1afd928 to 998542c Compare May 18, 2026 00:26
@coolaj86
coolaj86 force-pushed the ref-installer-script-fixes branch from 998542c to d507ff0 Compare May 18, 2026 00:27
@coolaj86
coolaj86 force-pushed the ref-installer-script-fixes branch 2 times, most recently from 09fc85a to 00a65da Compare May 18, 2026 00:33
macOS releases are a flat tgz (bare ollama binary + libggml dylibs +
mlx_metal dirs at the archive root), unlike Linux (bin/ollama +
lib/ollama/ hierarchy).

Detect macOS via uname -s, set pkg_src_cmd/pkg_dst_cmd to the
root-level binary, and move the full archive root into
~/.local/opt/ollama-vX.Y.Z/ in one pass.
@coolaj86
coolaj86 force-pushed the ref-installer-script-fixes branch from 00a65da to e6ad763 Compare May 18, 2026 00:34
@coolaj86
coolaj86 merged commit e6ad763 into main May 18, 2026
3 checks passed
@coolaj86
coolaj86 deleted the ref-installer-script-fixes branch May 18, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant