[packages/gitlab-ce] up to 8.10.2

glen glen at pld-linux.org
Fri Jul 29 00:08:11 CEST 2016


commit 575e60f5962e9a54cb193463131c7a6e91b57b16
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jul 28 16:13:01 2016 +0300

    up to 8.10.2

 gitlab-ce.spec | 13 +++++++++----
 pld.patch      | 12 ++++--------
 2 files changed, 13 insertions(+), 12 deletions(-)
---
diff --git a/gitlab-ce.spec b/gitlab-ce.spec
index 1dec9b4..51c6a7f 100644
--- a/gitlab-ce.spec
+++ b/gitlab-ce.spec
@@ -16,7 +16,7 @@
 
 Summary:	A Web interface to create projects and repositories, manage access and do code reviews
 Name:		gitlab-ce
-Version:	8.8.5
+Version:	8.10.2
 Release:	0.37
 License:	MIT
 Group:		Applications/WWW
@@ -78,7 +78,7 @@ use on your server(s).
 %setup -qn gitlabhq-%{version}
 mv config/gitlab.yml.example config/gitlab.yml
 mv config/unicorn.rb.example config/unicorn.rb
-%patch0 -p1
+#%patch0 -p1
 %patch1 -p1
 #%patch2 -p1
 
@@ -86,9 +86,11 @@ mv config/unicorn.rb.example config/unicorn.rb
 mv config/database.yml.mysql config/database.yml
 
 find -name .gitkeep | xargs rm
+rm -r .github
 rm -r docker
 rm -r features
 rm -r lib/support/{deploy,init.d}
+rm -r rubocop
 rm -r scripts
 rm -r spec
 rm .csscomb.json
@@ -97,13 +99,13 @@ rm .foreman
 rm .gitattributes
 rm .gitignore
 rm .gitlab-ci.yml
-rm .hound.yml
 rm .pkgr.yml
 rm .rspec
 rm .rubocop.yml
+rm .rubocop_todo.yml
 rm .scss-lint.yml
 rm .simplecov
-rm .teatro.yml
+rm .vagrant_enabled
 rm Procfile
 rm bin/pkgr_before_precompile.sh
 rm docker-compose.yml
@@ -120,8 +122,11 @@ bundle install %{_smp_mflags} \
 	--deployment \
 	--without development test aws %{!?with_krb5:kerberos}
 
+# precompile assets
+# use modified config so it doesn't croak
 cp -p config/gitlab.yml{,.production}
 sed -i -e '/secret_file:/d' config/gitlab.yml
+sed -i -e 's#/home/git/repositories/#./#' config/gitlab.yml
 bundle exec rake RAILS_ENV=production assets:clean assets:precompile USE_DB=false
 mv -f config/gitlab.yml{.production,}
 
diff --git a/pld.patch b/pld.patch
index ea27435..5b192dc 100644
--- a/pld.patch
+++ b/pld.patch
@@ -1,5 +1,5 @@
---- gitlabhq-8.7.5.paths/config/gitlab.yml	2016-05-15 21:30:47.260578333 +0300
-+++ gitlabhq-8.7.5/config/gitlab.yml	2016-05-15 10:55:03.000000000 +0300
+--- gitlabhq-8.10.2/config/gitlab.yml~	2016-07-28 14:33:30.000000000 +0300
++++ gitlabhq-8.10.2/config/gitlab.yml	2016-07-28 14:34:15.268930594 +0300
 @@ -56,7 +56,7 @@
        #- 2001:0db8::/32
  
@@ -18,17 +18,13 @@
  
    ## Backup settings
    backup:
-@@ -437,15 +437,15 @@
+@@ -458,12 +458,12 @@
  
    ## GitLab Shell settings
    gitlab_shell:
 -    path: /home/git/gitlab-shell/
-+    path: /usr/share/gitlab-shell/
- 
-     # REPOS_PATH MUST NOT BE A SYMLINK!!!
--    repos_path: /home/git/repositories/
 -    hooks_path: /home/git/gitlab-shell/hooks/
-+    repos_path: /var/lib/gitlab/repositories/
++    path: /usr/share/gitlab-shell/
 +    hooks_path: /usr/share/gitlab-shell/hooks/
  
      # File that contains the secret key for verifying access for gitlab-shell.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/575e60f5962e9a54cb193463131c7a6e91b57b16



More information about the pld-cvs-commit mailing list