Auto comment/close wrong-repo issues
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 305
- Fork
- 148
- Merge trung bình
- 9 giờ 2 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng việc xem xét cách repository github-bot hiện đang xử lý labels, comment, việc đóng issue và tạo issue; không có file hoặc test cụ thể nào được nêu. Done cần bao quát phần tự động hóa wrong-repo được đề xuất và làm rõ liệu việc chuyển tiếp theo sang nodejs/help có được bao gồm hay không, kèm theo các test hoặc việc xác minh được ghi lại cho các comment, liên kết và thay đổi trạng thái phát sinh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- tooling
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100