This is a fork of @tleish's Redmine plugin "Redmine Remote Revision URL" (GitHub, Redmine) which was discontinued in 2020.
The "Redmine Remote Revision URL" plugin adds a revision link to a remote website to see more details on a commit/revision. This allows a user to quickly jump to the associated GitHub, GitLab, Bitbucket or any other code hosting platform, and extend the current functionality of Redmine revisions.
The latest version on master
branch supports Redmine 4.0 only!
A Redmine 3.4.x compatible version can be found on the redmine-3.4 branch.
$ cd redmine/plugins
$ git clone https://github.com/paginagmbh/redmine_remote_revision_url
Then run the following command for database migration
$ rake redmine:plugins NAME=redmine_remote_revision_url RAILS_ENV=production
Restart Redmine
To start using you must Add/Edit a Remote Revision URL for each repository. Go to Project > Settings > Repositories > Edit (or New Repository). Insert :revision in the URL where the revision identifier should appear (e.g. https://website.com/my/project/commit/*:revision*).
Optionally, you can also add Custom link text. If left blank, defaults to domain name in Remote Revision URL.
Globally configure remote revision url links to replace exising link or to open in a new tab/window (default is current window).
redmine_remote_revision_url plugin is developed under the MIT License.