devcontainers / devcontainers/features

[hugo] Use git instead of GitHub API?

Offen
#458 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @samruddhikhandale Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Shell
Sterne
1.5k
Forks
621
Ø Merge
6 T. 53 Min.
Gemergte PRs (30 T.)
9

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.