ropensci-org / buffy

Editorial bots generator
https://buffy-ropensci.readthedocs.io/en/latest/
MIT License
1 stars 2 forks source link

Airtable in responders #9

Closed maelle closed 2 years ago

maelle commented 3 years ago

Gathering some thoughts. API equivalents coming.

maelle commented 3 years ago

Maybe for submitting a review the easiest thing is to have the editor submit it. @ropensci-review-bot submit review <link to comment> time <8>.

I would expect editors to have to come to the issue to thank the reviewer with a non-bot answer anyway.

maelle commented 3 years ago

Created a test airtable base (duplicated the real base but without records) at https://airtable.com/tblEeFgNuJiyUoVT1/ The airtable base ID should be a parameter this way when things work I can replace it with the actual base ID, and I'd save a token of mine in the Heroku secrets.

when assigning reviewers (tweaking the reviewer assignment responder)

when approving the package (tweaking the approve responder)

New responder for submitting reviews

to be done by editors (cc @noamross: this way the editor can have a look at whether the review has all the info in particular reviewing time, and can add a human thank you)

@ropensci-review-bot submit review <review url> time 8

maelle commented 3 years ago

addendum for when assigning reviewers

create entries in the slack-invites table. One line per person, email and name from GitHub API, if no name in GitHub profile use username (GitHub username). Date = date of entry creation. Invited unchecked.

maelle commented 3 years ago

Also, once as many reviews as reviewers have been submitted via @ropensci-review-bot submit review <review url> time 8, the badge should be changed to 4/review-in-awaiting-changes

maelle commented 3 years ago

@xuanxu for the responder for submitting reviews it'd be nice if it could parse, for "height hours and a half", both 8.5 and 8,5.

maelle commented 2 years ago

Everything now implemented, thank you @xuanxu!