devcontainers / devcontainers/features
[hugo] Use git instead of GitHub API?
Open
enhancement
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 621
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 4
Description
Currently `ghcr.io/devcontainers/features/hugo` uses the GitHub API to install the latest version; when using the GitHub API, builds will fail if the API limit is reached.
How about changing to using Git the same way as other Features?
https://github.com/devcontainers/features/blob/8d3685e09f18dd8b0a6bce50abe3e868dac27a69/src/hugo/install.sh#L86-L89
We will need to install Git additionally, but since many Features use Git for version lookups, this should not be a problem, I think.
Contributor guide
Assessment
This issue has not been assessed yet.