0.0.27 • Published 2 months ago

ep_git_commit_saved_revision v0.0.27

Weekly downloads
58
License
-
Repository
github
Last release
2 months ago

Publish Status Backend Tests Status

Saved Revision Hooks

Perform tasks when you hit saved revision.

Example Settings.json for committing to git

  /*
    Available variables to plugin are:
    * padId = The ID of the Pad you are working on IE "foo"
    * message = the message IE "Hello world"
    * path = The path defined in the settings blob
  */
  "ep_git_commit_saved_revision":{
    "path":"/home/jose/develop/var/git",
    "initCommand":"git init ${path}",
    "saveCommand":"git -C \"${path}\" add \"${padId}.txt\" && git -C \"${path}\" commit -m \"${message}\""
  }

Installation

  1. Install using http://%youretherpad%/admin/plugins or npm install ep_git_commit_saved_revision
  2. Copy / paste above settings example into the bottom of settings.json

TODO

  • i18n support
  • Clean up
  • More hook example

License

Apache 2

0.0.27

2 months ago

0.0.25

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago