Gentoo Archives: gentoo-dev

From: gokturk@××××××××××.edu
To: devmanual@g.o
Cc: gentoo-dev@l.g.o, Gokturk Yuksek <gokturk@××××××××××.edu>
Subject: [gentoo-dev] [PATCH v3 13/21] ebuild-maintenance: rewrite the subsection on removing packages for git #558642
Date: Thu, 04 Feb 2016 01:06:43
Message-Id: 1454547469-22487-14-git-send-email-gokturk@binghamton.edu
In Reply to: [gentoo-dev] [PATCH v3 00/21] devmanual: update the docs for post git-migration by gokturk@binghamton.edu
1 From: Gokturk Yuksek <gokturk@××××××××××.edu>
2
3 Substitute the mentions of CVS with git.
4 Rewrite CVS commands with their git equivalents.
5 Remove the paragraph about deleting directories in CVS.
6
7 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=558642
8 Signed-off-by: Gokturk Yuksek <gokturk@××××××××××.edu>
9 ---
10 ebuild-maintenance/text.xml | 28 +++++++++++++++++++++-------
11 1 file changed, 21 insertions(+), 7 deletions(-)
12
13 diff --git a/ebuild-maintenance/text.xml b/ebuild-maintenance/text.xml
14 index d388d6d..b9c6327 100644
15 --- a/ebuild-maintenance/text.xml
16 +++ b/ebuild-maintenance/text.xml
17 @@ -428,20 +428,34 @@ When removing packages follow these steps:
18 <li>Send last rites to gentoo-dev-announce and gentoo-dev</li>
19 <li>Mask the package</li>
20 <li>Wait 30 days (or more)</li>
21 - <li>Remove from CVS unless the reason for removal has been fixed</li>
22 + <li>Remove from the git tree unless the reason for removal has been fixed</li>
23 <li>Remove package.mask entry</li>
24 <li>Close open bugs as WONTFIX</li>
25 </ol>
26
27 <p>
28 -In order to remove a package completely from CVS, delete any files from the
29 -directory and commit this, CVS will take care of removing empty directories
30 -itself.
31 +Here is a list of commands that will delete <path>dev-util/pmk</path>
32 +from the tree:
33 </p>
34
35 -<pre caption="Removing a package from CVS"><comment>#</comment> <keyword>cd</keyword> app-admin
36 -<comment>#</comment> <keyword>cvs</keyword> rm -Rf scotty
37 -<comment>#</comment> <keyword>cvs</keyword> ci -m "app-admin/scotty removal (pending 21st July 2006), see #77501 for reference." scotty</pre>
38 +<pre caption="Removing a package from git">
39 +<comment>#</comment> <keyword>cd</keyword> dev-util
40 +<comment>#</comment> <keyword>git</keyword> rm -rf pmk
41 +<comment>#</comment> <keyword>git</keyword> commit --gpg-sign</pre>
42 +
43 +<p>
44 +An example commit message is shown below:
45 +</p>
46 +
47 +<pre caption="Package removal commit message">
48 +commit e0bbcf8291501dc7de6b4b120d4372061367dd7a
49 +Author: Michael Palimaka &lt;kensington@g.o&gt;
50 +Date: Fri Jan 29 07:11:01 2016 +1100
51 +
52 + dev-util/pmk: remove last-rited package
53 +
54 + Gentoo-bug: 541522
55 +</pre>
56
57 </body>
58 </section>
59 --
60 2.4.10