[packages/gitlab-ce] skip autobackup of pages

glen glen at pld-linux.org
Tue Apr 18 20:51:34 CEST 2017


commit 0fa8b9f03d0a38b3fd479ba48e0a0c218134f440
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 18 18:58:28 2017 +0300

    skip autobackup of pages

 gitlab-ce.spec | 2 +-
 gitlab-ctl.sh  | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gitlab-ce.spec b/gitlab-ce.spec
index c810769..f724151 100644
--- a/gitlab-ce.spec
+++ b/gitlab-ce.spec
@@ -19,7 +19,7 @@
 Summary:	A Web interface to create projects and repositories, manage access and do code reviews
 Name:		gitlab-ce
 Version:	8.17.5
-Release:	0.84
+Release:	0.86
 License:	MIT
 Group:		Applications/WWW
 # md5 deliberately omitted until this package is useful
diff --git a/gitlab-ctl.sh b/gitlab-ctl.sh
index 4bfdb85..2856e89 100755
--- a/gitlab-ctl.sh
+++ b/gitlab-ctl.sh
@@ -31,7 +31,7 @@ restart() {
 }
 
 # Run backup before package upgrade
-# https://gitlab.com/gitlab-org/omnibus-gitlab/blob/8.8.1+ce.0/config/templates/package-scripts/preinst.erb#L10
+# https://gitlab.com/gitlab-org/omnibus-gitlab/blob/8.17.5+ce.0/config/templates/package-scripts/preinst.erb#L10
 preinst() {
 	if [ -f $auto_migrations_skip_file ]; then
 		notice "preinstall: Found $auto_migrations_skip_file, skipping auto backup..."
@@ -40,7 +40,8 @@ preinst() {
 
 	notice "preinstall: Automatically backing up only the GitLab SQL database (excluding everything else!)"
 
-	if ! backup SKIP=repositories,uploads,builds,artifacts,lfs,registry; then
+	if ! backup SKIP=repositories,uploads,builds,artifacts,lfs,registry,pages; then
+
 		cat >&2 <<-EOF
 
 		Backup failed! If you want to skip this backup, run the following command and try again:
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list