Install pinned OpenCode Desktop on Fedora GNOME desktops

Add an opencode_desktop task file to packages_fedora that downloads the
official RPM, verifies a pinned per-architecture SHA-256, and installs it
with DNF. Upstream RPMs are unsigned, so only that task disables GPG
checking; system repository signature policy is unchanged.

Gate the tasks on graphical_desktop plus opencode_desktop_enabled, which
desktop_gnome enables for ikaros and nymph. WSL, Fedora IoT, Void, and
servers stay untouched, and the npm-managed OpenCode CLI keeps its own
configuration and lifecycle flags.

Pin version 2.2.5 with x86_64 and aarch64 digests, and document the
opencode_desktop tag, the cold-cache check-mode limitation, and why the
official download page must confirm the version.
This commit is contained in:
2026-11-01 17:59:14 +01:00
parent 5d5339637d
commit f6ef70a43f
5 changed files with 88 additions and 0 deletions

View File

@@ -60,6 +60,15 @@ fedora_dev_packages:
fedora_flatpak_remote_name: flathub
fedora_flatpak_remote_url: https://dl.flathub.org/repo/flathub.flatpakrepo
opencode_desktop_version: "2.2.5"
# Digests published with the official GitHub release; update with the version.
opencode_desktop_rpm_checksums:
x86_64: sha256:4feb27fe98df9b7579abd31a790d331e9aff87c95f67081beefa2aaaa76ebada
aarch64: sha256:e84b1e03e2b4fb337ddfe015b6457a7aa0dfe171338be08e643ad66b1657033a
opencode_desktop_rpm_url: >-
https://github.com/anomalyco/opencode/releases/download/v{{ opencode_desktop_version }}/opencode-desktop-linux-{{ ansible_facts['architecture'] }}.rpm
opencode_desktop_rpm_path: "/var/cache/opencode-desktop-{{ opencode_desktop_version }}-{{ ansible_facts['architecture'] }}.rpm"
chatgpt_desktop_enabled: false
chatgpt_desktop_supported_fedora_versions:
- "43"