app/models/repository/gitolite.rb
##
# Destroy local managed repository request when the built instance
# is managed by OpenProject
Destroy local managed repository request when the built instance
is managed by OpenProject
Destroy local managed repository request when the built instance is managed by OpenProject
def delete_managed_repository
    OpenProject::Gitolite::GitoliteWrapper.logger.info("User '#{User.current.login}'
      has removed repository '#{repository_identifier}'")
    repository_data = {
      name: gitolite_repository_name,
      absolute_path: managed_repository_path,
      relative_path: repository_identifier
    }
    OpenProject::Gitolite::GitoliteWrapper.update(:delete_repositories, [repository_data])
  end
def delete_managed_repository OpenProject :: Gitolite :: GitoliteWrapper . logger . info ( "User '#{User.current.login}'
      has removed repository '#{repository_identifier}'" ) repository_data = { name : gitolite_repository_name , absolute_path : managed_repository_path , relative_path : repository_identifier } OpenProject :: Gitolite :: GitoliteWrapper . update ( :delete_repositories , [ repository_data ] ) end
Destroy local managed repository request when the built instance
is managed by OpenProject
Destroy local managed repository request when the built instance is managed by OpenProject