Commit Graph
78 Commits
Author SHA1 Message Date
Ryan Hughes f6c8d3d33b Handle prerelease 2026-08-11 23:42:39 -04:00
Ryan Hughes f609e6a31e Add omarchy-pkgs 2026-08-11 23:36:37 -04:00
Ryan Hughes abec5dd439 Add bin/omarchy-pkgs release command
One-command releases for the omarchy + omarchy-settings pair:
  bin/omarchy-pkgs release v4.0.0 | latest | rc [--commit sha] [--base X.Y.Z]

Rewrites both PKGBUILDs in lockstep (same _tag/_commit/pkgver/sha256sums,
pkgrel reset to 1), normalizes upstream tag forms to the vercmp-safe
attached rcN convention, refuses downgrades against the published edge DB,
regenerates and verifies checksums from a cached mirror clone, commits and
pushes to master, and triggers the build host when OMARCHY_BUILD_HOST is
configured. RCs stay on edge; finals are promoted with bin/repo migrate.
Includes a self-test covering tag normalization and pacman ordering, and a
README runbook.
2026-08-11 22:21:23 -04:00
David Heinemeier HanssonandClaude Fable 5 98628968a3 Fix unbound variable expansion in add-package jq filters
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls3ump7hcv4oNnjWW5AXmn
2026-08-05 22:54:04 +02:00
David Heinemeier HanssonandClaude Fable 5 f95d544fdb Retry AUR clones and report the real error on failure
A transient network failure cloning retroarch-joypad-autoconfig-git took
the whole sync workflow red. Clones now retry up to 3 times, and the
failure message includes git's actual error instead of guessing "may not
exist in AUR" — which was never the cause anyway: AUR serves an empty
repo for unknown package names, so that case is now detected explicitly
by the missing PKGBUILD.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 22:04:01 -05:00
David Heinemeier HanssonandClaude Opus 5 0a80091fe6 Promote packages already in production idempotently
The dev packages are versioned off the quattro tip, so rebuilding the
same upstream commit yields the same filename. Promotion treated any
pre-existing filename as fatal, which wedged the release loop whenever a
run promoted but died before update-repo rebuilt the database: the stale
database kept advertising the older hash, so every later run rebuilt the
identical package and failed here again, retaining the state file each
time.

Compare the bytes instead. Identical packages are skipped and the run
continues, so the following update-repo step fixes the database and the
loop unsticks itself. Differing content under a published filename still
aborts. Signatures are judged by the package they sign, since gpg stamps
a timestamp into every signature and a re-signed package never matches.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 16:37:01 -07:00
David Heinemeier HanssonandClaude Fable 5 d6b146bdc9 Add --package filter to repo migrate for single-package stable promotion
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 21:53:25 -07:00
Ryan Hughes 515b566cb9 Add skip_build 2026-07-13 19:55:23 -04:00
Ryan Hughes dd98747e2c Avoid R2 HEAD checks during repo sync 2026-06-05 19:11:16 -04:00
Ryan Hughes 7410dd87af Include log tail in release failure notifications 2026-06-04 19:36:05 -04:00
Ryan Hughes c1aed0d8f1 Squash merge omarchy-4 into master 2026-06-02 22:25:07 -04:00
Ryan Hughes 2ffe4f811c Refactor 2026-05-08 01:04:52 -04:00
Ryan Hughes f89e13e856 Prompt to sync at the end 2026-05-04 11:47:09 -04:00
David Heinemeier Hansson 6d217e1e87 Add prebuilt uploader 2026-04-23 13:59:21 +02:00
Ryan Hughes c42e988afe Add notifications for failures 2026-03-07 17:32:21 -05:00
Ryan Hughes ad61f12c11 Remove stable pkgbuilds 2026-03-07 16:25:40 -05:00
Ryan Hughes 2bcb57d4d1 Add stable migration command for edge packages 2026-02-26 12:37:43 -05:00
Ryan Hughes fdcce9465c Better logs and resolution 2026-02-17 11:12:52 -05:00
Ryan Hughes 8c5222fe01 Add pkgrel.override 2026-02-11 17:44:14 -05:00
Ryan Hughes fb5b71d209 Add docker cleaner 2026-01-10 20:36:21 -05:00
Ryan Hughes 45a356eb70 Create shared / fast track for certain packages 2026-01-10 20:18:35 -05:00
Ryan Hughes 0b13252528 Fix branch 2025-12-13 19:19:32 -05:00
Ryan Hughes 42401fa8a1 Add auto-release 2025-12-13 19:15:34 -05:00
Ryan Hughes 78d09cd2a1 Fix patching to prevent doubling up 2025-12-12 20:06:06 -05:00
Ryan Hughes 58562007c8 Remove update from the clean process 2025-11-21 22:20:56 -05:00
Ryan Hughes aca2584c8b Update sync and release to use mirror / arch 2025-11-21 13:20:06 -05:00
Ryan Hughes daa0e31db8 Update to display after parsing args 2025-11-21 13:15:30 -05:00
David Heinemeier Hansson 558af82690 Ensure the arch paths are updated too so we know where we are building 2025-11-21 15:39:14 +01:00
David Heinemeier Hansson c478b18a04 Set the mirror that was designated 2025-11-21 15:31:08 +01:00
David Heinemeier Hansson 274a4cb16d Show arch + mirror + build workspace before running 2025-11-21 15:28:01 +01:00
David Heinemeier Hansson 44ce28a0d8 Account for multiple subdirectories for syncing 2025-11-21 15:01:59 +01:00
Ryan Hughes ed25b693a1 Update paths 2025-11-10 12:27:13 -05:00
Ryan Hughes 02abd5fb51 Ensure repo dirs exist 2025-11-10 12:25:16 -05:00
Ryan Hughes 4ea26d5a30 Add promotion checking 2025-11-10 11:27:17 -05:00
Ryan Hughes 4b5342ba66 Add stable / edge 2025-11-10 11:03:39 -05:00
David Heinemeier Hansson bfd739f539 Revert "Pull gpg credentials directly from 1pw"
This reverts commit 93dd0fb78d.
2025-11-10 15:13:14 +01:00
David Heinemeier Hansson 93dd0fb78d Pull gpg credentials directly from 1pw 2025-11-10 13:51:47 +01:00
Ryan Hughes 4d088d8fe9 Fix qemu issue 2025-11-04 00:18:22 -05:00
Ryan Hughes b0b82813d1 Handle no patches 2025-11-02 22:20:48 -05:00
Ryan Hughes 7a3fd16344 Update patching logic 2025-10-31 16:44:41 -04:00
Ryan Hughes 5bd9958618 Add patch 2025-10-31 16:44:34 -04:00
Ryan Hughes 5b28e55d91 Update docs 2025-10-30 00:56:48 -04:00
Ryan Hughes dacf0cd9a4 Simplify and solve cache issue 2025-10-30 00:36:19 -04:00
Ryan Hughes 78c1ef2658 Unified aarch64 / amd64 image 2025-10-29 22:55:17 -04:00
Ryan Hughes bfc377cd0f Update update repo image name 2025-10-27 23:28:12 -04:00
Ryan Hughes 34297628a3 Update builds 2025-10-27 23:22:17 -04:00
Ryan Hughes 1c23334c7b Add applying patches to the aur packages 2025-10-27 14:11:48 -04:00
Ryan Hughes b853ddc51a Consolidate more things 2025-10-27 00:38:25 -04:00
Ryan Hughes 51a3318b10 Consolidate more helpers 2025-10-27 00:28:46 -04:00
Ryan Hughes fde981aa95 Remove ruby builds since we're not doing that 2025-10-27 00:23:59 -04:00