Repository navigation
feat(cli): oa check reads Package.resolved, pubspec.lock, renv.lock and Podfile.lock - #543
Merged
M0Rf30 merged 1 commit intoDec 1, 2026
Conversation
…nd Podfile.lock The Swift, Pub, CRAN and CocoaPods formats of openartifact#533 had no lockfile oa check could read. - Package.resolved: the registry pins (scope.name, as the registry matches them); git pins are left out. No requirers, no dev dependencies. - pubspec.lock: hosted packages; SDK, path and git ones are left out. A direct dev dependency is Dev, so --no-dev works. No requirers. - renv.lock: packages installed from a repository; GitHub, GitLab, Bioconductor, URL and local ones are left out. Requirers from Requirements (renv 1.0 and later). - Podfile.lock: by pod (a subspec is its pod, which does not require itself); pods under EXTERNAL SOURCES are left out. Requirers from PODS. --fetch requests what each client does: the Swift release list, the pub package document, and for CocoaPods CocoaPods-version.yml then the shard of each pod in the repository's own sharding. A CRAN proxy has no version list (no Versions hook), so its answers stay unknown whatever is cached: --fetch refuses an renv.lock instead of warming nothing. Fixtures, parse, reject, edge and KindOf tests, one fuzz target per lockfile; the metadata path fuzz target covers the new kinds and their /repos/<format>/ prefixes. docs/integrations/ci.md and the CLI reference updated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
M0Rf30
approved these changes
Dec 1, 2026
M0Rf30
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. Tested subspec dedup and CRAN source filtering; fetch paths match the swift/pub routes.
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.
The Swift, Pub, CRAN and CocoaPods formats of #533 had no lockfile oa check could read.
Checks: golangci-lint v2.15.0 (0 issues), make deadcode, make docs-check, TestBinaryImportGraphs, go test -race for pkg/lockfile, internal/oacli and cmd/docgen, short fuzz runs.
🤖 Generated with Claude Code