pullreminders / backlog

Public backlog for http://pullpanda.com
59 stars 9 forks source link

As a user, I want assigner to take me out of rotation when I go on vacation #158

Open maxgutman opened 5 years ago

maxgutman commented 5 years ago

It would be great if a user can provide access to their calendar events so that assigner would automatically take people out of rotation a day or two before vacation, and adds them back when they return.

abinoda commented 5 years ago

@maxgutman Thanks! This comes up every now and then. The main issue with this is figuring out the best way to allow users to set vacations.

You brought up calendar integration, which is interesting. Other options could include GitHub profile statuses or maybe something on the Slack side. Any strong preferences?

maxgutman commented 5 years ago

Slack would be a great option if tied to the slack status of the user.

On Wed, Apr 17, 2019, 1:00 PM Abi Noda notifications@github.com wrote:

@maxgutman https://github.com/maxgutman Thanks! This comes up every now and then. The main issue with this is figuring out the best way to allow users to set vacations.

You brought up calendar integration, which is interesting. Other options could include GitHub profile statuses or maybe something on the Slack side. Any strong preferences?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pullreminders/backlog/issues/158#issuecomment-484239237, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFO2OC5H5SWU3CQJVNRJJLPQ56XLANCNFSM4HGXLFMQ .

perplexes commented 5 years ago

Does Pull Reminder have an API? We use Zenefits and we could probably tie it to our PTO calendar.

athkalia commented 5 years ago

We wrote a Jenkins groovy script that checks the slack status via their API and adds/removes people from that github team. Happy to share

nicogreenarry commented 5 years ago

We'd be interested in seeing that!

athkalia commented 5 years ago

Hi @nicogreenarry , this is the article explaining the process! https://medium.com/babylon-engineering/bringing-some-order-to-pull-request-reviews-27ac55d181bb

johnfonte commented 5 years ago

As a fun exercise, I went and built what's described in the article and made it open-source: https://github.com/johnfonte/pull-unassigner @abinoda @nicogreenarry @athkalia @maxgutman

nicogreenarry commented 5 years ago

@johnfonte very cool! I haven't used it yet, but I may. We aren't currently diligent about updating our slack statuses based on PTO, but I found a Zenefits/Slack integration that can do that for us automatically (since we use Zenefits and track our PTO there).