Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily Programmer Management #63

Open
apex-omontgomery opened this issue Feb 26, 2019 · 7 comments
Open

Daily Programmer Management #63

apex-omontgomery opened this issue Feb 26, 2019 · 7 comments
Assignees
Labels
priority: low This is an issue that is fine sitting for a while project: rewrite This issue applies to the rewrite of Pybot status: in progress The issue is currently being worked - it may have associated Draft pull requests type: code change Issue requires changes to the code base type: documentation Issue requires a change to the current documentation of the codebase or product type: enhancement Issue enhances a feature by adding more functionality

Comments

@apex-omontgomery
Copy link
Member

Store daily programmer in some format. Ping general with the new daily event. Provide a reference to others so they can do them later.

@ramalamadingdong
Copy link

The reference to other daily programmer right now this is being done by pinning the post is that how you want to keep it and just make a bot that pins it, or would you rather have it save it to something else like a webpage or google document or whatever?

@apex-omontgomery
Copy link
Member Author

Your call. Maybe save it in a text format. Or just save the links to them all

@ramalamadingdong
Copy link

I got something together, it works on a test slack I made would you like me to merge it with your existing pybot?

@hollomancer hollomancer added the type: enhancement Issue enhances a feature by adding more functionality label Jun 22, 2019
@hollomancer
Copy link
Member

Heya, is there a PR associated with this issue?

@ramalamadingdong
Copy link

ramalamadingdong commented Jun 22, 2019 via email

@kylemh kylemh added the general: hacktoberfest Issue is a good fit for Hacktoberfest label Oct 1, 2019
@AllenAnthes AllenAnthes removed the general: hacktoberfest Issue is a good fit for Hacktoberfest label Dec 29, 2019
@kylemh kylemh added the general: hacktoberfest Issue is a good fit for Hacktoberfest label Oct 1, 2020
@JudsonStevens JudsonStevens removed the general: hacktoberfest Issue is a good fit for Hacktoberfest label Aug 18, 2021
@aaron-junot aaron-junot added the general: hacktoberfest Issue is a good fit for Hacktoberfest label Sep 29, 2021
@JudsonStevens JudsonStevens added priority: low This is an issue that is fine sitting for a while project: rewrite This issue applies to the rewrite of Pybot status: in progress The issue is currently being worked - it may have associated Draft pull requests type: code change Issue requires changes to the code base type: documentation Issue requires a change to the current documentation of the codebase or product and removed general: hacktoberfest Issue is a good fit for Hacktoberfest labels Jan 1, 2022
@JudsonStevens
Copy link
Collaborator

We've decided to go with a rewrite of the bot, so we're revisiting this one. We ended up going through the historical records of all the posts in daily-programmer and extracting into Airtable everything that matched the general posting pattern - that ended up getting us around 750 records. Moving forward, the bot will monitor posts into that channel and extract anything with the right format to Airtable. We are also recording the message timestamps of the messages themselves, so we'll be adding in a a slash command or something similar to list out all of the previous problems.

@JudsonStevens JudsonStevens self-assigned this Jan 1, 2022
@JudsonStevens JudsonStevens changed the title Daily programmer Daily Programmer Management Jan 2, 2022
@JudsonStevens
Copy link
Collaborator

I've scoped this down to the following capabilities:

  • When a "manual" daily programmer is posted, as long as it has a line formatted as such: == <Current Date> - Daily Programmer === the bot will pick it up
    • For example: == Thursday January 20th 2022 - Daily Programmer ===
    • The bot will check for a matching problem in Airtable
    • If there is a match, increment the posted count and update the last_posted date
    • If there isn't a match, create a new row
  • If a user uses the /daily-programmer-problem slash command, the bot will randomly select a problem and send it to the user
    • At some point we should implement tracking so users don't get repeat problems, but for now it's fine
  • We'll add a scheduled job to post a problem daily from the list, focusing on problems that haven't been posted for a while with some slight randomization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low This is an issue that is fine sitting for a while project: rewrite This issue applies to the rewrite of Pybot status: in progress The issue is currently being worked - it may have associated Draft pull requests type: code change Issue requires changes to the code base type: documentation Issue requires a change to the current documentation of the codebase or product type: enhancement Issue enhances a feature by adding more functionality
Projects
None yet
Development

No branches or pull requests

7 participants