Welcome to mirror list, hosted at ThFree Co, Russian Federation.

5_backend.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed88c8ee1b827d043d1cb2a815112a3280a5a982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# GIT over SSH
require_dependency Rails.root.join('lib/gitlab/backend/shell')

# GitLab shell adapter
require_dependency Rails.root.join('lib/gitlab/backend/shell_adapter')

required_version = Gitlab::VersionInfo.parse(Gitlab::Shell.version_required)
current_version = Gitlab::VersionInfo.parse(Gitlab::Shell.new.version)

unless current_version.valid? && required_version <= current_version
  warn "WARNING: This version of GitLab depends on gitlab-shell #{required_version}, but you're running #{current_version}. Please update gitlab-shell."
end