Gentoo Archives: gentoo-dev

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

Replies