From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3C0E4138CA2 for ; Fri, 24 Apr 2015 16:38:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6FC2E06FE; Fri, 24 Apr 2015 16:38:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66564E06FE for ; Fri, 24 Apr 2015 16:38:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FE50340B35 for ; Fri, 24 Apr 2015 16:38:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51D0116A52 for ; Fri, 24 Apr 2015 16:38:37 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1429893468.87f00cc87400b9d0621d547f48911d0af6285596.ulm@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: maintainer-needed.sh X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 87f00cc87400b9d0621d547f48911d0af6285596 X-VCS-Branch: master Date: Fri, 24 Apr 2015 16:38:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 446fa719-948b-4e75-8588-eb9a931dd0a8 X-Archives-Hash: d0c414643c0e8390b738e7ed36930838 commit: 87f00cc87400b9d0621d547f48911d0af6285596 Author: Markos Chandras gentoo org> AuthorDate: Sat Apr 18 10:41:25 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Apr 24 16:37:48 2015 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=87f00cc8 maintainer-needed.sh: Add script to list maintainer-needed packages Replacement for https://wwwold.gentoo.org/proj/en/qa/treecleaners/maintainer-needed.xml maintainer-needed.sh | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/maintainer-needed.sh b/maintainer-needed.sh new file mode 100755 index 0000000..e2c189b --- /dev/null +++ b/maintainer-needed.sh @@ -0,0 +1,49 @@ +#!/bin/bash +# Copyright 2015 Gentoo Foundation +# Distributed under the terms of the GNU GPL version 2 or later +# Author: Markos Chandras + +tmpfile="/tmp/mn-pkglist$$.tmp" + +cleanup () { + [[ -e ${tmpfile} ]] && rm ${tmpfile} +} + +portageq --maintainer-email=maintainer-needed@gentoo.org -n > ${tmpfile} || { cleanup; exit 1; } + +echo """ + + + + Orphan packages + + + List generated on $(date)
+ Total packages: $(wc -l ${tmpfile} | cut -d ' ' -f1)

+ + + + + + +""" + +while read pkg; do + echo """ + + + + + + """ +done < ${tmpfile} + +echo """ +
Package NameDescriptionOpen bugs
${pkg}$(pquery --one-attr description ${pkg} | tail -n 1)Open Bugs
+ + +""" + +cleanup + +exit 0