1 |
nightmorph 10/04/26 19:17:55 |
2 |
|
3 |
Modified: hb-introduction-new-devs.xml |
4 |
Log: |
5 |
unlink dead keychain project, replace links to maintained keychain guide, fix GuideXML |
6 |
|
7 |
Revision Changes Path |
8 |
1.15 xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml?rev=1.15&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml?rev=1.15&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml?r1=1.14&r2=1.15 |
13 |
|
14 |
Index: hb-introduction-new-devs.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml,v |
17 |
retrieving revision 1.14 |
18 |
retrieving revision 1.15 |
19 |
diff -u -r1.14 -r1.15 |
20 |
--- hb-introduction-new-devs.xml 19 Sep 2009 16:43:42 -0000 1.14 |
21 |
+++ hb-introduction-new-devs.xml 26 Apr 2010 19:17:54 -0000 1.15 |
22 |
@@ -4,11 +4,11 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml,v 1.14 2009/09/19 16:43:42 beandog Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml,v 1.15 2010/04/26 19:17:54 nightmorph Exp $ --> |
28 |
|
29 |
<sections> |
30 |
-<version>1.0.4</version> |
31 |
-<date>2008-05-03</date> |
32 |
+<version>1.1</version> |
33 |
+<date>2010-04-26</date> |
34 |
|
35 |
<section> |
36 |
<title>Using CVS</title> |
37 |
@@ -65,7 +65,7 @@ |
38 |
</p> |
39 |
|
40 |
<pre caption="Checking out gentoo-x86"> |
41 |
-# cvs -d username@××××××××××.org:/var/cvsroot co gentoo-x86 |
42 |
+$ <i>cvs -d username@××××××××××.org:/var/cvsroot co gentoo-x86</i> |
43 |
</pre> |
44 |
|
45 |
<p> |
46 |
@@ -76,8 +76,8 @@ |
47 |
</p> |
48 |
|
49 |
<pre caption="Updating in gentoo-x86"> |
50 |
-# cd gentoo-x86 |
51 |
-# cvs update |
52 |
+$ <i>cd gentoo-x86</i> |
53 |
+$ <i>cvs update</i> |
54 |
</pre> |
55 |
|
56 |
<p> |
57 |
@@ -87,7 +87,7 @@ |
58 |
</p> |
59 |
|
60 |
<pre caption="Checking out portage"> |
61 |
-# svn co svn+ssh://username@××××××××××.org/var/svnroot/portage |
62 |
+$ <i>svn co svn+ssh://username@××××××××××.org/var/svnroot/portage</i> |
63 |
</pre> |
64 |
|
65 |
</body> |
66 |
@@ -131,27 +131,27 @@ |
67 |
|
68 |
<pre caption="Adding a package"> |
69 |
<comment>(Replace CVSROOT with the location of your checked-out CVS tree.)</comment> |
70 |
-# cd $CVSROOT/app-misc |
71 |
+$ <i>cd $CVSROOT/app-misc</i> |
72 |
<comment>(Always update before working in part of the CVS tree!)</comment> |
73 |
-# cvs update |
74 |
-# mkdir foo |
75 |
+$ <i>cvs update</i> |
76 |
+$ <i>mkdir foo</i> |
77 |
<comment>(Here, we add the package directory foo to the CVS repository.)</comment> |
78 |
-# cvs add foo |
79 |
-# cd foo |
80 |
+$ <i>cvs add foo</i> |
81 |
+$ <i>cd foo</i> |
82 |
<comment>(It's better to keep in-progress ebuilds in an overlay outside of your CVS tree.)</comment> |
83 |
-# cp /path/to/foo-1.0.ebuild ./ |
84 |
+$ <i>cp /path/to/foo-1.0.ebuild ./</i> |
85 |
<comment>(Make sure PORTDIR_OVERLAY is set to the CVS directory when creating manifests.)</comment> |
86 |
-# repoman manifest |
87 |
-# ${EDITOR} metadata.xml |
88 |
+$ <i>repoman manifest</i> |
89 |
+$ <i>${EDITOR} metadata.xml</i> |
90 |
<comment>You don't necessarily need a files directory any more</comment> |
91 |
-# cvs add foo-1.0.ebuild metadata.xml files |
92 |
+$ <i>cvs add foo-1.0.ebuild metadata.xml files</i> |
93 |
<comment>[Don't forget to create a ChangeLog - see the man page for echangelog.]</comment> |
94 |
-# echangelog "New ebuild for foo. Ebuild written by me. Fixes bug #XXXXXX." |
95 |
+$ <i>echangelog "New ebuild for foo. Ebuild written by me. Fixes bug #XXXXXX."</i> |
96 |
</pre> |
97 |
|
98 |
<p> |
99 |
-See the <uri link="?part=2&chap=4">Gentoo |
100 |
-Metadata</uri> section for more information on metadata.xml. |
101 |
+See the <uri link="?part=2&chap=4">Gentoo Metadata</uri> section for more |
102 |
+information on <path>metadata.xml</path>. |
103 |
</p> |
104 |
|
105 |
<p> |
106 |
@@ -160,9 +160,9 @@ |
107 |
</p> |
108 |
|
109 |
<pre caption="Removing old versions"> |
110 |
-# cd CVSROOT/app-misc/foo |
111 |
-# cvs update |
112 |
-# cvs remove -f foo-1.0.ebuild |
113 |
+$ <i>cd CVSROOT/app-misc/foo</i> |
114 |
+$ <i>cvs update</i> |
115 |
+$ <i>cvs remove -f foo-1.0.ebuild</i> |
116 |
</pre> |
117 |
|
118 |
<p> |
119 |
@@ -176,19 +176,20 @@ |
120 |
<body> |
121 |
|
122 |
<p> |
123 |
-Always use <c>repoman commit</c> rather than <c>cvs commit</c>. Repoman is a quality assurance (QA) |
124 |
-tool that performs basic checks and creates Manifests. If any part of repoman's output is unclear, |
125 |
-please see <c>man repoman</c>. Additionally, you may tire of entering your key passphrase repeatedly; |
126 |
-keychain (<uri>http://www.gentoo.org/proj/en/keychain.xml</uri>) can help you. |
127 |
+Always use <c>repoman commit</c> rather than <c>cvs commit</c>. Repoman is a |
128 |
+quality assurance (QA) tool that performs basic checks and creates Manifests. If |
129 |
+any part of repoman's output is unclear, please see <c>man repoman</c>. |
130 |
+Additionally, you may tire of entering your key passphrase repeatedly; keychain |
131 |
+(<uri>http://www.gentoo.org/doc/en/keychain-guide.xml</uri>) can help you. |
132 |
</p> |
133 |
|
134 |
<pre caption="Using repoman"> |
135 |
<comment>[Make sure there are no root-owned files present prior to running repoman!]</comment> |
136 |
<comment>("scan" scans the current directory for QA issues. "full" is more complete.)</comment> |
137 |
-# repoman scan |
138 |
+$ <i>repoman scan</i> |
139 |
<comment>("commit" does a scan, then commits, while also updating the Manifest. Make sure you |
140 |
add a verbose and useful CVS ChangeLog message...)</comment> |
141 |
-# repoman commit |
142 |
+$ <i>repoman commit</i> |
143 |
</pre> |
144 |
|
145 |
</body> |
146 |
@@ -198,10 +199,11 @@ |
147 |
<body> |
148 |
|
149 |
<p> |
150 |
-If you have noticable high ping times to the cvs server, you might want to use the ssh master slave |
151 |
-setup where you only connect to the other ssh server once and let it do the next commands over that |
152 |
-connection. This way you save the handshake overhead which may speed up the whole checkout/commit |
153 |
-by factor 3. Just add the code snipped given below to your config |
154 |
+If you have noticable high ping times to the cvs server, you might want to use |
155 |
+the ssh master slave setup where you only connect to the other ssh server once |
156 |
+and let it do the next commands over that connection. This way you save the |
157 |
+handshake overhead which may speed up the whole checkout/commit by factor 3. |
158 |
+Just add the code snippet given below to your config. |
159 |
</p> |
160 |
|
161 |
<pre caption="~/.ssh/config"> |
162 |
@@ -211,12 +213,12 @@ |
163 |
</pre> |
164 |
|
165 |
<p> |
166 |
-After doing so, you can enable a backgrounded master connection by running |
167 |
+After doing so, you can enable a backgrounded master connection by running: |
168 |
</p> |
169 |
|
170 |
<pre caption="Open Master connection in background"> |
171 |
<comment>You can look the meaning of the parameters up in the manpage of ssh</comment> |
172 |
-$ ssh -M -N -f ${USER}@cvs.gentoo.org |
173 |
+$ <i>ssh -M -N -f ${USER}@cvs.gentoo.org</i> |
174 |
</pre> |
175 |
|
176 |
</body> |
177 |
@@ -250,8 +252,8 @@ |
178 |
|
179 |
<p> |
180 |
Developers have access to webhosting, http://dev.gentoo.org/~$YOURNAME. Please |
181 |
-see the <uri link="http://www.gentoo.org/proj/en/infrastructure/dev-webspace.xml"> |
182 |
-Webspace Configuration Guide</uri> for details. |
183 |
+see the <uri link="/proj/en/infrastructure/dev-webspace.xml">Webspace |
184 |
+Configuration Guide</uri> for details. |
185 |
</p> |
186 |
|
187 |
</body> |