nodejs / nodejs/github-bot

Auto comment/close wrong-repo issues

Aberta
#162 2 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Linguagem predominante
JavaScript
Estrelas
305
Forks
148
Merge médio
9h 2min
PRs com merge (30d)
3

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Comece revisando o tratamento existente de labels, comentários, fechamento de issues e criação de issues no repositório github-bot; nenhum arquivo ou teste específico é indicado. Done deve abranger a automação proposta para wrong-repo e esclarecer se a movimentação posterior para nodejs/help está incluída, com testes ou verificação documentada dos comentários, links e alterações de estado resultantes.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
tooling
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.