Skip to content

lpirl/redmine_scm_hookhelpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redmine_scm_hookhelpers

Helpers for commit hook scripts.

This plugin is tested with Redmine version up to 3.3.1 there is a branch for Redmine 2. If you find [in]compatibilities, please consider contributing a pull request

description

Redmine offers a web service for repositories. This can be used - for example - to fetch all commits for all repositories. Once your installation grows, this will get horribly inefficient. This plugin provides an extensions to the native web services API to fetch commits for specific repositories only.

Additionally to the parameters mentioned here, you can specify a root_url that is matched against the root URLs of all repositories. Only the commits for the matching repositories will be fetched then.

example

Assume you want to fetch the changesets for the repository stored in /var/repositories/git/administration.test.git. Then you simply would do a GET request on http://<redmine_url>/sys/fetch_changesets?root_url=%2Fvar%2Frepositories%2Fgit%2Ftest.git&key=<WS_key>.

Ah, now you ask "why a local path?". Because you want to install post-commit hooks on the server like described here.

installation

Just follow the plugin installation procedure at http://www.redmine.org/projects/redmine/wiki/Plugins#Installing-a-plugin.

About

Helpers for commit hooks when using the Redmine SCM plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published