Snooze button for Github issues
Projects with a lot of issue volume accumulate a lot of open issues which are not immediately actionable, usually because they’re waiting for a response from a contributor. There’s no easy way to hide those from the Github interface or signal to other maintainers that an open issue or PR isn’t actionable yet.
Add a “snooze” label to an issue, and github-snooze-button will remove the label whenever
github-snooze-button can operate in two modes: deployed to AWS Lambda, or polling a Amazon SQS queue locally.
github-snooze-button uses .ini-style configuration files that look like:
[default] github_username = your_username github_token = your_token aws_key = your_key aws_secret = your_secret snooze_label = snooze # aws_region = us-west-2 # optional [your_username/repo1] ignore_member_of = cool_organization # ignore comments from members of an organization [your_username/repo2] snooze_label = response required
The AWS credentials in the config file are sent to Github and used to push notifications into SNS. The listener also uses them to consume events from SQS. They are not used to configure the Lambda deployment.
And now you’re live.
Note that the queue will continue collecting events unless you disconnect the repository from SNS.
The fastest way to disable github-snooze-button is by deleting the Amazon SNS service from your repository’s “Webhooks & services” configuration page. It will be automatically recreated the next time you run snooze in either mode.
Tim D. Smith: snooze at tds.xyz, Freenode: tdsmith, @biotimylated
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|github_snooze_button-0.2.0-py2.py3-none-any.whl (11.5 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Apr 10, 2016|
|github-snooze-button-0.2.0.tar.gz (9.4 kB) Copy SHA256 Checksum SHA256||–||Source||Apr 10, 2016|