Skip to content

This is a plugin for Redmine allowing to serve the git repositories through the http connection, fork to support Redmine 5.0

License

Notifications You must be signed in to change notification settings

AndreySolod/redmine_git_server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The original developer of the plugin is voondo. I just modified this plugin a little.

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 5.0+ (but it could be compatible with other versions).

Please apply general instructions for plugins 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
$ RAILS_ENV=production bundle exec rake redmine:plugins:migrate

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)

About

This is a plugin for Redmine allowing to serve the git repositories through the http connection, fork to support Redmine 5.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 62.4%
  • HTML 22.2%
  • CSS 10.0%
  • JavaScript 5.4%