The Graphical Git reporsitory Viewer
JavaScript Ruby CSS CoffeeScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
doc
lib/tasks
public
script
spec
vendor/plugins
.gitignore
.rspec
.rvmrc
Dockerfile
Gemfile
Gemfile.lock
LICENSE.txt
README.markdown
Rakefile
config.ru

README.markdown

Gitterb The Graphical Git Repository Viewer.

The Graphical Git reporsitory Viewer.

DEMO Site is HERE

Setup

Install dependencies gems using Bundler.

gem install bundler # if you haven't
bundle install --path=vendor/bundle --binstubs=vendor/bin

copy config/iniproperties/repositories.rb.sample to config/initializers/repositories.rb

cp config/initializers/repositories.rb.sample config/initializers/repositories.rb

and edit config/initializers/repositories.rb and specify git reporsitory path(absolute path) .

Rails.application.config.repositories = [ # set reporsitory path(absolute path). Repository.new('/path/to/yoru_repository_1)',

# set repositoy pass and some options(name, issue trackers url and revisions url...).
Gitterb::Application.add_repository( '/path/to/repository2',
  :name => 'repo_name2',
  :ticket_url => 'http://redmine.example.com/issues/%s',
  :rev_url => 'http://redmine.example.com/projects/someproject/repository/revisions/%s'
),

]

start server and visit 'http://localhsost:3000'

rails s

Usage and Screen shots

The commit-tree of the master branch is displayed first. A round figure shows Commit object. 100 Commits from master's HEAD is displayed, and Branch/tag that can reach to master's commits displayed is additionally output, too.

to change forcused branch from 'master', select the branch at header's pulldown. turn off the 'all' checkbox, then other branch's Commits are hidden. max-count is maximum number of commits to output.

when the mouse over on Commit, the commit summary is popuped. and click commit, details shown left or right side. double click on the details area, it's to be hide.

Docker Image

A Docker Image for this application is distributed HERE

docker pull yuroyoro/gitterb
docker run -d -p 3000:3000 -t yuroyoro/gitterb

If you use boot2docker, You should connect to the container via ssh portforwading on boot2docker virtual machine.

ssh -N -L 3000:127.0.0.1:3000 docker@localhost -p 2022

License

Copyright (c) 2011 Tomohito Ozaki(yuroyoro).

Released under the Lesser GNU Public License (LGPL).

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.