-
Notifications
You must be signed in to change notification settings - Fork 121
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
[MM-57738] Retrieve Id through GetPluginID method in Manifest model #199
[MM-57738] Retrieve Id through GetPluginID method in Manifest model #199
Conversation
Changed the way plugin ID is retrieved from the manifest. Instead of directly accessing the Id property, now using the GetPluginID() method for better encapsulation and consistency.
Hello @willypuzzle, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @willypuzzle, thanks for this contribution! We'll need to wait until mattermost/mattermost#27281 is merged, and then we'll update the imported version in this plugin's go.mod
file. Just letting you know in case that wasn't known yet 👍 Nice work on this!
@mickmister sorry, if I bother you but but due that mattermost/mattermost#27281 was merged shouldn't we make start the Ci/CD again? Or I have to commit something? |
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
@mickmister we should merge this PR, it's relative to ne feature for API of the plugin |
Hi @willypuzzle, thanks for pinging on this. There is one remaining issue in CI that needs to be addressed here https://github.com/mattermost/mattermost-plugin-starter-template/actions/runs/9380693770/job/25854231700?pr=199
Specifically this line:
In order for the plugin project to use this new method, the server dependency needs to be updated in the plugin project. It's currently using
The latest is Can you try running this command to update the dependency? This is the merge commit from your PR mattermost/mattermost@4acc479
Then you can run |
The project's dependencies have been updated. This includes upgrading versions of several indirect dependencies and adding new ones. The changes also involve updating the version of the Mattermost server from v0.0.14 to v0.1.5-0.20240610151147-4acc4796edb2, among other updates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check out mattermost/mattermost#27281 (comment)
Summary
Changed the way plugin ID is retrieved from the manifest. Instead of directly accessing the Id property, now using the GetPluginID() method for better encapsulation and consistency.
Ticket Link
Fixes mattermost/mattermost#26710
Related PR
mattermost/mattermost#27281