Artifact stanza can't fetch a specific file from a git repository
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
[go-getter](https://github.com/hashicorp/go-getter) allows [fetching a subdirectory](https://github.com/hashicorp/go-getter#subdirectories), but this doesn't work if you specify a file instead of a directory.
Being able to fetch individual files from a git repository would be very useful for use cases where configuration files, templates etc. are versioned and stored in a VCS.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by tracing how the artifact stanza handles go-getter Git sources, then identify the existing subdirectory-fetching path. Done means an artifact source can retrieve one specified file from a Git repository, with coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100