]> git.decadent.org.uk Git - dak.git/commitdiff
add a bit more verbose logging
authorJoerg Jaspert <joerg@debian.org>
Sat, 26 Mar 2011 18:07:03 +0000 (19:07 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 26 Mar 2011 18:07:03 +0000 (19:07 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
scripts/debian/buildd-remove-keys

index 3591785d6c028769b169a9b22f1f81b3b1f5e2a9..b9b2ecfea7907160bf644cfefb58800dd9fdcdcc 100755 (executable)
@@ -190,7 +190,9 @@ for file in ${KEYS}; do
         # So put it into the removed keyring
         gpg ${DEFGPGOPT} --keyring "${ARCHKEYRING}" --export ${KEYID} | gpg ${DEFGPGOPT} --keyring "${REMOVED}" --import 2>/dev/null
         if gpg ${DEFGPGOPT} --keyring "${ARCHKEYRING}" --yes --delete-keys ${KEYID}; then
-            log "Removed key ${KEYID}, reason: ${COMMENT}"
+            KEYSUBMITTER=$(cat "${GPGSTATUS}"|grep GOODSIG)
+            KEYSUBMITTER=${KEYSUBMITTER##*GOODSIG}
+            log "${KEYSUBMITTER} removed key ${KEYID} for ${ARCH} buildd ${BUILDD}, reason: ${COMMENT}"
             mv "${INCOMING}/${file}" "${base}/${ARCH}"
             continue
         fi