Skip to content

fix(stint): drop auto_updates true + add manpage stanza - #11

Merged
mariomeyer merged 1 commit into
mainfrom
fix-cask-auto-updates-and-manpage
May 25, 2026
Merged

fix(stint): drop auto_updates true + add manpage stanza#11
mariomeyer merged 1 commit into
mainfrom
fix-cask-auto-updates-and-manpage

Conversation

@mariomeyer

Copy link
Copy Markdown
Member

Summary

Two related fixes for the stint cask:

  1. Drop auto_updates true — it was causing brew upgrade stint to fail mid-flight. The uninstall step deletes `/Applications/Stint.app` but brew then skips the install/copy step (assuming the app self-updates), leaving the user with no app. Repro from the 0.2.0 → 0.3.0 upgrade reported today:

    ```
    ==> Removing files:
    /Applications/Stint.app
    ==> Purging files for version 0.3.0 of Cask stint
    Error: reyemtech/tap/stint: It seems the App source
    '/Applications/Stint.app' is not there.
    ```

    Tauri's in-app updater (`tauri-plugin-updater`) is independent of this brew-side hint, so dropping `auto_updates` is a pure win: brew handles upgrades the boring-and-correct way (uninstall → mount → copy → unmount).

  2. Add manpage stanza — stint Phase 6a (v0.3.0) bundles `stint.1` at `Stint.app/Contents/Resources/man/man1/`. This symlinks it into Homebrew's man path so `man stint` works after `brew install --cask stint`.

Test plan

  • Manual: `brew uninstall stint && brew install --cask reyemtech/tap/stint` with this branch checked out — installs cleanly, app launches, `man stint` resolves
  • After merge: simulate next upgrade (when v0.3.x lands) — should NOT trip the auto_updates trap

🤖 Generated with Claude Code

`auto_updates true` was causing brew upgrade to fail mid-flight: the
uninstall step deletes /Applications/Stint.app, but brew then skips the
install/copy step (assuming the app self-updates), leaving the user
with no app. Repro from a 0.2.0 → 0.3.0 upgrade attempt:

    ==> Removing files:
    /Applications/Stint.app
    ==> Purging files for version 0.3.0 of Cask stint
    Error: reyemtech/tap/stint: It seems the App source
    '/Applications/Stint.app' is not there.

Tauri's in-app updater (tauri-plugin-updater) still works regardless of
this brew-side hint, so dropping auto_updates is a pure win — brew now
handles upgrades the boring-and-correct way.

Also wires up the man page: stint Phase 6a bundles stint.1 at
Stint.app/Contents/Resources/man/man1/. The new `manpage` stanza
symlinks it into Homebrew's man path so `man stint` works.
@mariomeyer
mariomeyer merged commit f40553a into main May 25, 2026
1 check passed
@mariomeyer
mariomeyer deleted the fix-cask-auto-updates-and-manpage branch May 25, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant