mattermost / mattermost-plugin-starter-template

Build scripts and templates for writing Mattermost plugins.
https://developers.mattermost.com/extend/plugins/
Apache License 2.0
129 stars 120 forks source link

[MM-26997] Use socket API to deploy plugins, if available #108

Closed mickmister closed 4 years ago

mickmister commented 4 years ago

Summary

This PR makes it so if a local Mattermost server is listening on a unix socket, the plugin deploy scripts will use the local mode API instead of authenticating as a user. This makes it much easier to set up a development environment for working with plugins.

Ticket Link

Fixes https://github.com/mattermost/mattermost-plugin-starter-template/issues/107 https://mattermost.atlassian.net/jira/software/c/projects/MM/issues/MM-26997

mickmister commented 4 years ago

@mgdelacroix Ping on this. This is (I think 🙂) the last major change before I sync this repo with all of the other plugin repos.