Commit Graph

15 Commits

Author SHA1 Message Date
ash fe03fed004 scripts: Parse update feed with python3 if jq is missing
Jumpboxes may lack jq; requiring it made the documented manual path
fail closed for the wrong reason. Keep python3 as the rewrite tool
and the feed parser fallback, and fail loudly when neither parser
nor curl/sha256sum is present. Reject tiny/non-deb downloads so a
failed fetch cannot look like a successful bump.
2026-09-03 05:17:04 +00:00
linus 1faa355d6e pkgbuild: Bump grok-bot-bin to 0.36.0 (#8)
pkgbuild: Bump grok-bot-bin to 0.36.0

Stay-current path: fail-closed update.sh/workflow, README Updating for cron + manual force. Closes #7.
2026-09-03 00:15:14 -05:00
ash 49a15ebb2d docs: Document stay-current bump path
Tell Justin how cron runs update.sh, commits, tags, and pushes, and how
to force the same bump by hand. Align the release install example with
PKGBUILD 0.36.0 (tag v0.36.0) and keep the makepkg path until CI
publishes the asset.
2026-09-03 05:13:25 +00:00
ash 6b180acd39 ci: Harden update workflow
Fail clearly when curl/jq/python3 are missing, when the feed cannot be
parsed, or when the PKGBUILD rewrite does not stick. A scheduled bump
still commits PKGBUILD+.SRCINFO, tags v$pkgver, and pushes; a no-op is
only an already-current pkgver.
2026-09-03 05:13:25 +00:00
ash b93fe47e90 pkgbuild: Bump grok-bot-bin to 0.36.0
Cursor's linux-x64 feed moved past 0.35.0 (pkgrel 2). Keep Justin on
the current official .deb: pkgver 0.36.0, pkgrel 1, commit
9465f3ae75550511296fabbb7a4b6fc8afe9e408.
2026-09-03 05:13:25 +00:00
s1d3sw1ped_bot 34ded1b6ae chore: Promote develop to master (CONTRIBUTING)
Land CONTRIBUTING.md on default master via develop tip.
2026-09-02 11:34:00 -05:00
s1d3sw1ped_bot e65d3131ba docs: Add CONTRIBUTING
Fixes #4
2026-09-02 11:33:28 -05:00
s1d3sw1ped_bot 6184de4bd3 README: Point pacman -U example at v0.35.0-2
Docs sync: align README with current install/CLI behavior.

Co-authored-by: s1d3sw1ped_bot <s1d3sw1ped+giteabot@gmail.com>
Co-committed-by: s1d3sw1ped_bot <s1d3sw1ped+giteabot@gmail.com>
2026-09-02 10:43:48 -05:00
s1d3sw1ped_bot 4b2bc70766 PKGBUILD: Point desktop Exec at update shim
Build Arch package / build (push) Successful in 27s
0.30 shipped Exec="/opt/Grok Bot/grok-bot", so the app menu skipped
/usr/bin/grok-bot and never auto-updated. Always rewrite the desktop
Exec to the PATH shim after unpacking the .deb so that cannot regress.
Bump pkgrel to 2; clearer sudo failure hint in the launch shim.
v0.35.0-2
2026-09-02 15:21:20 +00:00
s1d3sw1ped_bot 7fea71c3ec pkgbuild: Fix sha256sums array after 0.35.0 bump
Build Arch package / build (push) Successful in 27s
update.sh replaced only the first sha256sums line and left orphan
hashes, so makepkg could not source PKGBUILD. Rewrite both deb and
launch-shim sums; reset pkgrel to 1 for the first 0.35.0 package.
v0.35.0
2026-09-02 14:54:27 +00:00
s1d3sw1ped_bot c8fdd67e83 pkgbuild: Bump grok-bot-bin to 0.35.0 2026-09-02 06:17:46 +00:00
s1d3sw1ped_bot 1d73966315 pkgbuild: Install auto-update launch shim
Build Arch package / build (push) Successful in 28s
Replace the /usr/bin/grok-bot (and sand) plain symlink with a launch
shim that checks the latest Gitea release, pacman -U's a newer
.pkg.tar.zst when available, then execs the real binary under
/opt/Grok Bot/. Skip with GROK_BOT_NO_UPDATE=1; fail soft on
network/API errors. Bump pkgrel for the packaging change.

#2
v0.30.0
2026-09-02 01:30:38 +00:00
s1d3sw1ped_bot e12f2bf6ef ci: Install node in Arch container for checkout
Build Arch package / build (push) Successful in 27s
actions/checkout@v4 needs node; the archlinux:base-devel container only
had git installed first, so checkout failed with exit 127 (Actions run
1171). Install git, nodejs-lts-jod, npm, sudo, and jq before checkout.

#1
2026-09-02 01:27:11 +00:00
s1d3sw1ped_bot 33e191de2b pkgbuild: Add grok-bot-bin from official .deb
Build Arch package / build (push) Failing after 11s
Temporary Arch/CachyOS packaging until upstream ships a native package.
Pulls Cursor's amd64 deb by commit from the linux-x64 update feed.
Includes update script and Gitea Actions for bump + makepkg release.
2026-09-02 01:10:40 +00:00
s1d3sw1ped_bot 581f073b2f Initial commit 2026-09-01 20:09:44 -05:00