[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: inform IRC about new packages

Holger Levsen gitlab at salsa.debian.org
Wed Feb 6 11:06:48 GMT 2019


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
f7019d9a by Holger Levsen at 2019-02-06T11:05:52Z
reproducible Arch Linux: inform IRC about new packages

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -225,6 +225,12 @@ update_archlinux_repositories() {
 	old=$(echo -n "$OLD" | wc -l 2>/dev/null|| true)
 	depwait404=$(echo -n "$DEPWAIT404" | wc -l 2>/dev/null|| true)
 	if [ $new -ne 0 ] || [ $updated -ne 0 ] || [ $old -ne 0 ] || [ $depwait404 -ne 0 ] ; then
+		# inform irc channel about new packages
+		if [ $new -ne 0 ] ; then
+			MESSAGE="Added $new packages: $(cat $NEW | xargs echo)"
+			irc_message archlinux-reproducible "$MESSAGE"
+		fi
+		# inform irc channel how many packages of which kind have been scheduled
 		message="scheduled"
 		if [ $new -ne 0 ] ; then
 			message="$message $new new package"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/f7019d9a7554fee96355666e01f1ea3dfe937b78

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/f7019d9a7554fee96355666e01f1ea3dfe937b78
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190206/e1548d5b/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list