nodejs / nodejs/github-bot

Auto comment/close wrong-repo issues

Offen
#162 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
305
Forks
148
Ø Merge
9 Std. 2 Min.
Gemergte PRs (30 T.)
3

Beschreibung

We get a lot of issues raised that basically need to be closed with a link to the relevant repo. @mscdex does a heroic job of commenting (I assume with a saved reply) and closing all these1, but it seems like something that could be automated. Having a bot do that would (IMO) make it feel less personal for the person whose issue is being closed.

1 See for example https://github.com/nodejs/node/issues/16710#issuecomment-341699548

Proposal

If someone adds the wrong-repo label, the bot comments and closes the issue. @mscdex 's comment text seems perfect as a stock comment.

General help questions should be posted to the nodejs/help issue tracker instead. This issue tracker is for reporting bugs and submitting feature requests for node core. Issues with npm or other tools that use node should be posted to the appropriate issue tracker for those tools, unless it can be proven that the issue is in fact with node core and not the tool in question.

Follow-on proposal

What might be even more helpful is if a collaborator adds the question and wrong-repo labels, the github-bot "moves" the issue to nodejs/help.

Moving would mean:

  • Raising a new issue in nodejs/help @mentioning the original issue raiser and linking to the original issue.
  • Closing the nodejs/node issue with a stock comment linking to the new issue.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die bestehende Behandlung von labels, Kommentaren, dem Schließen von Issues und der Erstellung von Issues im Repository github-bot zu prüfen; bestimmte Dateien oder Tests sind nicht genannt. Done sollte die vorgeschlagene wrong-repo-Automatisierung abdecken und klären, ob der anschließende Wechsel zu nodejs/help enthalten ist, mit Tests oder dokumentierter Verifizierung der resultierenden Kommentare, Links und Zustandsänderungen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.