From 5507cc05a54e51391a17ddfb1450ccf63920b308 Mon Sep 17 00:00:00 2001 From: Thomas Oulevey Date: Nov 16 2015 14:00:35 +0000 Subject: Return users from a sig --- diff --git a/scripts/who.sh b/scripts/who.sh new file mode 100755 index 0000000..d13512b --- /dev/null +++ b/scripts/who.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +for i in `koji list-tags $1*candidate` +do + USERS="$USERS `koji list-tagged --quiet $i | rev | cut -d " " -f 1 | rev | uniq | tr '\n' ' '`" + TMP=`echo ${i} | cut -d "-" -f 1` + SIG=${TMP%?} +done + +echo $1:`echo $USERS|tr " " "\n"|sort|uniq|tr "\n" " "`