Comments (2)
We're having the same issue. Two channels subscribed to the same Repository:
{
"Repositories": {
"foulab/": [
{
"ChannelID": "kh<snip>fa",
"CreatorID": "j5<snip>wo",
"Features": "pushes",
"Flags": {
"ExcludeOrgMembers": false,
"RenderStyle": "",
"ExcludeRepository": null
},
"Repository": "foulab/"
},
{
"ChannelID": "wn<snip>5c",
"CreatorID": "j5<snip>wo",
"Features": "pushes",
"Flags": {
"ExcludeOrgMembers": false,
"RenderStyle": "",
"ExcludeRepository": null
},
"Repository": "foulab/"
}
],
results in this error logs every time:
{"timestamp":"2024-05-28 19:35:33.262 -04:00","level":"warn","msg":"Error webhook post","caller":"app/plugin_api.go:979","plugin_id":"github","post":"&{Id:e1<snip>xh CreateAt:1716939333153 UpdateAt:1716939333153 EditAt:0 DeleteAt:0 IsPinned:false UserId:sz<snip>6w ChannelId:wn<snip>5c RootId: OriginalId: Message:\n[str4w](https://github.com/str4w) pushed [2 new commits](https://github.com/FOULAB/DrawingMachines/compare/192bfbab2164...179c374f834d) to [\\[FOULAB/DrawingMachines:plotter.writeup\\]](https://github.com/FOULAB/DrawingMachines/tree/plotter.writeup):\n[`24d863`](https://github.com/FOULAB/DrawingMachines/commit/24d863f4de73d4a861380d2796c507ab4a2a0f05) Switch the chipotle3 url back to upstream\n\nThe PR has been merged by upstream - 0x5c\n[`179c37`](https://github.com/FOULAB/DrawingMachines/commit/179c374f834defced2c8be08d9dec2285e7d36f4) Merge pull request #2 from 0x5c/fix/chipotle-url\n\nSwitch the chipotle3 url back to upstream - strawdog\n MessageSource: Type:custom_git_push propsMu:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}} Props:map[from_bot:true from_plugin:true] Hashtags: Filenames:[] FileIds:[] PendingPostId: HasReactions:false RemoteId:<nil> ReplyCount:0 LastReplyAt:0 Participants:[] IsFollowing:<nil> Metadata:<nil>}","error":"CreatePost: You cannot update an existing Post."}
One of the subscribed channels (incidentally, that's a PM with me) gets the notification; the other channel does not.
I see there's a PR #755 open to fix this. Really looking forward to it being merged and included in a release!
from mattermost-plugin-github.
Related Issues (20)
- The message generated for the `/github subscriptions list ` slash command should show the excluded repositories (if present). HOT 2
- [Feature request] When linking to pull requests / issues on a private repository, show a preview instead of an error page
- this plugin is totally uselsss waste of time HOT 1
- Ephemeral message "Not able to get list of webhooks" after creating a subscription HOT 3
- `issue_creations` subscription with labels should support labeling an existing issue
- Issue/PR descriptions not showing in link tooltips
- Support excluding some users from subscription posts HOT 1
- Support excluding specific comment authors for issue comment subscriptions HOT 6
- For "Issue has been labeled" events, subscriptions do not respect the "render-style" flag for the post size
- Have "PR Merged" subscriptions support filtering labels, for an attached issue
- Subscription posts related to labels should contain a string like "with label x"
- Support `--include-only-org-members` for channel subscriptions HOT 2
- How to troubleshoot? HOT 10
- cleanup / removal of inactive users HOT 6
- Is it possible to make it work properly without setting up the github plugin? HOT 1
- Consider implementing subscriptions feature as a form/modal HOT 1
- How to remove GitHub integration in mattermost? HOT 8
- Implement server-side localization for the plugin
- Implement webapp-side localization for the plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-plugin-github.