Merge branch 'master' of github.com:warpc/rosa-build
This commit is contained in:
commit
1bb58f5bd4
|
@ -29,10 +29,10 @@ class Project < ActiveRecord::Base
|
||||||
scope :addable_to_repository, lambda { |repository_id| where("projects.id NOT IN (SELECT project_to_repositories.project_id FROM project_to_repositories WHERE (project_to_repositories.repository_id != #{ repository_id }))") }
|
scope :addable_to_repository, lambda { |repository_id| where("projects.id NOT IN (SELECT project_to_repositories.project_id FROM project_to_repositories WHERE (project_to_repositories.repository_id != #{ repository_id }))") }
|
||||||
|
|
||||||
before_create :make_owner_rel
|
before_create :make_owner_rel
|
||||||
before_create :create_git_repo
|
|
||||||
before_update :update_git_repo
|
|
||||||
before_destroy :destroy_git_repo
|
|
||||||
after_create :attach_to_personal_repository
|
after_create :attach_to_personal_repository
|
||||||
|
after_create :create_git_repo
|
||||||
|
before_update :update_git_repo
|
||||||
|
after_destroy :destroy_git_repo
|
||||||
|
|
||||||
def project_versions
|
def project_versions
|
||||||
self.git_repository.tags
|
self.git_repository.tags
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* git clone git://github.com/sitaramc/gitolite
|
* git clone git://github.com/sitaramc/gitolite
|
||||||
* cd gitolite
|
* cd gitolite
|
||||||
* src/gl-system-install
|
* src/gl-system-install
|
||||||
* gl-setup /tmp/ga_admin.pub
|
* gl-setup ~/ga_admin.pub # /tmp/ga_admin.pub
|
||||||
|
|
||||||
--------------- Settings for .gitolite.rc during install
|
--------------- Settings for .gitolite.rc during install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue