Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksdaemon/redmine-git-repo-hook
Scripts for updating redmine repo info on git post-receive hook
https://github.com/ksdaemon/redmine-git-repo-hook
Last synced: about 2 months ago
JSON representation
Scripts for updating redmine repo info on git post-receive hook
- Host: GitHub
- URL: https://github.com/ksdaemon/redmine-git-repo-hook
- Owner: KSDaemon
- License: mit
- Created: 2014-01-31T19:20:29.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-07T14:00:24.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T07:11:34.223Z (8 months ago)
- Language: PHP
- Size: 133 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
redmine-git-repo-hook
=====================Scripts for updating redmine repo info on git post-receive hook in gitlab (also works for any git repo).
About
-----This pair of scripts allows you to execute any shell commands on remote server when git post-receive hook is fired. The main goal is to notify redmine about changes in git repositories, which are connected to redmine projects. But you can use it for any other tasks :)
Usage
-----1. Place a "post-receive" shell script in your repo .git/hooks/ directory (or use symlink in case of more than one repo) on repository server
2. Place config.ini and pr-hook.php in one place on redmine server accessible via http
3. Edit "post-receive" shell script and change url to one, configured for step 2
4. Edit config.ini to meet your need###### Some remarks:
Git repositories on redmine host need to be already initialized.