Commit 1269f3ae authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'master' of github.com:gitlabhq/gitlab-shell

parents 0bd0f069 fbaf8d8c
...@@ -29,6 +29,6 @@ v1.1.0 ...@@ -29,6 +29,6 @@ v1.1.0
v1.0.4 v1.0.4
- requires gitlab c9ca15e - requires gitlab c9ca15e
- dont use post-receive file any more. Make all updates in update - don't use post-receive file any more. Make all updates in update
- fixed issue with invalid GL_USER - fixed issue with invalid GL_USER
- use GL_ID instead of GL_USER - use GL_ID instead of GL_USER
...@@ -72,7 +72,7 @@ Remove key ...@@ -72,7 +72,7 @@ Remove key
./bin/gitlab-keys rm-key key-23 "ssh-rsa AAAAx321..." ./bin/gitlab-keys rm-key key-23 "ssh-rsa AAAAx321..."
Remoev all keys from authorized_keys file Remove all keys from authorized_keys file
./bin/gitlab-keys clear ./bin/gitlab-keys clear
...@@ -88,7 +88,7 @@ class GitlabProjects ...@@ -88,7 +88,7 @@ class GitlabProjects
end end
# Import project via git clone --bare # Import project via git clone --bare
# URL must be publicly clonable # URL must be publicly cloneable
def import_project def import_project
@source = ARGV.shift @source = ARGV.shift
$logger.info "Importing project #{@project_name} from <#{@source}> to <#{full_path}>." $logger.info "Importing project #{@project_name} from <#{@source}> to <#{full_path}>."
......
...@@ -27,7 +27,7 @@ class GitlabUpdate ...@@ -27,7 +27,7 @@ class GitlabUpdate
ENV['GL_ID'] = nil ENV['GL_ID'] = nil
# If its push over ssh # If its push over ssh
# we need to check user persmission per branch first # we need to check user permission per branch first
if ssh? if ssh?
if api.allowed?('git-receive-pack', @repo_name, @key_id, @branch_name) if api.allowed?('git-receive-pack', @repo_name, @key_id, @branch_name)
update_redis update_redis
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment