Skip to content

Homebrew tap name and auto-update migration #6841

@gtarraga

Description

@gtarraga

Question

The new repo migration change (sst/opencode -> anomalyco/opencode) should have also updated the brew tap formula name:

async function getBrewFormula() {
const tapFormula = await $`brew list --formula sst/tap/opencode`.throws(false).quiet().text()
if (tapFormula.includes("opencode")) return "sst/tap/opencode"
const coreFormula = await $`brew list --formula opencode`.throws(false).quiet().text()
if (coreFormula.includes("opencode")) return "opencode"
return "opencode"
}

I'd assume people aren't necessarily on this new tap name (anomalyco/tap), should we might want to consider auto migrating old tap users to the new one.
Another thing worth mentioning is the recent throttling of the core homebrew formula to only every 10 versions. Maybe worth discussing a migration strategy to using the new tap instead.

If there's a strategy that's already been decided I don't mind doing a quick PR with the changes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions