Skip to content

chantra/redmine_gitrevision_download

Repository files navigation

Git Revision Download

Redmine GitRevision Download is a Redmine plugin that adds a download link to the git repository browser, allowing users to download a snapshot at a given revision.

It is translated in:

  • English

  • French

  • German

  • Spanish

  • Catalan

  • Traditional/Simplified Chinese

  • Russian

  • Dutch

  • Italian

Author

  • Emmanuel Bretelle aka chantra <chantra_-AT-debuntu-DOT-_org>

Changelog

For the complete changelog see the Changelog-file in the Redmine GitRevision Download

Latest stable release

The currently available, latest stable release of the plugin is version 0.0.8.

Compatibility

This plugin is compatible with Redmine 0.9.x, 1.0.X, 1.1.X and 1.2.X as well as with the current Redmine trunk.

Requirement

This plugin depends on ruby gem grit You can install it with: gem install grit

People running Redmine on windows will also need to install win32-open3 : see redmine.debuntu.org/issues/3#note-1

Obtaining

URL of the GitHub repository: http://github.com/chantra/redmine_gitrevision_download/tree/master

The source of this plugin can be “cloned” from the GitHub-repo using:

$ cd {RAILS_ROOT}/vendor/plugins && git clone git://github.com/chantra/redmine_gitrevision_download.git

Installation

  • Download the plugin from the available source github.com/chantra/redmine_gitrevision_download/downloads

  • Install the plugin as described at: www.redmine.org/wiki/redmine/Plugins in a nutshell run: rake db:migrate_plugins RAILS_ENV=production

  • If running redmine 0.9.X, you might need to change the symlink of app/views/repositories/revision.rhtml from app/views/repositories/revision.rhtml.redmine-1.2 to app/views/repositories/revision.rhtml.redmine-0.9

  • Restart Redmine

Configuration

  • Go to myredmine.url/roles/report and change permission as see fit

  • Enable the module on a per project basis through Settings -> Module

  • Go to myredmine.url/admin/plugins and configure Gitrevision plugin

  • Change timeout (in seconds), max size of git archive (in bytes) and gzipping options to your needs

Uninstalling

  • Remove the directory “redmine_gitrevision_download” from the plugin-directory “../vendor/plugins”

  • Restart Redmine

Licensing

This plugin is open-source and licensed under the “GNU General Public License v2” (GPL, www.gnu.org/licenses/old-licenses/gpl-2.0.html). See the included GPL.txt and LICENSE.txt files for details.

  • ©2009, Emmanuel Bretelle aka chantra

Support

If you would like to report a bug or request a new feature you can open a new issue at the issue-tracking section of the plugins: redmine.debuntu.org/projects/gitrevision-download/issues/new.

As an alternative you can also join the #redmine channel on the “freenode IRC network” (freenode.net/irc_servers.shtml) to see if there is anyone who can provide some support.