devcontainers / devcontainers/features

[hugo] Use git instead of GitHub API?

Ouverte
#458 1 commentaire 0 réactions 1 personne assignée Réclamée par @samruddhikhandale Voir sur GitHub
enhancement
Langage dominant
Shell
Étoiles
1.5k
Forks
621
Merge moyen
6 j 53 min
PR mergées (30 j)
9

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.