module
Version:
v0.2.4
Opens a new window with list of versions in this module.
Published: Jan 23, 2025
License: Apache-2.0
Opens a new window with license information.
README
¶
Parabol Mattermost Plugin
WIP
This plugin is still work in progress and not yet ready for production use.
Requirements
- Mattermost version 10.1 or later
- Parabol version 8.4.0 or later
SiteURL
If the SiteURL
is not set correctly, some functions like notifications will not work.
- SSO identity provider for both Mattermost and Parabol
Development
- Create a
.env
file in the root of the project:
cp .env.example .env
- Start up a Mattermost development server
make start-server
go to http://localhost:8065 and do the initial setup. Create a personal access token
and set the environment variable MM_ADMIN_TOKEN
to the token value.
- Run
make watch
to start the plugin in development mode. This will watch for webapp changes and automatically rebuild the plugin.
- Configure the plugin in mattermost, go to System Console -> Plugins -> Parabol and enter
Releasing new versions
The version of a plugin is determined at compile time, automatically populating a version
field in the plugin manifest:
- If the current commit matches a tag, the version will match after stripping any leading
v
, e.g. 1.3.1
.
- Otherwise, the version will combine the nearest tag with
git rev-parse --short HEAD
, e.g. 1.3.1+d06e53e1
.
- If there is no version tag, an empty version will be combined with the short hash, e.g.
0.0.0+76081421
.
To disable this behaviour, manually populate and maintain the version
field.
How to Release
To trigger a release, follow these steps:
-
For Patch Release: Run the following command:
make patch
This will release a patch change.
-
For Minor Release: Run the following command:
make minor
This will release a minor change.
-
For Major Release: Run the following command:
make major
This will release a major change.
-
For Patch Release Candidate (RC): Run the following command:
make patch-rc
This will release a patch release candidate.
-
For Minor Release Candidate (RC): Run the following command:
make minor-rc
This will release a minor release candidate.
-
For Major Release Candidate (RC): Run the following command:
make major-rc
This will release a major release candidate.
Directories
¶
build
|
|
|
|
pluginctl
main handles deployment of the plugin to a development server using the Client4 API.
|
main handles deployment of the plugin to a development server using the Client4 API. |
|
|
Click to show internal directories.
Click to hide internal directories.