-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
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
"linux-amd64": "server/dist/plugin-linux-amd64", | ||
"darwin-amd64": "server/dist/plugin-darwin-amd64", | ||
"linux-amd64": "server/dist/plugin-linux-amd64", |
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.
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 |
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.
Removed this file because this is already tested in the mattermost-plugin-api, so it would be just duplicated code.
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. |
Summary
Although the README states that this plugin can be used without an E20 license, provided that the
EnableTesting
andEnableDeveloper
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