mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
parent
23e34fb71b
commit
8f872dc8bc
8 changed files with 127 additions and 80 deletions
|
@ -449,13 +449,15 @@ in {
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
TimeoutSec = "300";
|
TimeoutSec = "300";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
WorkingDirectory = gitlabEnv.HOME;
|
||||||
ExecStart =
|
ExecStart =
|
||||||
"${cfg.packages.gitlab-workhorse}/bin/gitlab-workhorse "
|
"${cfg.packages.gitlab-workhorse}/bin/gitlab-workhorse "
|
||||||
+ "-listenUmask 0 "
|
+ "-listenUmask 0 "
|
||||||
+ "-listenNetwork unix "
|
+ "-listenNetwork unix "
|
||||||
+ "-listenAddr /run/gitlab/gitlab-workhorse.socket "
|
+ "-listenAddr /run/gitlab/gitlab-workhorse.socket "
|
||||||
+ "-authSocket ${gitlabSocket} "
|
+ "-authSocket ${gitlabSocket} "
|
||||||
+ "-documentRoot ${cfg.packages.gitlab}/share/gitlab/public";
|
+ "-documentRoot ${cfg.packages.gitlab}/share/gitlab/public "
|
||||||
|
+ "-secretPath ${cfg.packages.gitlab}/share/gitlab/.gitlab_workhorse_secret";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -525,11 +527,6 @@ in {
|
||||||
psql postgres -c "CREATE ROLE gitlab WITH LOGIN NOCREATEDB NOCREATEROLE NOCREATEUSER ENCRYPTED PASSWORD '${cfg.databasePassword}'"
|
psql postgres -c "CREATE ROLE gitlab WITH LOGIN NOCREATEDB NOCREATEROLE NOCREATEUSER ENCRYPTED PASSWORD '${cfg.databasePassword}'"
|
||||||
${config.services.postgresql.package}/bin/createdb --owner gitlab gitlab || true
|
${config.services.postgresql.package}/bin/createdb --owner gitlab gitlab || true
|
||||||
touch "${cfg.statePath}/db-created"
|
touch "${cfg.statePath}/db-created"
|
||||||
|
|
||||||
# The gitlab:setup task is horribly broken somehow, these two tasks will do the same for setting up the initial database
|
|
||||||
${gitlab-rake}/bin/gitlab-rake db:migrate RAILS_ENV=production
|
|
||||||
${gitlab-rake}/bin/gitlab-rake db:seed_fu RAILS_ENV=production \
|
|
||||||
GITLAB_ROOT_PASSWORD="${cfg.initialRootPassword}" GITLAB_ROOT_EMAIL="${cfg.initialRootEmail}";
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -538,6 +535,15 @@ in {
|
||||||
# Always do the db migrations just to be sure the database is up-to-date
|
# Always do the db migrations just to be sure the database is up-to-date
|
||||||
${gitlab-rake}/bin/gitlab-rake db:migrate RAILS_ENV=production
|
${gitlab-rake}/bin/gitlab-rake db:migrate RAILS_ENV=production
|
||||||
|
|
||||||
|
# The gitlab:setup task is horribly broken somehow, the db:migrate
|
||||||
|
# task above and the db:seed_fu below will do the same for setting
|
||||||
|
# up the initial database
|
||||||
|
if ! test -e "${cfg.statePath}/db-seeded"; then
|
||||||
|
${gitlab-rake}/bin/gitlab-rake db:seed_fu RAILS_ENV=production \
|
||||||
|
GITLAB_ROOT_PASSWORD="${cfg.initialRootPassword}" GITLAB_ROOT_EMAIL="${cfg.initialRootEmail}"
|
||||||
|
touch "${cfg.statePath}/db-seeded"
|
||||||
|
fi
|
||||||
|
|
||||||
# Change permissions in the last step because some of the
|
# Change permissions in the last step because some of the
|
||||||
# intermediary scripts like to create directories as root.
|
# intermediary scripts like to create directories as root.
|
||||||
chown -R ${cfg.user}:${cfg.group} ${cfg.statePath}
|
chown -R ${cfg.user}:${cfg.group} ${cfg.statePath}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, ruby, bundler, fetchFromGitLab }:
|
{ stdenv, ruby, bundler, fetchFromGitLab }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "3.4.0";
|
version = "3.6.0";
|
||||||
name = "gitlab-shell-${version}";
|
name = "gitlab-shell-${version}";
|
||||||
|
|
||||||
srcs = fetchFromGitLab {
|
srcs = fetchFromGitLab {
|
||||||
owner = "gitlab-org";
|
owner = "gitlab-org";
|
||||||
repo = "gitlab-shell";
|
repo = "gitlab-shell";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1vhwsiz6n96i6cbcqbf4pa93nzx4xkaph2lmzh0nm4mi5ydl49is";
|
sha256 = "1cc8lnz06d1q2hdrgnsqk50wj0x950w81jsalfjxmx5lais4qgg9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -56,7 +56,10 @@ stdenv.mkDerivation rec {
|
||||||
" *args)"
|
" *args)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
platforms = stdenv.lib.platforms.unix;
|
homepage = http://www.gitlab.com/;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ fpletz ];
|
||||||
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, fetchFromGitLab, git, go }:
|
{ stdenv, fetchFromGitLab, git, go }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.7.11";
|
version = "0.8.2";
|
||||||
name = "gitlab-workhorse-${version}";
|
name = "gitlab-workhorse-${version}";
|
||||||
|
|
||||||
srcs = fetchFromGitLab {
|
srcs = fetchFromGitLab {
|
||||||
owner = "gitlab-org";
|
owner = "gitlab-org";
|
||||||
repo = "gitlab-workhorse";
|
repo = "gitlab-workhorse";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1z32nf9qbw050wzl1dsydrs68c9fp5kkvdn58z2g88bbyk6gyivm";
|
sha256 = "03y7f9x88sa8gxqaglriwn2793dn3i8dx4qhaarnm0gyrfl3rjag";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git go ];
|
buildInputs = [ git go ];
|
||||||
|
@ -24,7 +24,10 @@ stdenv.mkDerivation rec {
|
||||||
make install PREFIX=$out
|
make install PREFIX=$out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
platforms = stdenv.lib.platforms.unix;
|
homepage = http://www.gitlab.com/;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ fpletz ];
|
||||||
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ gem 'omniauth-auth0', '~> 1.4.1'
|
||||||
gem 'omniauth-azure-oauth2', '~> 0.0.6'
|
gem 'omniauth-azure-oauth2', '~> 0.0.6'
|
||||||
gem 'omniauth-bitbucket', '~> 0.0.2'
|
gem 'omniauth-bitbucket', '~> 0.0.2'
|
||||||
gem 'omniauth-cas3', '~> 1.1.2'
|
gem 'omniauth-cas3', '~> 1.1.2'
|
||||||
gem 'omniauth-facebook', '~> 3.0.0'
|
gem 'omniauth-facebook', '~> 4.0.0'
|
||||||
gem 'omniauth-github', '~> 1.1.1'
|
gem 'omniauth-github', '~> 1.1.1'
|
||||||
gem 'omniauth-gitlab', '~> 1.0.0'
|
gem 'omniauth-gitlab', '~> 1.0.0'
|
||||||
gem 'omniauth-google-oauth2', '~> 0.4.1'
|
gem 'omniauth-google-oauth2', '~> 0.4.1'
|
||||||
|
@ -53,7 +53,7 @@ gem 'browser', '~> 2.2'
|
||||||
|
|
||||||
# Extracting information from a git repository
|
# Extracting information from a git repository
|
||||||
# Provide access to Gitlab::Git library
|
# Provide access to Gitlab::Git library
|
||||||
gem 'gitlab_git', '~> 10.4.7'
|
gem 'gitlab_git', '~> 10.6.6'
|
||||||
|
|
||||||
# LDAP Auth
|
# LDAP Auth
|
||||||
# GitLab fork with several improvements to original library. For full list of changes
|
# GitLab fork with several improvements to original library. For full list of changes
|
||||||
|
@ -97,9 +97,6 @@ gem 'fog-rackspace', '~> 0.1.1'
|
||||||
# for aws storage
|
# for aws storage
|
||||||
gem 'unf', '~> 0.1.4'
|
gem 'unf', '~> 0.1.4'
|
||||||
|
|
||||||
# Authorization
|
|
||||||
gem 'six', '~> 0.2.0'
|
|
||||||
|
|
||||||
# Seed data
|
# Seed data
|
||||||
gem 'seed-fu', '~> 2.3.5'
|
gem 'seed-fu', '~> 2.3.5'
|
||||||
|
|
||||||
|
@ -209,6 +206,9 @@ gem 'mousetrap-rails', '~> 1.4.6'
|
||||||
# Detect and convert string character encoding
|
# Detect and convert string character encoding
|
||||||
gem 'charlock_holmes', '~> 0.7.3'
|
gem 'charlock_holmes', '~> 0.7.3'
|
||||||
|
|
||||||
|
# Faster JSON
|
||||||
|
gem 'oj', '~> 2.17.4'
|
||||||
|
|
||||||
# Parse time & duration
|
# Parse time & duration
|
||||||
gem 'chronic', '~> 0.10.2'
|
gem 'chronic', '~> 0.10.2'
|
||||||
gem 'chronic_duration', '~> 0.10.6'
|
gem 'chronic_duration', '~> 0.10.6'
|
||||||
|
@ -298,9 +298,10 @@ group :development, :test do
|
||||||
gem 'spring-commands-spinach', '~> 1.1.0'
|
gem 'spring-commands-spinach', '~> 1.1.0'
|
||||||
gem 'spring-commands-teaspoon', '~> 0.0.2'
|
gem 'spring-commands-teaspoon', '~> 0.0.2'
|
||||||
|
|
||||||
gem 'rubocop', '~> 0.41.2', require: false
|
gem 'rubocop', '~> 0.42.0', require: false
|
||||||
gem 'rubocop-rspec', '~> 1.5.0', require: false
|
gem 'rubocop-rspec', '~> 1.5.0', require: false
|
||||||
gem 'scss_lint', '~> 0.47.0', require: false
|
gem 'scss_lint', '~> 0.47.0', require: false
|
||||||
|
gem 'haml_lint', '~> 0.18.2', require: false
|
||||||
gem 'simplecov', '0.12.0', require: false
|
gem 'simplecov', '0.12.0', require: false
|
||||||
gem 'flog', '~> 4.3.2', require: false
|
gem 'flog', '~> 4.3.2', require: false
|
||||||
gem 'flay', '~> 2.6.1', require: false
|
gem 'flay', '~> 2.6.1', require: false
|
||||||
|
@ -319,6 +320,7 @@ group :test do
|
||||||
gem 'webmock', '~> 1.21.0'
|
gem 'webmock', '~> 1.21.0'
|
||||||
gem 'test_after_commit', '~> 0.4.2'
|
gem 'test_after_commit', '~> 0.4.2'
|
||||||
gem 'sham_rack', '~> 1.3.6'
|
gem 'sham_rack', '~> 1.3.6'
|
||||||
|
gem 'timecop', '~> 0.8.0'
|
||||||
end
|
end
|
||||||
|
|
||||||
group :production do
|
group :production do
|
||||||
|
@ -349,7 +351,7 @@ gem 'paranoia', '~> 2.0'
|
||||||
gem 'health_check', '~> 2.1.0'
|
gem 'health_check', '~> 2.1.0'
|
||||||
|
|
||||||
# System information
|
# System information
|
||||||
gem 'vmstat', '~> 2.1.1'
|
gem 'vmstat', '~> 2.2'
|
||||||
gem 'sys-filesystem', '~> 1.1.6'
|
gem 'sys-filesystem', '~> 1.1.6'
|
||||||
|
|
||||||
gem "activerecord-nulldb-adapter"
|
gem "activerecord-nulldb-adapter"
|
||||||
|
|
|
@ -191,7 +191,7 @@ GEM
|
||||||
erubis (2.7.0)
|
erubis (2.7.0)
|
||||||
escape_utils (1.1.1)
|
escape_utils (1.1.1)
|
||||||
eventmachine (1.0.8)
|
eventmachine (1.0.8)
|
||||||
excon (0.49.0)
|
excon (0.52.0)
|
||||||
execjs (2.6.0)
|
execjs (2.6.0)
|
||||||
expression_parser (0.9.0)
|
expression_parser (0.9.0)
|
||||||
factory_girl (4.5.0)
|
factory_girl (4.5.0)
|
||||||
|
@ -217,8 +217,8 @@ GEM
|
||||||
flowdock (0.7.1)
|
flowdock (0.7.1)
|
||||||
httparty (~> 0.7)
|
httparty (~> 0.7)
|
||||||
multi_json
|
multi_json
|
||||||
fog-aws (0.9.2)
|
fog-aws (0.11.0)
|
||||||
fog-core (~> 1.27)
|
fog-core (~> 1.38)
|
||||||
fog-json (~> 1.0)
|
fog-json (~> 1.0)
|
||||||
fog-xml (~> 0.1)
|
fog-xml (~> 0.1)
|
||||||
ipaddress (~> 0.8)
|
ipaddress (~> 0.8)
|
||||||
|
@ -227,7 +227,7 @@ GEM
|
||||||
fog-core (~> 1.27)
|
fog-core (~> 1.27)
|
||||||
fog-json (~> 1.0)
|
fog-json (~> 1.0)
|
||||||
fog-xml (~> 0.1)
|
fog-xml (~> 0.1)
|
||||||
fog-core (1.40.0)
|
fog-core (1.42.0)
|
||||||
builder
|
builder
|
||||||
excon (~> 0.49)
|
excon (~> 0.49)
|
||||||
formatador (~> 0.2)
|
formatador (~> 0.2)
|
||||||
|
@ -281,7 +281,7 @@ GEM
|
||||||
diff-lcs (~> 1.1)
|
diff-lcs (~> 1.1)
|
||||||
mime-types (>= 1.16, < 3)
|
mime-types (>= 1.16, < 3)
|
||||||
posix-spawn (~> 0.3)
|
posix-spawn (~> 0.3)
|
||||||
gitlab_git (10.4.7)
|
gitlab_git (10.6.6)
|
||||||
activesupport (~> 4.0)
|
activesupport (~> 4.0)
|
||||||
charlock_holmes (~> 0.7.3)
|
charlock_holmes (~> 0.7.3)
|
||||||
github-linguist (~> 4.7.0)
|
github-linguist (~> 4.7.0)
|
||||||
|
@ -324,11 +324,18 @@ GEM
|
||||||
grape-entity (0.4.8)
|
grape-entity (0.4.8)
|
||||||
activesupport
|
activesupport
|
||||||
multi_json (>= 1.3.2)
|
multi_json (>= 1.3.2)
|
||||||
|
haml (4.0.7)
|
||||||
|
tilt
|
||||||
|
haml_lint (0.18.2)
|
||||||
|
haml (~> 4.0)
|
||||||
|
rake (>= 10, < 12)
|
||||||
|
rubocop (>= 0.36.0)
|
||||||
|
sysexits (~> 1.1)
|
||||||
hamlit (2.6.1)
|
hamlit (2.6.1)
|
||||||
temple (~> 0.7.6)
|
temple (~> 0.7.6)
|
||||||
thor
|
thor
|
||||||
tilt
|
tilt
|
||||||
hashie (3.4.3)
|
hashie (3.4.4)
|
||||||
health_check (2.1.0)
|
health_check (2.1.0)
|
||||||
rails (>= 4.0)
|
rails (>= 4.0)
|
||||||
hipchat (1.5.2)
|
hipchat (1.5.2)
|
||||||
|
@ -396,9 +403,9 @@ GEM
|
||||||
mime-types (>= 1.16, < 4)
|
mime-types (>= 1.16, < 4)
|
||||||
mail_room (0.8.0)
|
mail_room (0.8.0)
|
||||||
method_source (0.8.2)
|
method_source (0.8.2)
|
||||||
mime-types (2.99.2)
|
mime-types (2.99.3)
|
||||||
mimemagic (0.3.0)
|
mimemagic (0.3.0)
|
||||||
mini_portile2 (2.0.0)
|
mini_portile2 (2.1.0)
|
||||||
minitest (5.7.0)
|
minitest (5.7.0)
|
||||||
mousetrap-rails (1.4.6)
|
mousetrap-rails (1.4.6)
|
||||||
multi_json (1.12.1)
|
multi_json (1.12.1)
|
||||||
|
@ -410,7 +417,7 @@ GEM
|
||||||
net-ssh (3.0.1)
|
net-ssh (3.0.1)
|
||||||
newrelic_rpm (3.16.0.318)
|
newrelic_rpm (3.16.0.318)
|
||||||
nokogiri (1.6.7.2)
|
nokogiri (1.6.7.2)
|
||||||
mini_portile2 (~> 2.0.0.rc2)
|
mini_portile2 (~> 2.1.0)
|
||||||
pkg-config (~> 1.1.7)
|
pkg-config (~> 1.1.7)
|
||||||
numerizer (0.1.1)
|
numerizer (0.1.1)
|
||||||
oauth (0.4.7)
|
oauth (0.4.7)
|
||||||
|
@ -422,6 +429,7 @@ GEM
|
||||||
rack (>= 1.2, < 3)
|
rack (>= 1.2, < 3)
|
||||||
octokit (4.3.0)
|
octokit (4.3.0)
|
||||||
sawyer (~> 0.7.0, >= 0.5.3)
|
sawyer (~> 0.7.0, >= 0.5.3)
|
||||||
|
oj (2.17.4)
|
||||||
omniauth (1.3.1)
|
omniauth (1.3.1)
|
||||||
hashie (>= 1.2, < 4)
|
hashie (>= 1.2, < 4)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
|
@ -439,7 +447,7 @@ GEM
|
||||||
addressable (~> 2.3)
|
addressable (~> 2.3)
|
||||||
nokogiri (~> 1.6.6)
|
nokogiri (~> 1.6.6)
|
||||||
omniauth (~> 1.2)
|
omniauth (~> 1.2)
|
||||||
omniauth-facebook (3.0.0)
|
omniauth-facebook (4.0.0)
|
||||||
omniauth-oauth2 (~> 1.2)
|
omniauth-oauth2 (~> 1.2)
|
||||||
omniauth-github (1.1.2)
|
omniauth-github (1.1.2)
|
||||||
omniauth (~> 1.0)
|
omniauth (~> 1.0)
|
||||||
|
@ -586,7 +594,7 @@ GEM
|
||||||
railties (>= 4.2.0, < 5.1)
|
railties (>= 4.2.0, < 5.1)
|
||||||
rinku (2.0.0)
|
rinku (2.0.0)
|
||||||
rotp (2.1.2)
|
rotp (2.1.2)
|
||||||
rouge (2.0.5)
|
rouge (2.0.6)
|
||||||
rqrcode (0.7.0)
|
rqrcode (0.7.0)
|
||||||
chunky_png
|
chunky_png
|
||||||
rqrcode-rails3 (0.1.7)
|
rqrcode-rails3 (0.1.7)
|
||||||
|
@ -614,7 +622,7 @@ GEM
|
||||||
rspec-retry (0.4.5)
|
rspec-retry (0.4.5)
|
||||||
rspec-core
|
rspec-core
|
||||||
rspec-support (3.5.0)
|
rspec-support (3.5.0)
|
||||||
rubocop (0.41.2)
|
rubocop (0.42.0)
|
||||||
parser (>= 2.3.1.1, < 3.0)
|
parser (>= 2.3.1.1, < 3.0)
|
||||||
powerpack (~> 0.1)
|
powerpack (~> 0.1)
|
||||||
rainbow (>= 1.99.1, < 3.0)
|
rainbow (>= 1.99.1, < 3.0)
|
||||||
|
@ -685,7 +693,6 @@ GEM
|
||||||
rack (~> 1.5)
|
rack (~> 1.5)
|
||||||
rack-protection (~> 1.4)
|
rack-protection (~> 1.4)
|
||||||
tilt (>= 1.3, < 3)
|
tilt (>= 1.3, < 3)
|
||||||
six (0.2.0)
|
|
||||||
slack-notifier (1.2.1)
|
slack-notifier (1.2.1)
|
||||||
slop (3.6.0)
|
slop (3.6.0)
|
||||||
spinach (0.8.10)
|
spinach (0.8.10)
|
||||||
|
@ -726,6 +733,7 @@ GEM
|
||||||
stringex (2.5.2)
|
stringex (2.5.2)
|
||||||
sys-filesystem (1.1.6)
|
sys-filesystem (1.1.6)
|
||||||
ffi
|
ffi
|
||||||
|
sysexits (1.2.0)
|
||||||
systemu (2.6.5)
|
systemu (2.6.5)
|
||||||
task_list (1.0.2)
|
task_list (1.0.2)
|
||||||
html-pipeline
|
html-pipeline
|
||||||
|
@ -757,7 +765,7 @@ GEM
|
||||||
unf (0.1.4)
|
unf (0.1.4)
|
||||||
unf_ext
|
unf_ext
|
||||||
unf_ext (0.0.7.2)
|
unf_ext (0.0.7.2)
|
||||||
unicode-display_width (1.1.0)
|
unicode-display_width (1.1.1)
|
||||||
unicorn (4.9.0)
|
unicorn (4.9.0)
|
||||||
kgio (~> 2.6)
|
kgio (~> 2.6)
|
||||||
rack
|
rack
|
||||||
|
@ -774,7 +782,7 @@ GEM
|
||||||
coercible (~> 1.0)
|
coercible (~> 1.0)
|
||||||
descendants_tracker (~> 0.0, >= 0.0.3)
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
||||||
equalizer (~> 0.0, >= 0.0.9)
|
equalizer (~> 0.0, >= 0.0.9)
|
||||||
vmstat (2.1.1)
|
vmstat (2.2.0)
|
||||||
warden (1.2.6)
|
warden (1.2.6)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
web-console (2.3.0)
|
web-console (2.3.0)
|
||||||
|
@ -862,7 +870,7 @@ DEPENDENCIES
|
||||||
github-linguist (~> 4.7.0)
|
github-linguist (~> 4.7.0)
|
||||||
github-markup (~> 1.4)
|
github-markup (~> 1.4)
|
||||||
gitlab-flowdock-git-hook (~> 1.0.1)
|
gitlab-flowdock-git-hook (~> 1.0.1)
|
||||||
gitlab_git (~> 10.4.7)
|
gitlab_git (~> 10.6.6)
|
||||||
gitlab_meta (= 7.0)
|
gitlab_meta (= 7.0)
|
||||||
gitlab_omniauth-ldap (~> 1.2.1)
|
gitlab_omniauth-ldap (~> 1.2.1)
|
||||||
gollum-lib (~> 4.2)
|
gollum-lib (~> 4.2)
|
||||||
|
@ -870,6 +878,7 @@ DEPENDENCIES
|
||||||
gon (~> 6.1.0)
|
gon (~> 6.1.0)
|
||||||
grape (~> 0.15.0)
|
grape (~> 0.15.0)
|
||||||
grape-entity (~> 0.4.2)
|
grape-entity (~> 0.4.2)
|
||||||
|
haml_lint (~> 0.18.2)
|
||||||
hamlit (~> 2.6.1)
|
hamlit (~> 2.6.1)
|
||||||
health_check (~> 2.1.0)
|
health_check (~> 2.1.0)
|
||||||
hipchat (~> 1.5.0)
|
hipchat (~> 1.5.0)
|
||||||
|
@ -899,12 +908,13 @@ DEPENDENCIES
|
||||||
nokogiri (~> 1.6.7, >= 1.6.7.2)
|
nokogiri (~> 1.6.7, >= 1.6.7.2)
|
||||||
oauth2 (~> 1.2.0)
|
oauth2 (~> 1.2.0)
|
||||||
octokit (~> 4.3.0)
|
octokit (~> 4.3.0)
|
||||||
|
oj (~> 2.17.4)
|
||||||
omniauth (~> 1.3.1)
|
omniauth (~> 1.3.1)
|
||||||
omniauth-auth0 (~> 1.4.1)
|
omniauth-auth0 (~> 1.4.1)
|
||||||
omniauth-azure-oauth2 (~> 0.0.6)
|
omniauth-azure-oauth2 (~> 0.0.6)
|
||||||
omniauth-bitbucket (~> 0.0.2)
|
omniauth-bitbucket (~> 0.0.2)
|
||||||
omniauth-cas3 (~> 1.1.2)
|
omniauth-cas3 (~> 1.1.2)
|
||||||
omniauth-facebook (~> 3.0.0)
|
omniauth-facebook (~> 4.0.0)
|
||||||
omniauth-github (~> 1.1.1)
|
omniauth-github (~> 1.1.1)
|
||||||
omniauth-gitlab (~> 1.0.0)
|
omniauth-gitlab (~> 1.0.0)
|
||||||
omniauth-google-oauth2 (~> 0.4.1)
|
omniauth-google-oauth2 (~> 0.4.1)
|
||||||
|
@ -939,7 +949,7 @@ DEPENDENCIES
|
||||||
rqrcode-rails3 (~> 0.1.7)
|
rqrcode-rails3 (~> 0.1.7)
|
||||||
rspec-rails (~> 3.5.0)
|
rspec-rails (~> 3.5.0)
|
||||||
rspec-retry (~> 0.4.5)
|
rspec-retry (~> 0.4.5)
|
||||||
rubocop (~> 0.41.2)
|
rubocop (~> 0.42.0)
|
||||||
rubocop-rspec (~> 1.5.0)
|
rubocop-rspec (~> 1.5.0)
|
||||||
ruby-fogbugz (~> 0.2.1)
|
ruby-fogbugz (~> 0.2.1)
|
||||||
ruby-prof (~> 0.15.9)
|
ruby-prof (~> 0.15.9)
|
||||||
|
@ -957,7 +967,6 @@ DEPENDENCIES
|
||||||
sidekiq-cron (~> 0.4.0)
|
sidekiq-cron (~> 0.4.0)
|
||||||
simplecov (= 0.12.0)
|
simplecov (= 0.12.0)
|
||||||
sinatra (~> 1.4.4)
|
sinatra (~> 1.4.4)
|
||||||
six (~> 0.2.0)
|
|
||||||
slack-notifier (~> 1.2.0)
|
slack-notifier (~> 1.2.0)
|
||||||
spinach-rails (~> 0.2.1)
|
spinach-rails (~> 0.2.1)
|
||||||
spinach-rerun-reporter (~> 0.0.2)
|
spinach-rerun-reporter (~> 0.0.2)
|
||||||
|
@ -974,6 +983,7 @@ DEPENDENCIES
|
||||||
teaspoon-jasmine (~> 2.2.0)
|
teaspoon-jasmine (~> 2.2.0)
|
||||||
test_after_commit (~> 0.4.2)
|
test_after_commit (~> 0.4.2)
|
||||||
thin (~> 1.7.0)
|
thin (~> 1.7.0)
|
||||||
|
timecop (~> 0.8.0)
|
||||||
turbolinks (~> 2.5.0)
|
turbolinks (~> 2.5.0)
|
||||||
u2f (~> 0.2.1)
|
u2f (~> 0.2.1)
|
||||||
uglifier (~> 2.7.2)
|
uglifier (~> 2.7.2)
|
||||||
|
@ -983,7 +993,7 @@ DEPENDENCIES
|
||||||
unicorn-worker-killer (~> 0.4.2)
|
unicorn-worker-killer (~> 0.4.2)
|
||||||
version_sorter (~> 2.1.0)
|
version_sorter (~> 2.1.0)
|
||||||
virtus (~> 1.0.1)
|
virtus (~> 1.0.1)
|
||||||
vmstat (~> 2.1.1)
|
vmstat (~> 2.2)
|
||||||
web-console (~> 2.0)
|
web-console (~> 2.0)
|
||||||
webmock (~> 1.21.0)
|
webmock (~> 1.21.0)
|
||||||
wikicloth (= 0.8.1)
|
wikicloth (= 0.8.1)
|
||||||
|
|
|
@ -15,7 +15,7 @@ let
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = http://www.gitlab.com/;
|
homepage = http://www.gitlab.com/;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ ];
|
maintainers = with maintainers; [ fpletz ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -24,7 +24,7 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gitlab-${version}";
|
name = "gitlab-${version}";
|
||||||
version = "8.11.2";
|
version = "8.12.1";
|
||||||
|
|
||||||
buildInputs = [ env ruby bundler tzdata git nodejs procps ];
|
buildInputs = [ env ruby bundler tzdata git nodejs procps ];
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "gitlabhq";
|
owner = "gitlabhq";
|
||||||
repo = "gitlabhq";
|
repo = "gitlabhq";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1id6jsf4mshxis07dqlkgdyqi1v415rp4lx9ix8sjfznchria58b";
|
sha256 = "1aq91q89g3xb28v833748y9ywy9d6551zn3hb22cqphjijkn3wgl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -674,10 +674,10 @@
|
||||||
excon = {
|
excon = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0jmdgc4lhlbxccpg79a32vn3qngqipcaaq8bxa0ivfw5mvz0zc0z";
|
sha256 = "0aq0mzk95m944ccq4x5bzxb02qbzywc3rzjl5dxhrcaw32hqdjp0";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.49.0";
|
version = "0.52.0";
|
||||||
};
|
};
|
||||||
execjs = {
|
execjs = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -784,10 +784,10 @@
|
||||||
fog-aws = {
|
fog-aws = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0imhhxrw8m031lc912bnlqzgac41sjsip1fa8v845ldmn56kn9zg";
|
sha256 = "1zvcsgskxmlhb31wjcbkfi6m8b91y80kcwk61byybld9xl431mwf";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.9.2";
|
version = "0.11.0";
|
||||||
};
|
};
|
||||||
fog-azure = {
|
fog-azure = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -800,10 +800,10 @@
|
||||||
fog-core = {
|
fog-core = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1flkprsdm1qr38bzd80wxpkbcwm5zshivbg2k8pjls9i6jh6a0z7";
|
sha256 = "0jx4ynsc0b78601xypaamv6j5kw33n6ymqs3iz2fmhdw0k44lnwv";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.40.0";
|
version = "1.42.0";
|
||||||
};
|
};
|
||||||
fog-google = {
|
fog-google = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -958,10 +958,10 @@
|
||||||
gitlab_git = {
|
gitlab_git = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0xcn55jwc3g53mcj1fjr6qfjcj0awba9lwgd1720d2hkpfiglsai";
|
sha256 = "1vg2k3nlws6ghbs80zy3v8yclsx61x36f17r0k8vwv1xwvfhyhgz";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "10.4.7";
|
version = "10.6.6";
|
||||||
};
|
};
|
||||||
gitlab_meta = {
|
gitlab_meta = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -1037,6 +1037,22 @@
|
||||||
};
|
};
|
||||||
version = "0.4.8";
|
version = "0.4.8";
|
||||||
};
|
};
|
||||||
|
haml = {
|
||||||
|
source = {
|
||||||
|
remotes = ["https://rubygems.org"];
|
||||||
|
sha256 = "0mrzjgkygvfii66bbylj2j93na8i89998yi01fin3whwqbvx0m1p";
|
||||||
|
type = "gem";
|
||||||
|
};
|
||||||
|
version = "4.0.7";
|
||||||
|
};
|
||||||
|
haml_lint = {
|
||||||
|
source = {
|
||||||
|
remotes = ["https://rubygems.org"];
|
||||||
|
sha256 = "0shja16n76lw74c3dylml98lbmlcq9i1933davymayfplmyr52wi";
|
||||||
|
type = "gem";
|
||||||
|
};
|
||||||
|
version = "0.18.2";
|
||||||
|
};
|
||||||
hamlit = {
|
hamlit = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
|
@ -1048,10 +1064,10 @@
|
||||||
hashie = {
|
hashie = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "1iv5hd0zcryprx9lbcm615r3afc0d6rhc27clywmhhgpx68k8899";
|
sha256 = "1qlqcmrl696f1gg209zcyr81l9c5ynzfwlzl44a081q1fckrdmlx";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.4.3";
|
version = "3.4.4";
|
||||||
};
|
};
|
||||||
health_check = {
|
health_check = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -1314,10 +1330,10 @@
|
||||||
mime-types = {
|
mime-types = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "06lnv0w9j45llai5qhvc1m7w409j5lhnssdzkvv6yw49d632jxkz";
|
sha256 = "03j98xr0qw2p2jkclpmk7pm29yvmmh0073d8d43ajmr0h3w7i5l9";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.99.2";
|
version = "2.99.3";
|
||||||
};
|
};
|
||||||
mimemagic = {
|
mimemagic = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -1330,10 +1346,10 @@
|
||||||
mini_portile2 = {
|
mini_portile2 = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "056drbn5m4khdxly1asmiik14nyllswr6sh3wallvsywwdiryz8l";
|
sha256 = "1y25adxb1hgg1wb2rn20g3vl07qziq6fz364jc5694611zz863hb";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.0.0";
|
version = "2.1.0";
|
||||||
};
|
};
|
||||||
minitest = {
|
minitest = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -1455,6 +1471,14 @@
|
||||||
};
|
};
|
||||||
version = "4.3.0";
|
version = "4.3.0";
|
||||||
};
|
};
|
||||||
|
oj = {
|
||||||
|
source = {
|
||||||
|
remotes = ["https://rubygems.org"];
|
||||||
|
sha256 = "1krdgjl0agvcxb0bgmdk8zv7ysms8xmx7py7564v69csdkbwd4a5";
|
||||||
|
type = "gem";
|
||||||
|
};
|
||||||
|
version = "2.17.4";
|
||||||
|
};
|
||||||
omniauth = {
|
omniauth = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
|
@ -1499,13 +1523,12 @@
|
||||||
version = "1.1.3";
|
version = "1.1.3";
|
||||||
};
|
};
|
||||||
omniauth-facebook = {
|
omniauth-facebook = {
|
||||||
dependencies = ["omniauth-oauth2"];
|
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "0plj56sna4b6c71k03jsng6gq3r5yxhj7h26ndahc9caasgk869c";
|
sha256 = "03zjla9i446fk1jkw7arh67c39jfhp5bhkmhvbw8vczxr1jkbbh5";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "3.0.0";
|
version = "4.0.0";
|
||||||
};
|
};
|
||||||
omniauth-github = {
|
omniauth-github = {
|
||||||
dependencies = ["omniauth" "omniauth-oauth2"];
|
dependencies = ["omniauth" "omniauth-oauth2"];
|
||||||
|
@ -2022,10 +2045,10 @@
|
||||||
rouge = {
|
rouge = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "07nda5cfrxxizcd4ff7ad8z3i0j9jaff8q7q6ddpxcj0s80nvvpi";
|
sha256 = "182hp2fh6gd3p5c862i36k6jxkc02mhi08qd94gsyfj3v34ngza0";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.0.5";
|
version = "2.0.6";
|
||||||
};
|
};
|
||||||
rqrcode = {
|
rqrcode = {
|
||||||
dependencies = ["chunky_png"];
|
dependencies = ["chunky_png"];
|
||||||
|
@ -2104,10 +2127,10 @@
|
||||||
rubocop = {
|
rubocop = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "02adr908a9l8nhdfjz137i20w1dv8mbfiamy0m9z9q0fvslfdxly";
|
sha256 = "064rh2fhr05mjgsmi1viljn9arcm2ggfaxkpk92ns9kf3ym7dz8v";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "0.41.2";
|
version = "0.42.0";
|
||||||
};
|
};
|
||||||
rubocop-rspec = {
|
rubocop-rspec = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -2356,14 +2379,6 @@
|
||||||
};
|
};
|
||||||
version = "1.4.7";
|
version = "1.4.7";
|
||||||
};
|
};
|
||||||
six = {
|
|
||||||
source = {
|
|
||||||
remotes = ["https://rubygems.org"];
|
|
||||||
sha256 = "1bhapiyjh5r5qjpclfw8i65plvy6k2q4azr5xir63xqglr53viw3";
|
|
||||||
type = "gem";
|
|
||||||
};
|
|
||||||
version = "0.2.0";
|
|
||||||
};
|
|
||||||
slack-notifier = {
|
slack-notifier = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
|
@ -2504,6 +2519,14 @@
|
||||||
};
|
};
|
||||||
version = "1.1.6";
|
version = "1.1.6";
|
||||||
};
|
};
|
||||||
|
sysexits = {
|
||||||
|
source = {
|
||||||
|
remotes = ["https://rubygems.org"];
|
||||||
|
sha256 = "0qjng6pllznmprzx8vb0zg0c86hdrkyjs615q41s9fjpmv2430jr";
|
||||||
|
type = "gem";
|
||||||
|
};
|
||||||
|
version = "1.2.0";
|
||||||
|
};
|
||||||
systemu = {
|
systemu = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
|
@ -2666,10 +2689,10 @@
|
||||||
unicode-display_width = {
|
unicode-display_width = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "194d70pfxq4d7rrk0vsk1dvj46ns2f350308khi7q5cvnmg3h1xs";
|
sha256 = "1b1mb3sj7azfvv166q6rqr0y634wsikiimm17xzn0304lcrw2fiz";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
};
|
};
|
||||||
unicorn = {
|
unicorn = {
|
||||||
source = {
|
source = {
|
||||||
|
@ -2725,10 +2748,10 @@
|
||||||
vmstat = {
|
vmstat = {
|
||||||
source = {
|
source = {
|
||||||
remotes = ["https://rubygems.org"];
|
remotes = ["https://rubygems.org"];
|
||||||
sha256 = "02yf9y7050zk1k7mn7dkp81wwa220kpkpdnlv4bg5mp65w33g5jf";
|
sha256 = "10hlfam5gvxjvr5p1f4f81wlv5k81mrlg556rc9525290bcz31f0";
|
||||||
type = "gem";
|
type = "gem";
|
||||||
};
|
};
|
||||||
version = "2.1.1";
|
version = "2.2.0";
|
||||||
};
|
};
|
||||||
warden = {
|
warden = {
|
||||||
source = {
|
source = {
|
||||||
|
|
|
@ -37,7 +37,7 @@ index 1470a6e..1b2660d 100644
|
||||||
# Given in number of bytes per git object (e.g. a commit)
|
# Given in number of bytes per git object (e.g. a commit)
|
||||||
# This value can be increased if you have very large commits
|
# This value can be increased if you have very large commits
|
||||||
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
|
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
|
||||||
index 86f5521..3bf006b 100644
|
index 195108b..e55b11d 100644
|
||||||
--- a/config/initializers/1_settings.rb
|
--- a/config/initializers/1_settings.rb
|
||||||
+++ b/config/initializers/1_settings.rb
|
+++ b/config/initializers/1_settings.rb
|
||||||
@@ -192,7 +192,7 @@ Settings.gitlab['user'] ||= 'git'
|
@@ -192,7 +192,7 @@ Settings.gitlab['user'] ||= 'git'
|
||||||
|
@ -49,7 +49,7 @@ index 86f5521..3bf006b 100644
|
||||||
end
|
end
|
||||||
Settings.gitlab['time_zone'] ||= nil
|
Settings.gitlab['time_zone'] ||= nil
|
||||||
Settings.gitlab['signup_enabled'] ||= true if Settings.gitlab['signup_enabled'].nil?
|
Settings.gitlab['signup_enabled'] ||= true if Settings.gitlab['signup_enabled'].nil?
|
||||||
@@ -350,7 +350,7 @@ Settings.backup['upload']['encryption'] ||= nil
|
@@ -362,7 +362,7 @@ Settings.backup['upload']['encryption'] ||= nil
|
||||||
#
|
#
|
||||||
Settings['git'] ||= Settingslogic.new({})
|
Settings['git'] ||= Settingslogic.new({})
|
||||||
Settings.git['max_size'] ||= 20971520 # 20.megabytes
|
Settings.git['max_size'] ||= 20971520 # 20.megabytes
|
||||||
|
@ -100,7 +100,7 @@ index be8fcc7..7642d74 100644
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
|
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
|
||||||
index 60f4636..157641f 100644
|
index 5f4a6bb..01b4cfd 100644
|
||||||
--- a/lib/tasks/gitlab/check.rake
|
--- a/lib/tasks/gitlab/check.rake
|
||||||
+++ b/lib/tasks/gitlab/check.rake
|
+++ b/lib/tasks/gitlab/check.rake
|
||||||
@@ -223,7 +223,7 @@ namespace :gitlab do
|
@@ -223,7 +223,7 @@ namespace :gitlab do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue