devcontainers / devcontainers/features

[hugo] Use git instead of GitHub API?

Open
#458 1 comment 0 reactions 1 assignee Claimed by @samruddhikhandale View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.