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

Sync with starter template: dynamic versions #447

Merged
merged 7 commits into from
Dec 14, 2023

Conversation

lieut-data
Copy link
Member

Summary

Fewer changes relative to the starter-template, but incorporate mattermost/mattermost-plugin-starter-template#192 so we can tag and get the right version automatically on build.

Ticket Link

Fixes: https://mattermost.atlassian.net/browse/MM-55492
Relates-to: https://mattermost.atlassian.net/browse/MM-55488

@lieut-data lieut-data added 2: Dev Review Requires review by a core committer QA/Review Not Required labels Dec 12, 2023
@lieut-data lieut-data added this to the v1.5.0 milestone Dec 12, 2023
@lieut-data lieut-data requested review from jespino and cpoile December 12, 2023 22:59
@@ -57,14 +57,18 @@ func (m *Monitor) checkChannelsSubscriptions(msteamsSubscriptionsMap map[string]
// Check if channel subscription is present for a link on Mattermost
if mmSubscriptionFound {
// Check if channel subscription is not present on MS Teams
if _, msteamsSubscriptionFound := msteamsSubscriptionsMap[mmSubscription.SubscriptionID]; !msteamsSubscriptionFound {
_, msteamsSubscriptionFound := msteamsSubscriptionsMap[mmSubscription.SubscriptionID]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one linting change "required", and seems to be idiomatic as per https://go.dev/doc/effective_go#switch. Extra eyes appreciated :)

@lieut-data lieut-data requested review from mickmister and removed request for jespino December 14, 2023 18:09
@lieut-data lieut-data added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Dec 14, 2023
@lieut-data lieut-data merged commit f3bdb58 into main Dec 14, 2023
@lieut-data lieut-data deleted the sync-with-starter-template-dynamic-versions branch December 14, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request QA/Review Not Required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants