From 1a5f1bc2d2dd92dbda88a350b01f55b3a121513d Mon Sep 17 00:00:00 2001 From: Michael Kochell Date: Mon, 24 Jun 2019 22:02:25 -0400 Subject: [PATCH] =?UTF-8?q?[MM-14189]=20Update=20references=20to=20"matter?= =?UTF-8?q?most-plugin-sample"=20to=20be=E2=80=A6=20(#47)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Repo name changed --- README.md | 4 ++-- go.mod | 2 +- plugin.json | 4 ++-- public/hello.html | 2 +- server/manifest.go | 2 +- webapp/src/manifest.js | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0a08b68..0a97c6c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Sample Plugin ![CircleCI branch](https://img.shields.io/circleci/project/github/mattermost/mattermost-plugin-sample/master.svg) +# Plugin Starter Template ![CircleCI branch](https://img.shields.io/circleci/project/github/mattermost/mattermost-plugin-starter-template/master.svg) This plugin serves as a starting point for writing a Mattermost plugin. Feel free to base your own plugin off this repository. @@ -9,7 +9,7 @@ Use GitHub's template feature to make a copy of this repository by clicking the Alternatively shallow clone the repository to a directory outside of `$GOPATH` matching your plugin name: ``` -git clone --depth 1 https://github.com/mattermost/mattermost-plugin-sample com.example.my-plugin +git clone --depth 1 https://github.com/mattermost/mattermost-plugin-starter-template com.example.my-plugin ``` Note that this project uses [Go modules](https://github.com/golang/go/wiki/Modules). Be sure to locate the project outside of `$GOPATH`, or allow the use of Go modules within your `$GOPATH` with an `export GO111MODULE=on`. diff --git a/go.mod b/go.mod index e29dd90..fe2e779 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mattermost/mattermost-plugin-sample +module github.com/mattermost/mattermost-plugin-starter-template go 1.12 diff --git a/plugin.json b/plugin.json index 41effe7..b5b9a76 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { - "id": "com.mattermost.sample-plugin", - "name": "Sample Plugin", + "id": "com.mattermost.plugin-starter-template", + "name": "Plugin Starter Template", "description": "This plugin serves as a starting point for writing a Mattermost plugin.", "version": "0.1.0", "min_server_version": "5.12.0", diff --git a/public/hello.html b/public/hello.html index 9bd0807..7d6ba4a 100644 --- a/public/hello.html +++ b/public/hello.html @@ -1 +1 @@ -Hello from the static files public folder for the com.mattermost.sample-plugin plugin! \ No newline at end of file +Hello from the static files public folder for the com.mattermost.plugin-starter-template plugin! diff --git a/server/manifest.go b/server/manifest.go index a4f4f56..19a2ccd 100644 --- a/server/manifest.go +++ b/server/manifest.go @@ -4,6 +4,6 @@ var manifest = struct { ID string Version string }{ - ID: "com.mattermost.sample-plugin", + ID: "com.mattermost.plugin-starter-template", Version: "0.1.0", } diff --git a/webapp/src/manifest.js b/webapp/src/manifest.js index 0dd37aa..a1eefd4 100644 --- a/webapp/src/manifest.js +++ b/webapp/src/manifest.js @@ -1,2 +1,2 @@ -export const id = 'com.mattermost.sample-plugin'; +export const id = 'com.mattermost.plugin-starter-template'; export const version = '0.1.0';