From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45C29138350 for ; Mon, 20 Apr 2020 08:02:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C64E3E0AC1; Mon, 20 Apr 2020 08:02:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79D99E0AAC for ; Mon, 20 Apr 2020 08:02:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D16E34F0CE for ; Mon, 20 Apr 2020 08:02:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 213BF1E8 for ; Mon, 20 Apr 2020 08:02:20 +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: <1587055861.99492cb137c6ec5bb324103413a7848f371790e2.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/misc-files/metadata/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/misc-files/metadata/text.xml X-VCS-Directories: ebuild-writing/misc-files/metadata/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 99492cb137c6ec5bb324103413a7848f371790e2 X-VCS-Branch: master Date: Mon, 20 Apr 2020 08:02:20 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 709dc202-f2ad-4f9e-ba4b-0cdd581f0986 X-Archives-Hash: 14d2e1f40f6cf071847006552b157fba commit: 99492cb137c6ec5bb324103413a7848f371790e2 Author: Ulrich Müller gentoo org> AuthorDate: Thu Apr 16 12:56:42 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Apr 16 16:51:01 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=99492cb1 ebuild-writing/misc-files/metadata: Add example code for m-n detection. Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/misc-files/metadata/text.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ebuild-writing/misc-files/metadata/text.xml b/ebuild-writing/misc-files/metadata/text.xml index abc5a3e..6cf7609 100644 --- a/ebuild-writing/misc-files/metadata/text.xml +++ b/ebuild-writing/misc-files/metadata/text.xml @@ -636,8 +636,16 @@ Maintainer-needed, or orphaned, packages have no maintainers responsible for them. Per GLEP 67, these packages must not contain any <maintainer> -subtags under <pkgmetadata> in their metadata.xml. By -convention, a comment line containing the string maintainer-needed +subtags under <pkgmetadata> in their metadata.xml. A strict test +for this condition would be: +

+ +
+[[ $(xmllint --xpath "count(/pkgmetadata/maintainer)" metadata.xml) -eq 0 ]]
+
+ +

+By convention, a comment line containing the string maintainer-needed is inserted. Other tags which are relevant to the package may be present in the metadata. Bugs for these packages must be assigned to maintainer-needed@gentoo.org. The QA team periodically generates the