Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[workshop-sync] side-quest-06-01-install-troubleshooting.md: GHES install command uses invalid `--hostname` flag

Aperta Adatta ai principianti
#4,568 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
85/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
bash, github
Ambito
documentation

Direzione di ricerca

Il problema si trova in workshop/side-quest-06-01-install-troubleshooting.md, nella sezione GitHub Enterprise Server, nella riga gh extension install che passa --hostname. Controlla nel manuale gh_extension_install la forma dell'URL descritta nell'issue, quindi modifica solo quella riga in modo che l'host GHES sia indicato come parte dell'URL del repository. È fatto quando la riga non usa più --hostname, il resto del blocco GHES è invariato e l'esempio facoltativo gh aw --version è aggiornato alla release corrente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation

Workshop file reviewed

workshop/side-quest-06-01-install-troubleshooting.md

Problem

The "GitHub Enterprise Server (GHE/GHES) endpoint" section instructs learners to run:

gh extension install github/gh-aw --hostname ghes.example.com

gh extension install does not support a --hostname flag. Per the official gh CLI manual (gh_extension_install), the only flags are --force and --pin. GHES installs are done by passing the repository as a full URL instead of OWNER/REPO:

"For GitHub repositories, the repository argument can be specified in OWNER/REPO format or as a full repository URL. The URL format is useful when the repository is not hosted on github.com."

Example from the manual: `gh extension install (my.ghes.com/redacted)

As written, the documented command will fail with an "unknown flag" error for anyone following the GHES troubleshooting path.

Current correct syntax

gh config set git_protocol https --host ghes.example.com
gh auth login --hostname ghes.example.com --scopes "repo,read:org,workflow"
gh extension install (ghes.example.com/redacted)
gh auth status --hostname ghes.example.com

Suggested fix

Replace the line:

gh extension install github/gh-aw --hostname ghes.example.com

with:

gh extension install (ghes.example.com/redacted)

Minor secondary note

The checkpoint line "gh aw --version prints a version number (for example, gh-aw 1.x.x)" shows an example format (1.x.x) that doesn't match the project's current pre-1.0 versioning (latest release is v0.89.21) or the output format shown elsewhere in the workshop (e.g. gh-aw version 0.81.6). Consider updating the example to something like gh-aw version 0.89.21 for consistency, though this is lower priority than the --hostname flag fix above.

Reference

Official gh CLI manual: https://cli.github.com/manual/gh_extension_install

Generated by 🔍 Workshop Sync Check · copilot · auto · 173.7 AIC · ⌖ 0.605 AIC · ⊞ 9.2K · ◷

  • expires on Oct 15, 2026, 4:57 AM UTC
Lingua principale
JavaScript
Stelle
53
Fork
35
Merge medio
13h 50m
PR unite (30g)
14

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githubnext/gh-aw-workshop

Tutte le issue di githubnext/gh-aw-workshop

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.