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 6F020138206
for ; Sun, 24 Apr 2016 00:48:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
by pigeon.gentoo.org (Postfix) with SMTP id 64A8621C007;
Sun, 24 Apr 2016 00:48:00 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by pigeon.gentoo.org (Postfix) with ESMTPS id DA01F21C007
for ; Sun, 24 Apr 2016 00:47:59 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.gentoo.org (Postfix) with ESMTPS id 4A578340CFE
for ; Sun, 24 Apr 2016 00:47:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
by oystercatcher.gentoo.org (Postfix) with ESMTP id ECE8379
for ; Sun, 24 Apr 2016 00:47:55 +0000 (UTC)
From: "Göktürk Yüksek"
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek"
Message-ID: <1461457299.41ede153d18e712ea0686f23f3571d2e444f1b5f.gokturk@gentoo>
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-maintenance/
X-VCS-Repository: proj/devmanual
X-VCS-Files: ebuild-maintenance/text.xml
X-VCS-Directories: ebuild-maintenance/
X-VCS-Committer: gokturk
X-VCS-Committer-Name: Göktürk Yüksek
X-VCS-Revision: 41ede153d18e712ea0686f23f3571d2e444f1b5f
X-VCS-Branch: master
Date: Sun, 24 Apr 2016 00:47:55 +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: 37bce9f8-d9fd-4983-8804-9e1ff2a41bd4
X-Archives-Hash: 0d468f7b14b4509368eff8a3e0adadb1
commit: 41ede153d18e712ea0686f23f3571d2e444f1b5f
Author: Göktürk Yüksek binghamton edu>
AuthorDate: Wed Apr 20 06:45:16 2016 +0000
Commit: Göktürk Yüksek binghamton edu>
CommitDate: Sun Apr 24 00:21:39 2016 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=41ede153
ebuild-maintenance: information for updating metadata on package move/removal
Per GLEP 68, metadata.xml supports referencing other packages using
the tag. It also allows package atoms to be specified as part of
the "restrict" attribute for various tags. These references should be
properly updated/removed upon package moves and removals.
Reported-by: NP-Hardass gentoo.org>
Signed-off-by: Göktürk Yüksek binghamton.edu>
ebuild-maintenance/text.xml | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/ebuild-maintenance/text.xml b/ebuild-maintenance/text.xml
index 66d736f..7cbe755 100644
--- a/ebuild-maintenance/text.xml
+++ b/ebuild-maintenance/text.xml
@@ -441,8 +441,12 @@ Next is checking the files under profiles/ such as
profiles/package.mask and update them to reflect the ebuild
move. Various eclasses automatically provide some of the dependencies upon
inherit, so the files under eclass/ should be checked and updated
-properly as well. Lastly, the titles of the open bugs related to the package
-should be updated.
+properly. If the package metadata.xml has tags with restrict
+attribute, they should be updated to reflect the move. The
+metadata.xml for various packages may contain references to the
+package being moved using the <pkg> tag which need to be
+updated accordingly as well. Lastly, the titles of the open bugs
+related to the package should be updated.
@@ -467,6 +471,12 @@ Here is an example where the package
Check the eclasses that may be referencing the package
+ Update all the
+ metadata.xml
+ files which contain a reference to this package using the
+ <pkg> tag or the restrict attribute.
+
+
Stage all the changed files using git add. For example: git add
profiles/package.mask
@@ -554,6 +564,11 @@ When removing packages follow these steps:
Wait 30 days (or more)
Remove from the git tree unless the reason for removal has been fixed
Remove package.mask entry
+
+ Remove the <pkg> tags referencing this package in the
+ metadata.xml
+ files of other packages.
+
Close open bugs as WONTFIX