TheOdinProject / odin-bot-v2

The bot that breathes life into our Discord community
ISC License
48 stars 77 forks source link

Feature: Autopost certain issues to #contribution-opportunities #589

Open Asartea opened 3 months ago

Asartea commented 3 months ago

Complete the following REQUIRED checkboxes:

- [ ] The title of this issue follows the command name: brief description of request format, e.g. /help: add optional @user parameter

The following checkbox is OPTIONAL:


1. Description:

Based on @01zulfi 's work in #338 as well as my own playing around (because I wanted an excuse to play with Redis), I propose a new service to post new contribution opportunities to #contribution-opportunities automatically (defining contribution opportunities as "an open issue, without assignee, which has the Status: Help Wanted label, and is within the subset of repo's targeted (see Discussion point 2).

I propose it will work as follows:

Discussion points

  1. How long should the interval between each run be? #338 had it at once a week, but I think that's too long. For some personal testing, I had it at every 12h[1], but that might be too often. On the other hand, the fallback for "no issues are available" would be to do nothing, so the impact is relatively low.
  2. Which repo(s) should be checked? TheOdinProject/curriculum is the only repo where issues will generally be doable by every learner, but this repo and TheOdinProject/theodinproject also regularly generate help wanted issues, and those might be more interesting for NodeJS/Rails people respectively

[1] I'd ideally like the interval to be something that isn't whole days, to avoid it always posting at midnight for some people

2. Acceptance Criteria:

MaoShizhong commented 2 months ago

@TheOdinProject/maintainers Any thoughts on this idea?

I don't think I know enough about the potential implementation details to comment much further, plus I'm not personally sure about ideas for the 2 discussion point questions. So I'll ideally defer to greater experience.