check_contributors.py --stub does not say when a pull request's commit is authored by someone else

Aperta Adatta ai principianti
#1,326 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à
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Inizia con scripts/check_contributors.py (run_stub) e scripts/contributors_write.py (stub_entry), poi esamina il comportamento esistente di --pending menzionato nell’issue #1316. Aggiungi la frase dello stub e le righe commit_exceptions e unlisted_authors quando un PR ha un autore di commit esterno. Il lavoro è completato quando un test con dati salvati copre questo output.

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

Descrizione

community enhancement

Where: scripts/check_contributors.py (run_stub), scripts/contributors_write.py (stub_entry).

Current gap: --pending now reports a commit authored by someone other than the PR author (#1316), but the stub it starts leaves that out, so for PR #1311 the sentence naming PRIYANKA2272004 and the exception-file lines were written by hand.

Suggested approach: When the commit authors of the stubbed person's PRs include someone else, add a sentence to the stub naming them and print the commit_exceptions and unlisted_authors lines to add.

Done when: a stub for a PR with a foreign commit author includes the sentence and the printed lines, covered by a test with saved data.

Lingua principale
HTML
Stelle
47
Fork
45
Merge medio
2h 49m
PR unite (30g)
69

Preparare l'ambiente

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 yakew7/Fair-Code

Tutte le issue di yakew7/Fair-Code

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.