r5210 - in trunk/editor-manual: chapter01 chapter02

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sat May 7 10:32:04 PDT 2005


Author: jhuntwork
Date: 2005-05-07 11:32:03 -0600 (Sat, 07 May 2005)
New Revision: 5210

Added:
   trunk/editor-manual/chapter02/anonsvn.xml
   trunk/editor-manual/chapter02/svnssh.xml
Removed:
   trunk/editor-manual/chapter02/anoncvs.xml
   trunk/editor-manual/chapter02/cvsssh.xml
Modified:
   trunk/editor-manual/chapter01/changelog.xml
   trunk/editor-manual/chapter02/chapter02.xml
Log:
More updates to the text and instructions in chapter 2

Modified: trunk/editor-manual/chapter01/changelog.xml
===================================================================
--- trunk/editor-manual/chapter01/changelog.xml	2005-05-07 17:18:55 UTC (rev 5209)
+++ trunk/editor-manual/chapter01/changelog.xml	2005-05-07 17:32:03 UTC (rev 5210)
@@ -35,7 +35,7 @@
      <listitem><para>Added a changelog, stylesheets and a Makefile.</para></listitem>
      <listitem><para>Updated text in the preface, swapped CVS for Subversion.</para></listitem>
      <listitem><para>Updated text in Chapter01/introduction.</para></listitem>
-     <listitem><para>Updated text in Chapter02/introduction.</para></listitem>
+     <listitem><para>Updated text in Chapter02.</para></listitem>
     </itemizedlist>
    </listitem>
   </itemizedlist>

Deleted: trunk/editor-manual/chapter02/anoncvs.xml
===================================================================
--- trunk/editor-manual/chapter02/anoncvs.xml	2005-05-07 17:18:55 UTC (rev 5209)
+++ trunk/editor-manual/chapter02/anoncvs.xml	2005-05-07 17:32:03 UTC (rev 5210)
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch02-anoncvs">
-<title>Anonymous Access</title>
-<?dbhtml filename="anoncvs.html"?>
-
-<para>To get anonymous access, simply use the following commands (note
-that these assume you are using bash or a similar shell:</para>
-
-<para><screen><userinput>export CVSROOT=:pserver:anonymous at cvs.linuxfromscratch.org:/home/cvsroot &&
-cvs login &&
-cvs checkout BLFS</userinput></screen></para>
-
-<para>When prompted for a password, just hit enter.</para>
-
-<para>This will create the LFS directory and copy the current working
-tree into it.  When you wish to update your local copy (often called a
-sandbox), simply cd into the directory and run:
-<screen><userinput>cvs update</userinput></screen></para>
-
-</sect1>

Copied: trunk/editor-manual/chapter02/anonsvn.xml (from rev 5201, trunk/editor-manual/chapter02/anoncvs.xml)
===================================================================
--- trunk/editor-manual/chapter02/anoncvs.xml	2005-05-07 15:56:06 UTC (rev 5201)
+++ trunk/editor-manual/chapter02/anonsvn.xml	2005-05-07 17:32:03 UTC (rev 5210)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch02-anonsvn">
+<title>Anonymous Access</title>
+<?dbhtml filename="anonsvn.html"?>
+
+<para>To get anonymous access, simply use the following commands (note
+that these assume you are using bash or a similar shell:</para>
+
+<screen><userinput>svn co svn://svn.linuxfromscratch.org/LFS/trunk/BOOK lfs-trunk</userinput></screen>
+
+<para>This will "check out" the current revision of the LFS book into
+a directory named "lfs-trunk".  When you wish to update your local copy (often called a
+sandbox), simply cd into the directory and run:</para>
+
+<screen><userinput>svn up</userinput></screen>
+
+</sect1>

Modified: trunk/editor-manual/chapter02/chapter02.xml
===================================================================
--- trunk/editor-manual/chapter02/chapter02.xml	2005-05-07 17:18:55 UTC (rev 5209)
+++ trunk/editor-manual/chapter02/chapter02.xml	2005-05-07 17:32:03 UTC (rev 5210)
@@ -10,8 +10,8 @@
 <?dbhtml dir="chapter02"?>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="anoncvs.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cvsssh.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="anonsvn.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="svnssh.xml"/>
 
 </chapter>
 

Deleted: trunk/editor-manual/chapter02/cvsssh.xml
===================================================================
--- trunk/editor-manual/chapter02/cvsssh.xml	2005-05-07 17:18:55 UTC (rev 5209)
+++ trunk/editor-manual/chapter02/cvsssh.xml	2005-05-07 17:32:03 UTC (rev 5210)
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../general.ent">
-  %general-entities;
-]>
-
-<sect1 id="ch02-cvsssh">
-<title>CVS SSH Access (for editors)</title>
-<?dbhtml filename="cvsssh.html"?>
-
-<para>For editors, access is slightly more complicated. You first of
-all need to generate yourself an ssh key-pair. You then need to upload
-your public key into your <filename>~/.ssh</filename> directory on
-belgarath. To generate the keys run:</para>
-
-<para><screen><userinput>ssh-keygen -t dsa</userinput></screen></para>
-
-<para>When prompted as to where to save them, it's probably best to leave
-them in .ssh (as <filename>id_dsa</filename> and
-<filename>id_dsa.pub</filename>) unless you already have ssh keys there.
-When prompted for a passphrase just press enter (unless you want to have
-to give the phrase <emphasis>every</emphasis> time you perform a cvs
-operation.  Having generated your keys, upload
-<filename>~/.ssh/id_dsa.pub</filename> to belgarath and move it to
-<filename>~/.ssh/authorized_keys2</filename> <emphasis>on
-belgarath</emphasis>.  (Your local copy of <filename>id_dsa</filename>
-and <filename>id_dsa.pub</filename> should remain untouched by
-this.)</para>
-
-<para>Once you've done this, you need to set environment variables like
-this:</para>
-
-<para><screen><userinput>export CVS_RSH=ssh &&
-export CVSROOT=:ext:USERNAME at cvs.linuxfromscratch.org:/home/cvsroot</userinput></screen></para>
-
-<para>Replace <emphasis>USERNAME</emphasis> with your belgarath username.</para>
-
-<para>Once you have this setup, try to checkout the LFS tree by
-running:</para>
-
-<para><screen><userinput>cvs checkout BLFS</userinput></screen></para>
-
-<para>If this works, you'll get the LFS directory listing and you have
-your own sandbox.  You also have write access so from now on be extra
-careful but note that <emphasis>no</emphasis> changes will be made until
-you use a <userinput>cvs commit</userinput> command.</para>
-
-<para>As with anonymous access, you can update your local copy by simply
-cd'ing into the LFS directory and running:</para>
-
-<para><screen><userinput>cvs update</userinput></screen></para>
-
-</sect1>

Copied: trunk/editor-manual/chapter02/svnssh.xml (from rev 5201, trunk/editor-manual/chapter02/cvsssh.xml)
===================================================================
--- trunk/editor-manual/chapter02/cvsssh.xml	2005-05-07 15:56:06 UTC (rev 5201)
+++ trunk/editor-manual/chapter02/svnssh.xml	2005-05-07 17:32:03 UTC (rev 5210)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch02-svnssh">
+<title>CVS SSH Access (for editors)</title>
+<?dbhtml filename="svnssh.html"?>
+
+<para>For editors, access is slightly more complicated. You first of
+all need to generate yourself an ssh key-pair. You then need to upload
+your public key into your <filename>~/.ssh</filename> directory on
+belgarath. To generate the keys run:</para>
+
+<para><screen><userinput>ssh-keygen -t dsa</userinput></screen></para>
+
+<para>When prompted as to where to save them, it's probably best to leave
+them in .ssh (as <filename>id_dsa</filename> and
+<filename>id_dsa.pub</filename>) unless you already have ssh keys there.
+When prompted for a passphrase just press enter (unless you want to have
+to give the phrase <emphasis>every</emphasis> time you perform a cvs
+operation.  Having generated your keys, upload
+<filename>~/.ssh/id_dsa.pub</filename> to belgarath and move it to
+<filename>~/.ssh/authorized_keys2</filename> <emphasis>on
+belgarath</emphasis>.  (Your local copy of <filename>id_dsa</filename>
+and <filename>id_dsa.pub</filename> should remain untouched by
+this.) Make sure that the ~/.ssh directory on belgarath is mode 700:</para>
+
+<screen><userinput>chmod -R 700 ~/.ssh</userinput></screen>
+
+<para>Once you have this setup, try to checkout the latestt LFS book revision by
+running:</para>
+
+<screen><userinput>svn co svn+ssh://svn.linuxfromscratch.org/LFS/trunk/BOOK lfs-trunk
+</userinput></screen>
+
+<para>If this works, you'll pull the current book into lfs-trunk and you
+will have your own local working copy.  You will also have write access so from
+now on be extra careful, but note that <emphasis>no</emphasis> changes will be made until
+you use a <userinput>svn ci</userinput> command.</para>
+
+<para>As with anonymous access, you can update your local copy by simply
+cd'ing into the LFS directory and running:</para>
+
+<para><screen><userinput>svn up</userinput></screen></para>
+
+</sect1>




More information about the lfs-book mailing list