cupertino-packages
Swift package source corpus for the cupertino indexer.
Each top-level directory is a GitHub owner; each second-level directory is a package repo. Source content is extracted from codeload.github.com/<owner>/<repo>/tar.gz/HEAD (or main/master fallback) at fetch time.
Regeneration
cupertino fetch --source packages --skip-metadata --output-dir <path>
--skip-metadata bypasses the Swift Package Index metadata refresh + the GitHub REST API star-count popularity sort (rate-limited 60 req/h unauthenticated; see cupertino PR #1068). The transitive-dependency resolver still walks each seed package's Package.swift via raw.githubusercontent.com (no rate limit), then archive download fans out to codeload.
Set GITHUB_TOKEN to also get the popularity sort (5000 req/h authenticated):
export GITHUB_TOKEN=$(gh auth token)
cupertino fetch --source packages
Scope
- Sources: 12 owners discovered through transitive resolution of 137 seed packages
- Excludes: per-package
availability.jsonsidecars (regenerated by the optional--annotate-availabilitypass at indexing time) - Storage: plain Git, no LFS. Source trees average ~3-30 MB; total corpus is in the hundreds of MB.
Related
- cupertino-docs: apple-docs JSON, HIG, swift-evolution, swift-org, swift-book, archive corpora
- cupertino-sample-code: Apple Developer sample-code projects
- cupertino-symbolgraphs: SDK symbolgraph corpus