mattermost / mattermost/mattermost-plugin-github
Code Previews not working with private repos
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 179
- Forks
- 180
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 13
Description
Hello,
I can't get code preview in any channels when I link a file from a private repo. I have no error messages when I set MM server to debug mode. It just send default Github public link metadata.
Mattermost Server team edition version 6.2.1
Github plugin 2.0.1
Code Previews enabled for public and private repositories in Github plugin configuration
Connected via /github connect private
Tested with a Dockerfile from a public and private repos
I tested reconnecting account to GH, disabling/enabling Code Preview
I don't know if I'm missing something, tell me if you need more information.
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
No source files or tests are named. Start by reproducing the issue with Mattermost 6.2.1, GitHub plugin 2.0.1, a private-repository Dockerfile, enabled Code Previews, and /github connect private; compare the result with a public repository and review the plugin's code-preview handling. Done means private-repository links produce code-preview metadata rather than default public-link metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100