Refactor package list to Python module with dynamic versions #1

Merged
JMR-dev merged 3 commits from claude/refactor-packages-python-20kcR into main 2026-05-18 14:10:36 +00:00
JMR-dev commented 2026-05-18 14:09:45 +00:00 (Migrated from github.com)
  • Move SYSTEM_PACKAGES, FLATPAK_PACKAGES, and CUSTOM_PACKAGES into
    formatted_packages.py as typed Python data; drop the bespoke parser
  • Custom package URLs are now string templates with {version}, {arch},
    and {arch_go} substitutions, so the same entry works on x86_64 and
    aarch64 without hand-editing the URL
  • Add best-effort latest-version resolvers for Go, Firecracker, and Zig
    (using go.dev JSON, GitHub releases, and ziglang index.json
    respectively); on any failure the pinned version + sha256 are used
    and the fallback is logged
  • Make Neovim's archive name and install dir arch-aware (x86_64/arm64)
  • Document that --no-gui skips the entire Flatpak section, including
    installing flatpak itself
- Move SYSTEM_PACKAGES, FLATPAK_PACKAGES, and CUSTOM_PACKAGES into formatted_packages.py as typed Python data; drop the bespoke parser - Custom package URLs are now string templates with {version}, {arch}, and {arch_go} substitutions, so the same entry works on x86_64 and aarch64 without hand-editing the URL - Add best-effort latest-version resolvers for Go, Firecracker, and Zig (using go.dev JSON, GitHub releases, and ziglang index.json respectively); on any failure the pinned version + sha256 are used and the fallback is logged - Make Neovim's archive name and install dir arch-aware (x86_64/arm64) - Document that --no-gui skips the entire Flatpak section, including installing flatpak itself
Sign in to join this conversation.