canonical / canonical/source-wand
[Feature] Add repositories to Go dependencies
- Dominant language
- Rust
- Stars
- 9
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Context
The Go dependency tree generator does not return the repositories of dependencies.
The `repository` field [here](https://github.com/canonical/source-wand/blob/c5624631ece6cd8fc405c13289ee8a6e45a11516/dependency-analysis/src/dependency_tree_generators/go_dependency_tree_generator.rs#L86) is an empty string.
## What should be done
Go dependencies are git URLs already so the dependency tree generator should just return that repository URL.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in dependency-analysis/src/dependency_tree_generators/go_dependency_tree_generator.rs at the repository field noted in the issue. Read how Go dependency URLs are represented and how the dependency tree is assembled; done means the generated dependency entries return their existing git repository URLs instead of empty strings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, rust
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100