Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.75 KB

README.md

File metadata and controls

52 lines (29 loc) · 1.75 KB

Redmine plugin - Git Server

This Redmine plugin lets your users pull and push to/from your git repositories hosted on Redmine with HTTP - without any complex setup.

Under the hood, it relies on Grack, a Ruby/Rack Git Smart HTTP Server Handler.

Screenshot

redmine_git_server example

Installation

This plugin is tested with Redmine 4.1+ (but it could be compatible with other versions).

Please apply general instructions for plugins here.

Note that this plugin depends on this other plugin:

  • redmine_base_deface here

First download the source or clone the plugin and put it in the "plugins/" directory of your redmine instance. Note that this is crucial that the directory is named 'redmine_git_server'!

Then execute:

$ bundle install
$ rake redmine:plugins

And finally restart your Redmine instance.

Permissions

  • Git Server > Enable git server : allows a user to enable/disable the project module "Git Server"
  • (Redmine built-in) Repository > View changesets : allows a user to fetch changesets (pull) from a repository
  • (Redmine built-in) Repository > Commit access : allows a user to push to a repository

Alternatives

  • redmine_git_hosting - based on Gitolite, this plugin offer a lot more features but it is also more complex to setup.

Known issues

Puma 3.7 which is currently bundled with Redmine has an issue with chunked uploads. You can upgrade to Puma 4.3 or configure git locally to avoid chunked uploads (eg. git config --global http.postBuffer 524288000)