Gentoo Archives: gentoo-dev

From: Gokturk Yuksek <gokturk@××××××××××.edu>
To: gentoo-dev@l.g.o, gentoo-doc@l.g.o
Cc: Gokturk Yuksek <gokturk@××××××××××.edu>
Subject: [gentoo-dev] [PATCH 11/16] ebuild-maintenance: rewrite the subsection on moving ebuilds for git #558642
Date: Sun, 17 Jan 2016 08:03:24
Message-Id: 1453017319-2459-12-git-send-email-gokturk@binghamton.edu
In Reply to: [gentoo-dev] [PATCH 00/16] devmanual: update the docs for post git-migration #558642 by Gokturk Yuksek
1 Substitute the mentions of CVS with git.
2 Rewrite CVS commands with their git equivalents.
3 Remove the paragraph about deleting directories in CVS.
4
5 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=558642
6 Signed-off-by: Gokturk Yuksek <gokturk@××××××××××.edu>
7
8 diff --git a/ebuild-maintenance/text.xml b/ebuild-maintenance/text.xml
9 index a1d92a1..8c542d0 100644
10 --- a/ebuild-maintenance/text.xml
11 +++ b/ebuild-maintenance/text.xml
12 @@ -298,7 +298,7 @@ Moving ebuilds is a two-step process:
13 </p>
14
15 <p>
16 -Firstly, you need to move the ebuild in CVS. To do this, you should
17 +Firstly, you need to move the ebuild in the git tree. To do this, you should
18 copy the ebuild to its new location and commit that as you would with
19 a <uri link="#adding-a-new-ebuild">new ebuild</uri>.
20 </p>
21 @@ -323,23 +323,17 @@ for <path>net-firewall/fwbuilder</path> when they are available.
22
23 <p>
24 Once this step is concluded, you are allowed to remove the old package.
25 -Simply issue a <c>cvs remove -Rf $PN</c> in the package category and commit
26 +Simply issue a <c>git rm -rf $PN</c> in the package category and commit
27 the changes afterwards with a meaningful commit message. Don't forget to update
28 entries in files such as profiles/package.mask to reflect the new category. Finally
29 remember to change the title to open bugs related to this package if needed.
30 </p>
31
32 <pre caption="Removing a package">
33 -net-misc # cvs rm -Rf fwbuilder
34 -cvs remove: use `cvs commit' to remove these files permanently
35 -net-misc # cvs ci -m "Moving net-misc/fwbuilder to net-firewall/fwbuilder."
36 +net-misc # git rm -rf fwbuilder
37 +net-misc # git commit --gpg-sign -m "Moving net-misc/fwbuilder to net-firewall/fwbuilder."
38 </pre>
39
40 -<note>
41 -CVS cannot destroy directories: it will simply not re-create them if
42 -they are blank, providing you use CVS with the <c>-P</c> flag.
43 -</note>
44 -
45 </body>
46 </section>
47
48 --
49 2.4.10

Replies