# infrastructure-occ **Repository Path**: mirrors_apache/infrastructure-occ ## Basic Information - **Project Name**: infrastructure-occ - **Description**: On-Commit Commands - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-17 - **Last Updated**: 2025-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # infrastructure-occ On-Commit Commands Simple daemon that runs commands when a commit to a certain source has happened. Sample `occ.yaml` config: ~~~yaml pubsub: url: https://pubsub.apache.org:2070/commit user: user pass: pass subscriptions: git-change: topics: git/commit/some-git-repo-name oncommit: [/x1/git/run-git-trigger.sh, $branch, $hash] blamelist: notify@example.org blamesubject: Git trigger failure runas: username (optional) skiprest: true (optional - don't process any further commands matching this commit) svn-change-in-dir: topics: svn/commit/somedir changedir: some/subdir oncommit: /x1/git/run-svn-trigger.sh blamelist: notify@example.org blamesubject: Subversion trigger failure ~~~