feat: Add platform support display and Compatible filter#22
Open
arimxyer wants to merge 13 commits intohzqtc:mainfrom
Open
feat: Add platform support display and Compatible filter#22arimxyer wants to merge 13 commits intohzqtc:mainfrom
arimxyer wants to merge 13 commits intohzqtc:mainfrom
Conversation
Documents the approach for adding platform/environment support to Taproom, including details panel display and "Compatible" filter. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Prepare for feature branch development using git worktrees. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Detailed step-by-step plan for adding platform/environment support to Taproom, including details panel display and Compatible filter. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds platform/environment support information to Taproom, allowing users to:
mkey)Changes
Platformstruct withOSandArchfields, plusPlatformsandMinMacOSVersionfields toPackageapiFormulato parsebottle.stable.filesandapiCaskto parsevariationsanddepends_on.macosCurrentPlatform()helper that usesruntime.GOOSandruntime.GOARCHmto show only packages compatible with your current systemHow it works
For Formulae
Parses
bottle.stable.fileskeys likearm64_sequoia,x86_64_linuxto determine platform support.For Casks
Parses
variationskeys for platform support, plusdepends_on.macos.>=for minimum macOS version requirements.Test plan
go build ./...passesgo test ./...passesgo vet ./...passesripgrepmfilter shows only packages compatible with current system🤖 Generated with Claude Code