app/models/repository/gitolite.rb
##
# Create local managed repository request when the built instance
# is managed by OpenProject
Create local managed repository request when the built instance
is managed by OpenProject
Create local managed repository request when the built instance is managed by OpenProject
def create_managed_repository
    OpenProject::Gitolite::GitoliteWrapper.update(:add_repository, self)
  rescue => e
    Rails.logger.error("Error while adding repository #{repository_identifier}: #{e.message}")
    raise OpenProject::Scm::Exceptions::RepositoryBuildError.new(
      I18n.t('repositories.gitolite.cannot_add_repository')
    )
  end
def create_managed_repository OpenProject :: Gitolite :: GitoliteWrapper . update ( :add_repository , self ) rescue => e Rails . logger . error ( "Error while adding repository #{repository_identifier}: #{e.message}" ) raise OpenProject :: Scm :: Exceptions :: RepositoryBuildError . new ( I18n . t ( 'repositories.gitolite.cannot_add_repository' ) ) end
Create local managed repository request when the built instance
is managed by OpenProject
Create local managed repository request when the built instance is managed by OpenProject