Gentoo Archives: gentoo-dev

From: Sebastian Pipping <sping@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Moving packages to dev-vcs
Date: Thu, 04 Mar 2010 21:08:28
Message-Id: 4B902136.8090106@gentoo.org
1 Hello!
2
3
4 So now that we have a new category "dev-vcs" we need to move suitable
5 stuff over there. Moving packages is complex and error prone:
6 This mail tries to guide you through and summarize the process, please
7 read on.
8
9 HINT: Please keep CVS' radius of operation small to reduce risks.
10
11
12 0. Prepare
13 ==========
14 - Check if your package fits:
15 Is it a "utility focused on version control"?
16
17 - Ensure that you have permission (if you are not the main maintainer)
18
19 - Sync the whole tree including profiles
20 (as you'll be inspecting reverse dependencies)
21
22
23 1. Copy
24 =======
25 - Duplicate any traces of dev-util/${PN} in profiles/ to dev-vcs/${PN}
26 (fgrep -Rw "dev-util/${PN}" profiles/)
27
28 - Copy complete package dev-util/${PN} to dev-vcs/${PN}
29 (watch out CVS directories)
30
31
32 2. Switch
33 =========
34 - Update eclasses
35 fgrep -w "dev-util/${PN}" eclass/*.eclass
36
37 - Update reverse dependencies
38 http://tinderbox.dev.gentoo.org/misc/dindex/dev-util/${PN}
39 http://tinderbox.dev.gentoo.org/misc/rindex/dev-util/${PN}
40 ^^^
41 fgrep -w "dev-util/${PN}" */*/*.ebuild
42
43 - Append "move dev-util/${PN} dev-vcs/${PN}" line to
44 profiles/updates/1Q-2010
45 (must come last, described in [1])
46
47
48 3. Remove
49 =========
50 - Remove package dev-util/${PN} from CVS (as in [2])
51 cd dev-util
52 cvs rm -Rf ${PN}
53 cvs ci -m "dev-util/${PN}: Remove (renamed to dev-vcs/${PN})" ${PN}
54 ^^^^^
55 - Remove any traces of dev-util/${PN} in profiles/
56
57
58 4. Notify
59 =========
60 - Report back problems with this process
61
62 - Mail fellow maintainers of dev-util/${PN} about the move
63
64 - If ${PN} is a big one (Subversion, Git, you know the list)
65 - Update documentation (now or open a bug at least, please)
66 - Drop sping@g.o. a mail to update references in Layman
67 - (Notify users and developers through Planet Gentoo?)
68
69
70 5. Final words
71 ==============
72 - Help for filling "profiles/updates" documentation is wanted,
73 it's currently _all empty_:
74 http://devmanual.gentoo.org/profiles/updates/index.html
75
76 - Feel free to CC yourself to dev-vcs bug #56967 [3]
77
78
79
80 Sebastian
81
82
83 [1]
84 http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=5#doc_chap6
85 [2]
86 http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=5#doc_chap7
87 [3] https://bugs.gentoo.org/show_bug.cgi?id=56967

Replies

Subject Author
Re: [gentoo-dev] Moving packages to dev-vcs Ulrich Mueller <ulm@g.o>
Re: [gentoo-dev] Moving packages to dev-vcs Markos Chandras <hwoarang@g.o>
Re: [gentoo-dev] Moving packages to dev-vcs "Robin H. Johnson" <robbat2@g.o>
Re: [gentoo-dev] Moving packages to dev-vcs Brian Harring <ferringb@×××××.com>
[gentoo-dev] Re: Moving packages to dev-vcs Ryan Hill <dirtyepic@g.o>
Re: [gentoo-dev] Moving packages to dev-vcs Serkan Kaba <serkan@g.o>
Re: [gentoo-dev] Moving packages to dev-vcs Jeroen Roovers <jer@g.o>
Re: [gentoo-dev] Moving packages to dev-vcs Fabian Groffen <grobian@g.o>
Re: [gentoo-dev] Moving packages to dev-vcs Sebastian Pipping <sping@g.o>