Open Asartea opened 3 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.
Complete the following REQUIRED checkboxes:
- [ ] The title of this issue follows thecommand 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:
services/
cron
it starts itself every time x amount of time has elapsed (see Discussion point 1)ready.js
could instantiate a new instance of the class and tell it to start scheduling itself)Discussion points
[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: