Merge pull request #6227 from jojosch/remove-python-doc
remove remaining python references
This commit is contained in:
commit
c573265891
2 changed files with 1 additions and 47 deletions
|
@ -30,7 +30,7 @@ To summarize here's the [directory structure of the `git` user home directory](.
|
|||
|
||||
ps aux | grep '^git'
|
||||
|
||||
GitLab has several components to operate. As a system user (i.e. any user that is not the `git` user) it requires a persistent database (MySQL/PostreSQL) and redis database. It also uses Apache httpd or nginx to proxypass Unicorn. As the `git` user it starts Sidekiq and Unicorn (a simple ruby HTTP server running on port `8080` by default). Under the gitlab user there are normally 6 processes: `unicorn_rails master` (1 process), `unicorn_rails worker` (2 processes), `python pygments` (2 processes), `sidekiq` (1 process). Pygments is used by GitLab for syntax highlighting in the web interface.
|
||||
GitLab has several components to operate. As a system user (i.e. any user that is not the `git` user) it requires a persistent database (MySQL/PostreSQL) and redis database. It also uses Apache httpd or nginx to proxypass Unicorn. As the `git` user it starts Sidekiq and Unicorn (a simple ruby HTTP server running on port `8080` by default). Under the gitlab user there are normally 4 processes: `unicorn_rails master` (1 process), `unicorn_rails worker` (2 processes), `sidekiq` (1 process).
|
||||
|
||||
## Repository access
|
||||
|
||||
|
|
|
@ -312,52 +312,6 @@ namespace :gitlab do
|
|||
fix_and_rerun
|
||||
end
|
||||
end
|
||||
|
||||
def check_python2_exists
|
||||
print "Has python2? ... "
|
||||
|
||||
# Python prints its version to STDERR
|
||||
# so we can't just use run("python2 --version")
|
||||
if run_and_match("which python2", /python2$/)
|
||||
puts "yes".green
|
||||
else
|
||||
puts "no".red
|
||||
try_fixing_it(
|
||||
"Make sure you have Python 2.5+ installed",
|
||||
"Link it to python2"
|
||||
)
|
||||
for_more_information(
|
||||
see_installation_guide_section "Packages / Dependencies"
|
||||
)
|
||||
fix_and_rerun
|
||||
end
|
||||
end
|
||||
|
||||
def check_python2_version
|
||||
print "python2 is supported version? ... "
|
||||
|
||||
# Python prints its version to STDERR
|
||||
# so we can't just use run("python2 --version")
|
||||
|
||||
unless run_and_match("which python2", /python2$/)
|
||||
puts "can't check because of previous errors".magenta
|
||||
return
|
||||
end
|
||||
|
||||
if `python2 --version 2>&1` =~ /2\.[567]\.\d/
|
||||
puts "yes".green
|
||||
else
|
||||
puts "no".red
|
||||
try_fixing_it(
|
||||
"Make sure you have Python 2.5+ installed",
|
||||
"Link it to python2"
|
||||
)
|
||||
for_more_information(
|
||||
see_installation_guide_section "Packages / Dependencies"
|
||||
)
|
||||
fix_and_rerun
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue