feat: add Go and Rust dependency parsing support to repository analyzer - #396
Open
CodesWithSubham wants to merge 1 commit into
Open
Conversation
Add support for extracting dependencies from Go (go.mod) and Rust (Cargo.toml) manifests in the repository analyzer. Changes: - Parse Go dependencies from single-line and multiline require blocks - Detect indirect Go dependencies and classify them as peer dependencies - Set package manager to "go" when go.mod is present - Parse Rust dependencies from [dependencies] and [dev-dependencies] - Support Cargo.toml string and inline-table dependency definitions - Set package manager to "cargo" when Cargo.toml is present - Extend framework detection for Go and Rust ecosystems - Extend database library classification - Extend testing library classification This improves dependency analysis accuracy for Go and Rust repositories and aligns dependency extraction with existing repository file discovery support.
👷 Deploy request for arcmind-ai pending review.Visit the deploys page to approve it
|
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.
Description
Add dependency parsing support for Go (
go.mod) and Rust (Cargo.toml) projects in the Repository Analyzer.Previously, the analyzer only extracted dependencies from Node.js (
package.json) and Python (requirements.txt) projects, even though Go and Rust manifest files were already being discovered and fetched during repository analysis.This change extends the dependency analyzer to:
go.modrequiredeclarationsCargo.toml[dependencies]and[dev-dependencies]packageManagerasgoorcargoType of Change
Related Issues
Fixes #395
Screenshots (if applicable)
N/A
Checklist
Additional Notes
pnpm typecheck.