[DRE-commits] [gitlab] 09/17: add missing files to debian/install

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Feb 13 16:42:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit 124022d62c7f985bd6069704da9dfa399b44306b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Feb 13 19:11:17 2016 +0530

    add missing files to debian/install
---
 debian/changelog | 2 ++
 debian/install   | 3 +++
 debian/rules     | 4 ++++
 3 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d832f88..5698d73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ gitlab (8.4.3+dfsg-4) UNRELEASED; urgency=medium
 
   * Don't overwrite existing database (Closes: #814458)
   * Write logs, pids and sockets to /var (Closes: #814476)
+  * Add more files to debian/install (Closes: #814503)
+  * Add a check in debian/rules for installing all files
 
  -- Pirate Praveen <praveen at debian.org>  Fri, 12 Feb 2016 15:08:08 +0530
 
diff --git a/debian/install b/debian/install
index be0540e..5fe65d3 100644
--- a/debian/install
+++ b/debian/install
@@ -21,8 +21,10 @@ doc usr/share/gitlab
 docker usr/share/gitlab
 doc_styleguide.md usr/share/gitlab
 features usr/share/gitlab
+fixtures usr/share/gitlab
 Gemfile usr/share/gitlab
 GITLAB_SHELL_VERSION usr/share/gitlab
+GITLAB_WORKHORSE_VERSION usr/share/gitlab
 lib usr/share/gitlab
 log usr/share/gitlab
 MAINTENANCE.md usr/share/gitlab
@@ -32,6 +34,7 @@ public usr/share/gitlab
 Rakefile usr/share/gitlab
 README.md usr/share/gitlab
 scripts usr/share/gitlab
+shared usr/share/gitlab
 spec usr/share/gitlab
 tmp usr/share/gitlab
 vendor usr/share/gitlab
diff --git a/debian/rules b/debian/rules
index 3876ebc..4befcb3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ override_dh_install:
 	dh_systemd_enable gitlab-workhorse.service
 	dh_systemd_enable gitlab.target
 	dh_systemd_start gitlab.target
+	# Make sure we are installing all required files in debian/install
+	a=$(ls -1 | wc -l); b=$(cat debian/install |cut -d' ' -f1|grep -v\
+	debian |wc -l); if ! [ $(echo "$a" - "$b"|bc) -eq 5 ]; then \
+	echo "Install newly added files or adjust the count in debian/rules"; fi
 
 override_dh_installinit:
 	dh_installinit --no-start

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list