[kernel-team] 01/03: hooksetup.sh: Exclude non-packaging repos from automatic description

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Apr 8 11:07:41 UTC 2016


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

benh pushed a commit to branch master
in repository kernel-team.

commit afb0a21ee6e1eae38832dead619fd8489cccf5e2
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Apr 8 12:05:19 2016 +0100

    hooksetup.sh: Exclude non-packaging repos from automatic description
    
    The description template only makes sense for packaging repos.
---
 scripts/hooksetup.sh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/scripts/hooksetup.sh b/scripts/hooksetup.sh
index e41a244..8b22a09 100755
--- a/scripts/hooksetup.sh
+++ b/scripts/hooksetup.sh
@@ -73,5 +73,13 @@ EOF
 	git config --replace-all multimailhook.emaildomain "users.alioth.debian.org"
 	git config --replace-all multimailhook.automigrated "true"
 
-	echo "Debian $proj repository" > description
+	case "$repo" in
+	d-k-conversion.git | kernel-team.git)
+		# Not packages
+		;;
+	*)
+		# Presumably named after the source package
+		echo "Debian $proj repository" > description
+		;;
+	esac
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list