Mattermost Logo
Edit on GitHub

Example Plugins

See here for server-specific best practices for plugins. Webapp-specific best practices are incoming.

How can I review the entire code base of a plugin? 

Carry out the following steps:

  1. Take a backup of project directory
  2. Create a dummy-master branch with no code:
   git checkout --orphan dummy-master
   git rm -rf
   git push origin dummy-master
  1. Create a dummy-review branch from dummy-master:
   git checkout -b dummy-review
   git add
   git commit -m "Full checkin"
   git push origin dummy-review
  1. Create a PR from dummy-review -> dummy-master

  2. Code review on the resulting PR