mattermost / mattermost/mattermost-plugin-github
Support excluding specific comment authors for issue comment subscriptions
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 179
- Forks
- 180
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 13
Description
Comments from the codecov bot can be a bit spammy in channels subscribing to issue/PR comments. For my use case of the GitHub issue comments subscription, I would like to exclude the codecov bot from creating issue comments in the issue comment subscription.
The task here is to implement a --exclude-users flag that can take a comma-separated list of GitHub usernames to exclude from the subscription posts. This is currently implemented for DM notifications through the mute command, though is not accessible in the subscriptions feature
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with server/plugin/command.go at the linked mute-command location, then trace how issue comment subscriptions process authors. Implement the requested --exclude-users comma-separated username input for subscription posts, and verify that listed users such as codecov are omitted while other comments remain included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100