0.0.27 • Published 1 year ago

ep_git_commit_saved_revision v0.0.27

Weekly downloads
58
License
-
Repository
github
Last release
1 year 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

1 year ago

0.0.25

3 years ago

0.0.22

3 years ago

0.0.23

3 years ago

0.0.24

3 years ago

0.0.20

4 years ago

0.0.21

3 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.8

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago