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

Guidelines for syntax of titles in GitHub issues and pull requests?

Aperta
#98 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
github
Ambito
documentation

Direzione di ricerca

Inizia esaminando gli esempi proposti di titoli di issue e pull request, la motivazione per i prefissi e la discussione esistente in questa issue. Non sono identificati file del repository né test. Il lavoro sarebbe completo quando il progetto avrà concordato le raccomandazioni sui titoli e la guida Do e Don’t della bozza sarà stata finalizzata.

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

Descrizione

There are usage recommendations for GitHub labels. Should there be recommendations for issue and pull request titles? (editors on my CG was recently asking themselves this question)

Examples I've seen in the wild:

  • [module-name] Discussion specific to a single module
  • [module-name,other-module-name] Discussion related to multiple modules
  • General discussion or question

Ideally, we'd document the reasoning behind these recommendations (see draft below).

Curious to hear what other folks think.


DRAFT Proposal:

Benefit of prefixes

Why use prefixes, when labels can do the same job? Both are useful, here are a few reasons to use prefixes in issue titles:

  • [prefix] is a useful visual hint when scanning a long list of issues
  • Facilitates plain text search
  • Prevents duplicate titles across modules
  • May be used by automations/bots
  • When someone mentions an issue in a GitHub comment, issue, or PR, GitHub automatically expands the title, but labels aren't shown

Screen capture showing an issue without a prefix in its title. The user has to hover it to reveal the label, and understand that it has to do with the format module. Had it been prefixed with [format], the user would have immediately known about what module this issue touches on.

Screen Shot 2021-09-21 at 10 46 13 AM

Do

todo

Don’t

todo

Lingua principale
HTML
Stelle
148
Fork
41
Merge medio
1m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 w3c/w3c.github.io

Tutte le issue di w3c/w3c.github.io

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.