Merge branch 'master' of dev.gitlabhq.com:gitlabhq
This commit is contained in:
commit
7ebba27db2
|
@ -71,6 +71,10 @@ ssh-keygen -t rsa
|
|||
sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub
|
||||
|
||||
sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
|
||||
|
||||
cd /tmp && git clone git@localhost:gitosis-admin.git
|
||||
|
||||
rm -rf gitosis-admin.git && cd
|
||||
```
|
||||
|
||||
## Install ruby 1.9.2
|
||||
|
|
|
@ -8,7 +8,7 @@ class Key < ActiveRecord::Base
|
|||
validates :key,
|
||||
:presence => true,
|
||||
:uniqueness => true,
|
||||
:length => { :within => 0..1600 }
|
||||
:length => { :within => 0..5000 }
|
||||
|
||||
before_save :set_identifier
|
||||
after_save :update_gitosis
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
:plain
|
||||
$("#new_key_dialog").dialog("close");
|
||||
$("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}");
|
||||
$("#no_ssh_key_defined").hide();
|
||||
- else
|
||||
:plain
|
||||
$("#new_key_dialog").empty();
|
||||
|
|
Loading…
Reference in a new issue