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

Proposal: send messages to Slack channel #36

Closed
alexellis opened this issue Feb 23, 2018 · 6 comments
Closed

Proposal: send messages to Slack channel #36

alexellis opened this issue Feb 23, 2018 · 6 comments

Comments

@alexellis
Copy link
Owner

alexellis commented Feb 23, 2018

In order to monitor and observe usage of Derek we should offer the ability to send messages to a Slack channel.

All usage of Derek via comments / PRs is public so I do not see any concerns with this going to one place.

It will give an overview at a glance whether there is any recent activity, by which installations and which users.

Example of status messages sent to Slack:

  • a no-dco label is added to PR 131 in repo openfaas/faas-cli
  • a label is applied to issue 586 on the openfaas/faas repo by @AlexEllisUK

This would use the incoming web hooks feature rather than any specialist library and could be swapped for any other HTTP endpoint. Slack messages have a basic format of:

{
   "text": "Message to channel goes here"
}
@rgee0
Copy link
Contributor

rgee0 commented Feb 26, 2018

@sesam
Copy link

sesam commented Oct 9, 2020

I'm trying to understand the comment above about one channel in one Slack space that can track many installations (and users).
For what I know, to be able to post to slack, the slack client you need at minimum some keys or access tokens. Would you give out, and ask nicely, that everyone who deploys Derek to somewhere would insert the keys for your channel so you see their usage of Derek?

@alexellis
Copy link
Owner Author

Hi Simon,

What's your interest in Derek?

Alex

@sesam
Copy link

sesam commented Oct 9, 2020

Depending on how it works, either a drive-by visit over a few days to see if this is still alive and kicking, or if it works out well, I might have an organisation that could make use of this. I'm liking the idea of minimising access rights.
Where are you using Derek currently? I'm good at git, beginner at go. could revive this slack feature if you still want to have it implemented. Though if your installation is huge, some rate limiting would be needed, like maybe skipping dco/no-dco messages as a default.
Update: Your question triggered this -> Why another github (list of) bots?
Oh, and I'm also looking for a 4th smaller Go task for hacktoberfest

@alexellis
Copy link
Owner Author

Is Derek "alive and kicking", yes it's used on all the repos and orgs listed on the README and an essential part of the openfaas community.

@alexellis
Copy link
Owner Author

Closing this issue due to a lack of demand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants