mattermost / mattermost/mattermost-plugin-github

Support excluding specific comment authors for issue comment subscriptions

Open
#739 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Help Wanted Up For Grabs
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

https://github.com/mattermost/mattermost-plugin-github/blob/2608197665120cdd99d5deae9fb01fe7bee6f20e/server/plugin/command.go#L216

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.