Compare commits

...

10 commits

Author SHA1 Message Date
Dmitriy Zaporozhets 8b761574bd fix gollum 2013-03-30 16:37:41 +02:00
Dmitriy Zaporozhets 34136d381f Use latest gitlab-grit fork to prevent gollum override gitlab-grit. Fixes issues related to gpg signed commits and other fixes from gitlab/grit fork 2013-03-30 13:14:19 +02:00
Dmitriy Zaporozhets 65156e3693 Merge pull request #3441 from Finkregh/patch-2
switch gitlab-shell to correct version
2013-03-30 04:06:29 -07:00
Oluf Lorenzen 6a09b21df6 switch gitlab-shell to correct version
a gitlab:check does say that you need v1.1.0 of gitlab-shell...
2013-03-28 18:53:26 +01:00
Saito 4606380316 Merge pull request #3367 from koenpunt/patch-1
Fixed typo
2013-03-25 10:03:41 -07:00
Koen Punt 017c19bbe4 Fixed type 2013-03-25 12:00:57 +01:00
Dmitriy Zaporozhets 0c7f426037 fix xss issue in blame 2013-03-22 18:53:01 +02:00
Dmitriy Zaporozhets 5c49cf6ca1 fix blame view head nav 2013-03-22 15:13:14 +02:00
Dmitriy Zaporozhets 0e4b2395a9 Fix lines and line numbers being squashed in File -> blame 2013-03-22 15:12:42 +02:00
Dmitriy Zaporozhets ef968fd0c8 fix commit-description css on commit.show 2013-03-22 09:35:14 +02:00
6 changed files with 30 additions and 19 deletions

View file

@ -22,7 +22,8 @@ gem 'omniauth-twitter'
gem 'omniauth-github'
# Extracting information from a git repository
gem "gitlab-grit", '~> 1.0.0', require: 'grit'
# Since gollum requires grit we cannot use gitlab-grit gem name any more. Use grit instead
gem "grit", '~> 2.5.0', git: 'https://github.com/gitlabhq/grit.git', ref: 'c40a32432616a07fa7fc3c32c24ab73ad6a9718f'
gem 'grit_ext', '~> 0.6.2'
# Ruby/Rack Git Smart-HTTP Server Handler

View file

@ -23,6 +23,16 @@ GIT
activerecord (>= 2.3.0)
rake (>= 0.8.7)
GIT
remote: https://github.com/gitlabhq/grit.git
revision: c40a32432616a07fa7fc3c32c24ab73ad6a9718f
ref: c40a32432616a07fa7fc3c32c24ab73ad6a9718f
specs:
grit (2.5.0)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
posix-spawn (~> 0.3.6)
GIT
remote: https://github.com/gitlabhq/raphael-rails.git
revision: cb2c92a040b9b941a5f1aa1ea866cc26e944fe58
@ -166,10 +176,6 @@ GEM
github-markup (0.7.5)
gitlab-grack (1.0.0)
rack (~> 1.4.1)
gitlab-grit (1.0.0)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
posix-spawn (~> 0.3.6)
gitlab-pygments.rb (0.3.2)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
@ -194,10 +200,6 @@ GEM
grape-entity (0.2.0)
activesupport
multi_json (>= 1.3.2)
grit (2.5.0)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
posix-spawn (~> 0.3.6)
grit_ext (0.6.2)
charlock_holmes (~> 0.6.9)
growl (1.0.3)
@ -521,7 +523,6 @@ DEPENDENCIES
github-linguist (~> 2.3.4)
github-markup (~> 0.7.4)
gitlab-grack (~> 1.0.0)
gitlab-grit (~> 1.0.0)
gitlab-pygments.rb (~> 0.3.2)
gitlab_meta (= 5.0)
gitlab_omniauth-ldap (= 1.0.2)
@ -530,6 +531,7 @@ DEPENDENCIES
gon
grape (~> 0.3.1)
grape-entity (~> 0.2.0)
grit (~> 2.5.0)!
grit_ext (~> 0.6.2)
growl
guard-rspec

View file

@ -413,3 +413,9 @@
padding: 4px;
background-color: #EEE;
}
.commit-description {
background: none;
border: none;
margin: 0;
}

View file

@ -1,7 +1,2 @@
%ul.nav.nav-tabs
%li
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
= nav_link(controller: :refs) do
= link_to 'Source', project_tree_path(@project, @ref)
%li.pull-right
= render "shared/clone_panel"
%div.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: params[:path]

View file

@ -3,7 +3,7 @@
#tree-holder.tree-holder
%ul.breadcrumb
%li
%span.arrow
%i.icon-angle-right
= link_to project_tree_path(@project, @ref) do
= @project.name
- @tree.breadcrumbs(6) do |link|
@ -39,8 +39,10 @@
- else
- lines.each do |line|
= current_line
\
- current_line += 1
%td.lines
%pre
- lines.each do |line|
= line
\

View file

@ -1,6 +1,6 @@
This installation guide was created for Debian/Ubuntu and tested on it. Please read [`doc/install/requirements.md`](./requirements.md) for hardware and platform requirements.
This installation guide is recommended to set up a production server. If you want a development environment please use the [Vargrant virtual machine](https://github.com/gitlabhq/gitlab-vagrant-vm) since it makes it much easier to set up all the dependencies for integration testing.
This installation guide is recommended to set up a production server. If you want a development environment please use the [Vagrant virtual machine](https://github.com/gitlabhq/gitlab-vagrant-vm) since it makes it much easier to set up all the dependencies for integration testing.
**Important Note:**
The following steps have been known to work.
@ -106,6 +106,11 @@ GitLab Shell is a ssh access and repository management software developed specia
git clone https://github.com/gitlabhq/gitlab-shell.git
cd gitlab-shell
# switch to right version for v5.0
git checkout v1.1.0
git checkout -b v1.1.0
cp config.yml.example config.yml
# Edit config and replace gitlab_url