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

MM-36587: Enable development #29

Merged
merged 3 commits into from
Jun 22, 2021
Merged

Conversation

agarciamontoro
Copy link
Member

Summary

Although the README states that this plugin can be used without an E20 license, provided that the EnableTesting and EnableDeveloper settings are enabled, this was not the case, as the license check passed only when an E20 license was installed.

This PR fixes that, by simply using the new IsE20LicensedOrDevelopment function from mattermost-plugin-api.

Ticket Link

https://mattermost.atlassian.net/browse/MM-36587

This is the result of running
go get github.com/mattermost/mattermost-plugin-api@master
which in turn ended up upgrading a bunch of the dependencies
@agarciamontoro agarciamontoro added the 2: Dev Review Requires review by a core committer label Jun 21, 2021
Comment on lines -25 to +26
"linux-amd64": "server/dist/plugin-linux-amd64",
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"linux-amd64": "server/dist/plugin-linux-amd64",
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure why this got changed with make apply, but the linter was complaining that I had to run it 🤷

@@ -1,36 +0,0 @@
package main
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed this file because this is already tested in the mattermost-plugin-api, so it would be just duplicated code.

@agarciamontoro agarciamontoro added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Jun 22, 2021
@agarciamontoro
Copy link
Member Author

Skipping QA, we have good coverage with the tests, and the core functionality, coming from mattermost-plugin-api, is already being used in Incident Collaboration.

@agarciamontoro agarciamontoro merged commit a4b9718 into master Jun 22, 2021
@agarciamontoro agarciamontoro deleted the MM-36587.enable-development branch June 22, 2021 14:44
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants