Commit Graph

9 Commits

Author SHA1 Message Date
ash 56b6c046ef scripts: Prompt polkit for GUI grok-bot auto-update
Desktop Exec=grok-bot has no TTY, so interactive sudo cannot
prompt and auto-update is skipped. Try sudo -n, then pkexec of a
grok-bot-bin-only helper (auth_admin, not NOPASSWD), then
interactive sudo on a TTY. Cancel or deny still launches the
installed binary.

#16
2026-09-04 17:17:02 +00:00
ash 7d361549e1 ci: Open bump PRs instead of pushing protected master
Nightly update.yml rewrote PKGBUILD then failed with pre-receive hook
declined on protected master and tags. Push chore/bump-$pkgver and open
(or reuse) a PR instead. After merge, tag-release.yml creates v$pkgver
so build.yml still attaches the package.
2026-09-04 15:40:21 +00:00
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
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
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.
2026-09-02 15:21:20 +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
2026-09-02 01:30:38 +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