devcontainers / devcontainers/features

[hugo] Use git instead of GitHub API?

Aperta
#458 1 commento 0 reazioni 1 assegnatario Rivendicata da @samruddhikhandale Vedi su GitHub
enhancement
Lingua principale
Shell
Stelle
1.5k
Fork
621
Merge medio
2g 11h
PR unite (30g)
4

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.