1 |
phreak 07/11/01 20:32:59 |
2 |
|
3 |
Modified: hb-introduction-new-devs.xml |
4 |
Log: |
5 |
Document the ssh master connection stuff (#197565, thanks to Markus). |
6 |
|
7 |
Revision Changes Path |
8 |
1.10 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.10&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml?rev=1.10&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.9&r2=1.10 |
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.9 |
18 |
retrieving revision 1.10 |
19 |
diff -u -r1.9 -r1.10 |
20 |
--- hb-introduction-new-devs.xml 7 Sep 2006 10:24:21 -0000 1.9 |
21 |
+++ hb-introduction-new-devs.xml 1 Nov 2007 20:32:58 -0000 1.10 |
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.9 2006/09/07 10:24:21 neysx Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-introduction-new-devs.xml,v 1.10 2007/11/01 20:32:58 phreak Exp $ --> |
28 |
|
29 |
<sections> |
30 |
-<version>1.0.2</version> |
31 |
-<date>2006-09-05</date> |
32 |
+<version>1.0.3</version> |
33 |
+<date>2007-11-01</date> |
34 |
|
35 |
<section> |
36 |
<title>Using CVS</title> |
37 |
@@ -118,6 +118,11 @@ |
38 |
files an ebuild references in its <c>SRC_URI</c> when making a digest. |
39 |
</p> |
40 |
|
41 |
+<note> |
42 |
+Due to the fact that the cvs checkout has no metadata cache, your portage may |
43 |
+become really slow |
44 |
+</note> |
45 |
+ |
46 |
<p> |
47 |
You can add <c>digest</c> to your <c>FEATURES</c>, letting |
48 |
Portage automatically create new digests. You can also add |
49 |
@@ -206,6 +211,34 @@ |
50 |
|
51 |
</body> |
52 |
</subsection> |
53 |
+<subsection> |
54 |
+<title>Speeding CVS up</title> |
55 |
+<body> |
56 |
+ |
57 |
+<p> |
58 |
+If you have noticable high ping times to the cvs server, you might want to use the ssh master slave |
59 |
+setup where you only connect to the other ssh server once and let it do the next commands over that |
60 |
+connection. This way you save the handshake overhead which may speed up the whole checkout/commit |
61 |
+by factor 3. Just add the code snipped given below to your config |
62 |
+</p> |
63 |
+ |
64 |
+<pre caption="~/.ssh/config"> |
65 |
+Host * |
66 |
+ ControlMaster auto |
67 |
+ ControlPath ~/.ssh/master-%r@%h:%p |
68 |
+</pre> |
69 |
+ |
70 |
+<p> |
71 |
+After doing so, you can enable a backgrounded master connection by running |
72 |
+</p> |
73 |
+ |
74 |
+<pre caption="Open Master connection in background"> |
75 |
+<comment>You can look the meaning of the parameters up in the manpage of ssh</comment> |
76 |
+$ ssh -M -N -f ${USER}@cvs.gentoo.org |
77 |
+</pre> |
78 |
+ |
79 |
+</body> |
80 |
+</subsection> |
81 |
</section> |
82 |
|
83 |
<section> |
84 |
|
85 |
|
86 |
|
87 |
-- |
88 |
gentoo-commits@g.o mailing list |