On-Commit Commands

Clone this repo:


  1. fed017d Allow for a yaml list of command arguments to run by Daniel Gruno · 2 weeks ago main
  2. c36ae6d optimize branching by Daniel Gruno · 2 weeks ago
  3. f1cbde6 Refactor: Have run_as catch the four known cases and relay as a unified CommandException by Daniel Gruno · 2 weeks ago
  4. 9f129b0 Allow running commands as a separate user by Daniel Gruno · 2 weeks ago
  5. 172efab Rename occ.yaml to occ.yaml.sample by Daniel Gruno · 2 weeks ago


On-Commit Commands

Simple daemon that runs commands when a commit to a certain source has happened.

Sample occ.yaml config:

  url: https://pubsub.apache.org:2070/commit
  user: user
  pass: pass

    topics: git/commit/some-git-repo-name
    oncommit: /x1/git/run-git-trigger.sh
    blamelist: notify@example.org
    blamesubject: Git trigger failure
    topics: svn/commit/somedir
    changedir: some/subdir
    oncommit: /x1/git/run-svn-trigger.sh
    blamelist: notify@example.org
    blamesubject: Subversion trigger failure