From svnbook at googlecode.com Sun Dec 4 11:03:42 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Sun, 04 Dec 2011 17:03:42 +0000 Subject: [svnbook] r4230 committed - * Authentication Options, part 1 (cf.... Message-ID: <20cf3074d32232f19d04b3472f0f@google.com> Revision: 4230 Author: jmfelderhoff at gmx.eu Date: Sun Dec 4 09:02:49 2011 Log: * Authentication Options, part 1 (cf. http://www.svnbook.de/ticket/319). http://code.google.com/p/svnbook/source/detail?r=4230 Modified: /branches/1.5/de/book/ch06-server-configuration.xml ======================================= --- /branches/1.5/de/book/ch06-server-configuration.xml Tue Nov 29 10:35:57 2011 +++ /branches/1.5/de/book/ch06-server-configuration.xml Sun Dec 4 09:02:49 2011 @@ -3383,11 +3383,19 @@ + + Authentifizierungsoptionen + + + Falls Sie httpd.conf dergestalt + konfiguriert haben, so dass sie etwa den folgenden Eintrag + enth?lt: <Location /svn> @@ -3396,13 +3404,22 @@ </Location> + + kann die Welt anonym auf Ihr Projektarchiv + zugreifen. Bis Sie Authentifizierungs- und + Autorisierungsrichtlinien konfiguriert haben, sind die ?ber + die Direktive Location zur Verf?gung + gestellten Projektarchive allgemein f?r jedermann zugreifbar. + Mit anderen Worten: + + + + + Jeder kann mit einem Subversion-Client eine + Arbeitskopie eines Projektarchiv-URLs (oder irgendeins der + Unterverzeichnisse) auschecken. + + + Jeder kann interaktiv die letzte Revision des + Projektarchivs durchst?bern, indem der Projektarchiv-URL + einfach mit einem Web-Browser ge?ffnet wird. + + + Jeder kann an das Projektarchiv ?bergeben. + + + + + Nat?rlich kann es sein, dass Sie schon l?ngst ein + pre-commit Hook-Skript bereitgestellt + haben, um ?bergaben zu verhindern (siehe ). Sie werden jedoch + beim Weiterlesen feststellen, dass es m?glich ist, die + eingebauten Methoden von Apache zu verwenden, um den Zugriff + auf bestimmte Art und Weise einzuschr?nken. From d.s at daniel.shahaf.name Wed Dec 14 04:28:50 2011 From: d.s at daniel.shahaf.name (Daniel Shahaf) Date: Wed, 14 Dec 2011 12:28:50 +0200 Subject: [PATCH] Make a URL a link Message-ID: <20111214102850.GA3330@lp-shahaf.local> Index: index.en.html =================================================================== --- index.en.html (revision 4230) +++ index.en.html (working copy) @@ -133,7 +133,9 @@ to contribute a patch which fixes the problem (see below).
  • Check the XML sources to see if the problem still exists. You can grab these using Subversion itself, by checking out the trunk of our - Subversion repository at http://svnbook.googlecode.com/svn/trunk/. + Subversion repository at + http://svnbook.googlecode.com/svn/trunk/. If the problem is present in the latest book sources, please report the problem to the mailing list above or file a new From svnbook at googlecode.com Wed Dec 14 19:13:30 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 01:13:30 +0000 Subject: Issue 154 in svnbook: Chp 2, Basic Usage, Fix your mistakes, svn revert command Message-ID: <0-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 154 by smitatha... at gmail.com: Chp 2, Basic Usage, Fix your mistakes, svn revert command http://code.google.com/p/svnbook/issues/detail?id=154 The 1st example listing svn revert command looks like this: $ svn status README M foo <<<- Incorrect filename $ svn revert README Reverted 'README' $ svn status README $ Since we are talking about reverting the file README, the text should instead read as: $ svn status README M README <<<-- Changed this line $ svn revert README Reverted 'README' $ svn status README $ Please describe the problem you found. Try to avoid referring to "page numbers", as those are subject to change over time. If you need to, quote the book paragraph(s) that are incorrect, and recommend corrections. From svnbook at googlecode.com Thu Dec 15 12:44:24 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:44:24 +0000 Subject: [svnbook] r4231 committed - * en/book/ch02-basic-usage.xml... Message-ID: <20cf300fafbf92c6c404b425df92@google.com> Revision: 4231 Author: cmpilato at gmail.com Date: Thu Dec 15 10:43:39 2011 Log: * en/book/ch02-basic-usage.xml (svn.tour.cycle.revert): Fix issue 154 ("Chp 2, Basic Usage, Fix your mistakes, svn revert command"). While here, tweak a neighboring example for added clarity. Reported (partially) by: smitathaker{__AT__}gmail.com http://code.google.com/p/svnbook/source/detail?r=4231 Modified: /trunk/en/book/ch02-basic-usage.xml ======================================= --- /trunk/en/book/ch02-basic-usage.xml Wed Nov 9 12:21:35 2011 +++ /trunk/en/book/ch02-basic-usage.xml Thu Dec 15 10:43:39 2011 @@ -1188,7 +1188,7 @@ $ svn status README -M foo +M README $ svn revert README Reverted 'README' $ svn status README @@ -1206,14 +1206,14 @@ -$ svn status foo -? foo -$ svn add foo -A foo -$ svn revert foo -Reverted 'foo' -$ svn status foo -? foo +$ svn status new-file.txt +? new-file.txt +$ svn add new-file.txt +A new-file.txt +$ svn revert new-file.txt +Reverted 'new-file.txt' +$ svn status new-file.txt +? new-file.txt $ From svnbook at googlecode.com Thu Dec 15 12:48:27 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:48:27 +0000 Subject: [svnbook] r4232 committed - Merge r4231 fix from ^/trunk/en. Message-ID: <20cf300fafbf0a1f8704b425eef0@google.com> Revision: 4232 Author: cmpilato at gmail.com Date: Thu Dec 15 10:44:56 2011 Log: Merge r4231 fix from ^/trunk/en. http://code.google.com/p/svnbook/source/detail?r=4232 Modified: /branches/1.7/en /branches/1.7/en/book/ch02-basic-usage.xml ======================================= --- /branches/1.7/en/book/ch02-basic-usage.xml Wed Nov 9 12:21:35 2011 +++ /branches/1.7/en/book/ch02-basic-usage.xml Thu Dec 15 10:44:56 2011 @@ -1188,7 +1188,7 @@ $ svn status README -M foo +M README $ svn revert README Reverted 'README' $ svn status README @@ -1206,14 +1206,14 @@ -$ svn status foo -? foo -$ svn add foo -A foo -$ svn revert foo -Reverted 'foo' -$ svn status foo -? foo +$ svn status new-file.txt +? new-file.txt +$ svn add new-file.txt +A new-file.txt +$ svn revert new-file.txt +Reverted 'new-file.txt' +$ svn status new-file.txt +? new-file.txt $ From svnbook at googlecode.com Thu Dec 15 12:52:28 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:52:28 +0000 Subject: [svnbook] r4233 committed - Merge r4231 fix from ^/trunk/en. Message-ID: <20cf3074d6326daa0c04b425fc30@google.com> Revision: 4233 Author: cmpilato at gmail.com Date: Thu Dec 15 10:45:40 2011 Log: Merge r4231 fix from ^/trunk/en. http://code.google.com/p/svnbook/source/detail?r=4233 Modified: /branches/1.6/en /branches/1.6/en/book/ch02-basic-usage.xml ======================================= --- /branches/1.6/en/book/ch02-basic-usage.xml Fri Sep 30 06:03:32 2011 +++ /branches/1.6/en/book/ch02-basic-usage.xml Thu Dec 15 10:45:40 2011 @@ -1193,7 +1193,7 @@ $ svn status README -M foo +M README $ svn revert README Reverted 'README' $ svn status README @@ -1211,14 +1211,14 @@ -$ svn status foo -? foo -$ svn add foo -A foo -$ svn revert foo -Reverted 'foo' -$ svn status foo -? foo +$ svn status new-file.txt +? new-file.txt +$ svn add new-file.txt +A new-file.txt +$ svn revert new-file.txt +Reverted 'new-file.txt' +$ svn status new-file.txt +? new-file.txt $ From svnbook at googlecode.com Thu Dec 15 13:00:35 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 19:00:35 +0000 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... Message-ID: <20cf303347037317b604b42619b8@google.com> Revision: 4234 Author: cmpilato at gmail.com Date: Thu Dec 15 10:50:07 2011 Log: Linkify URL of source code repos. Patch by: danielsh. http://code.google.com/p/svnbook/source/detail?r=4234 Modified: /www/index.en.html ======================================= --- /www/index.en.html Fri Nov 11 13:47:53 2011 +++ /www/index.en.html Thu Dec 15 10:50:07 2011 @@ -133,7 +133,8 @@ to contribute a patch which fixes the problem (see below).
  • Check the XML sources to see if the problem still exists. You can grab these using Subversion itself, by checking out the trunk of our - Subversion repository at http://svnbook.googlecode.com/svn/trunk/. + Subversion repository at http://svnbook.googlecode.com/svn/trunk/. If the problem is present in the latest book sources, please report the problem to the mailing list above or file a new From svnbook at googlecode.com Thu Dec 15 12:56:32 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:56:32 +0000 Subject: Issue 154 in svnbook: Chp 2, Basic Usage, Fix your mistakes, svn revert command In-Reply-To: <0-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> References: <0-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> Message-ID: <1-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> Updates: Status: Fixed Labels: Milestone-en-1.6 Comment #1 on issue 154 by cmpil... at gmail.com: Chp 2, Basic Usage, Fix your mistakes, svn revert command http://code.google.com/p/svnbook/issues/detail?id=154 Fixed in trunk (r4231), 1.7 (r4232) and 1.6 (r4233). Thanks! From d.s at daniel.shahaf.name Fri Dec 16 10:34:42 2011 From: d.s at daniel.shahaf.name (Daniel Shahaf) Date: Fri, 16 Dec 2011 18:34:42 +0200 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... In-Reply-To: <20cf303347037317b604b42619b8@google.com> References: <20cf303347037317b604b42619b8@google.com> Message-ID: <20111216163442.GA17543@daniel3.local> Thanks. I sent two further patches from my @elego address, but haven't seen them on list...? svnbook at googlecode.com wrote on Thu, Dec 15, 2011 at 19:00:35 +0000: > Revision: 4234 > Author: cmpilato at gmail.com > Date: Thu Dec 15 10:50:07 2011 > Log: Linkify URL of source code repos. > > Patch by: danielsh. > http://code.google.com/p/svnbook/source/detail?r=4234 > > Modified: > /www/index.en.html > > ======================================= > --- /www/index.en.html Fri Nov 11 13:47:53 2011 > +++ /www/index.en.html Thu Dec 15 10:50:07 2011 > @@ -133,7 +133,8 @@ > to contribute a patch which fixes the problem (see below).
  • >
  • Check the XML sources to see if the problem still exists. You can > grab these using Subversion itself, by checking out the trunk of our > - Subversion repository at > http://svnbook.googlecode.com/svn/trunk/. > + Subversion repository at href="http://svnbook.googlecode.com/svn/trunk/" > + >http://svnbook.googlecode.com/svn/trunk/. > If the problem is present in the latest book sources, please > report the problem to the mailing list above or file > a new > > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev From cmpilato at red-bean.com Fri Dec 16 12:29:29 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Fri, 16 Dec 2011 13:29:29 -0500 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... In-Reply-To: <20111216163442.GA17543@daniel3.local> References: <20cf303347037317b604b42619b8@google.com> <20111216163442.GA17543@daniel3.local> Message-ID: <4EEB8E09.5010707@red-bean.com> I haven't moderated mail in a few days. Will look for your mails (and add your elego addy to the sender filter) when I do. On 12/16/2011 11:34 AM, Daniel Shahaf wrote: > Thanks. I sent two further patches from my @elego address, but haven't > seen them on list...? > > svnbook at googlecode.com wrote on Thu, Dec 15, 2011 at 19:00:35 +0000: >> Revision: 4234 >> Author: cmpilato at gmail.com >> Date: Thu Dec 15 10:50:07 2011 >> Log: Linkify URL of source code repos. >> >> Patch by: danielsh. >> http://code.google.com/p/svnbook/source/detail?r=4234 >> >> Modified: >> /www/index.en.html >> >> ======================================= >> --- /www/index.en.html Fri Nov 11 13:47:53 2011 >> +++ /www/index.en.html Thu Dec 15 10:50:07 2011 >> @@ -133,7 +133,8 @@ >> to contribute a patch which fixes the problem (see below).
  • >>
  • Check the XML sources to see if the problem still exists. You can >> grab these using Subversion itself, by checking out the trunk of our >> - Subversion repository at >> http://svnbook.googlecode.com/svn/trunk/. >> + Subversion repository at > href="http://svnbook.googlecode.com/svn/trunk/" >> + >http://svnbook.googlecode.com/svn/trunk/. >> If the problem is present in the latest book sources, please >> report the problem to the mailing list above or file >> a new >> >> _______________________________________________ >> svnbook-dev mailing list >> svnbook-dev at red-bean.com >> http://www.red-bean.com/mailman/listinfo/svnbook-dev > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev From cmpilato at red-bean.com Mon Dec 19 08:46:47 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Mon, 19 Dec 2011 09:46:47 -0500 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... In-Reply-To: <4EEB8E09.5010707@red-bean.com> References: <20cf303347037317b604b42619b8@google.com> <20111216163442.GA17543@daniel3.local> <4EEB8E09.5010707@red-bean.com> Message-ID: <4EEF4E57.8060701@red-bean.com> Doh! I accidentally discarded your two [PATCH] mails, Daniel! So sorry!! (I thought I was moderating a similarly named list that had nothing but spam in it at the time.) I was able to add your elego addy to the sender filter, though, so if you are able to resend the mails, they should pass through unhindered. On 12/16/2011 01:29 PM, C. Michael Pilato wrote: > I haven't moderated mail in a few days. Will look for your mails (and add > your elego addy to the sender filter) when I do. > > On 12/16/2011 11:34 AM, Daniel Shahaf wrote: >> Thanks. I sent two further patches from my @elego address, but haven't >> seen them on list...? >> >> svnbook at googlecode.com wrote on Thu, Dec 15, 2011 at 19:00:35 +0000: >>> Revision: 4234 >>> Author: cmpilato at gmail.com >>> Date: Thu Dec 15 10:50:07 2011 >>> Log: Linkify URL of source code repos. >>> >>> Patch by: danielsh. >>> http://code.google.com/p/svnbook/source/detail?r=4234 >>> >>> Modified: >>> /www/index.en.html >>> >>> ======================================= >>> --- /www/index.en.html Fri Nov 11 13:47:53 2011 >>> +++ /www/index.en.html Thu Dec 15 10:50:07 2011 >>> @@ -133,7 +133,8 @@ >>> to contribute a patch which fixes the problem (see below).
  • >>>
  • Check the XML sources to see if the problem still exists. You can >>> grab these using Subversion itself, by checking out the trunk of our >>> - Subversion repository at >>> http://svnbook.googlecode.com/svn/trunk/. >>> + Subversion repository at >> href="http://svnbook.googlecode.com/svn/trunk/" >>> + >http://svnbook.googlecode.com/svn/trunk/. >>> If the problem is present in the latest book sources, please >>> report the problem to the mailing list above or file >>> a new >>> >>> _______________________________________________ >>> svnbook-dev mailing list >>> svnbook-dev at red-bean.com >>> http://www.red-bean.com/mailman/listinfo/svnbook-dev >> _______________________________________________ >> svnbook-dev mailing list >> svnbook-dev at red-bean.com >> http://www.red-bean.com/mailman/listinfo/svnbook-dev > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev From cmpilato at red-bean.com Mon Dec 19 08:54:38 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Mon, 19 Dec 2011 09:54:38 -0500 Subject: Subversion book. In-Reply-To: References: Message-ID: <4EEF502E.7090507@red-bean.com> I just committed this change: Index: en/book/ch03-advanced-topics.xml =================================================================== --- en/book/ch03-advanced-topics.xml (revision 4234) +++ en/book/ch03-advanced-topics.xml (working copy) @@ -1627,9 +1627,8 @@ CR character present in Windows files as a regular character (usually rendered as ^M), and Windows programs combine all of the lines of a Unix file - into one giant line because no carriage return-linefeed (or - CRLF) character combination was found to - denote the ends of the lines. + into one giant line because no CR + characters are found to denote the ends of the lines. This sensitivity to foreign EOL markers can be frustrating for folks who share a file across different Thanks, John. On 11/15/2011 08:48 AM, John Maher wrote: > > Hello > > I just wanted to point out something that can be worded better in the > book. The paragraph:: > "Not all of the various tools on these operating systems understand files > that contain line endings in a format that differs from the native > line-ending style of the operating system on which they are running. So, > typically, Unix programs treat the CR character present in Windows files > as a regular character (usually rendered as ^M), and Windows programs > combine all of the lines of a Unix file into one giant line because no > carriage return-linefeed (or CRLF) character combination was found to > denote the ends of the lines." > > Is not correct in the latter part. The reason a Windows program all the > lines of a Unix file is because there is not because it is looking for a > CRLF. LF advances the printer 1 line and(usually)does nothing on the > screen. CR moves the cursor all the way to the left of a line on the > printer. On the screen itmoves the cursor all the way to the left AND > down one line. (Think LF is advancing the paper on a typewriter and CR is > sliding the paper holder (carriage) all the way to the right). You could > change all the LF to CR and see the lines in a more readable fasion. It > would be better if it said something like this: > > Windows programs combine all of the lines of a Unix file into one giant > line because no carriage return(or CR) character was found to denote the > ends of the lines. > > Windows adds the LF as a courtesy for old school printing. > > JPM > > > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From svnbook at googlecode.com Mon Dec 19 08:54:09 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Mon, 19 Dec 2011 14:54:09 +0000 Subject: [svnbook] r4235 committed - * en/book/ch03-advanced-topics.xml... Message-ID: <20cf303640cd7ec6cb04b4731f6e@google.com> Revision: 4235 Author: cmpilato at gmail.com Date: Mon Dec 19 06:53:39 2011 Log: * en/book/ch03-advanced-topics.xml Be a little more precise about why Windows programs combine all the lines of Unix textfile into one. Suggested by: John Maher http://code.google.com/p/svnbook/source/detail?r=4235 Modified: /trunk/en/book/ch03-advanced-topics.xml ======================================= --- /trunk/en/book/ch03-advanced-topics.xml Mon Nov 14 06:14:06 2011 +++ /trunk/en/book/ch03-advanced-topics.xml Mon Dec 19 06:53:39 2011 @@ -1627,9 +1627,8 @@ CR character present in Windows files as a regular character (usually rendered as ^M), and Windows programs combine all of the lines of a Unix file - into one giant line because no carriage return-linefeed (or - CRLF) character combination was found to - denote the ends of the lines. + into one giant line because no CR + characters are found to denote the ends of the lines. This sensitivity to foreign EOL markers can be frustrating for folks who share a file across different From danielsh at elego.de Mon Dec 19 17:51:36 2011 From: danielsh at elego.de (Daniel Shahaf) Date: Tue, 20 Dec 2011 01:51:36 +0200 Subject: Fwd: [Daniel Shahaf: [PATCH] ch06 additions] Message-ID: <20111219235136.GA3013@lp-shahaf.local> ----- Forwarded message from Daniel Shahaf ----- From: Daniel Shahaf Subject: [PATCH] ch06 additions To: svnbook-dev at red-bean.com Date: Wed, 14 Dec 2011 12:54:45 +0200 Message-ID: <20111214105444.GA3392 at lp-shahaf.local> A couple of random improvements: * clarify svn+ssh:// security issue * fix/add links * clarify man-in-the-middle attack scope Index: ch06-server-configuration.xml =================================================================== --- ch06-server-configuration.xml (revision 4230) +++ ch06-server-configuration.xml (working copy) @@ -1365,9 +1365,13 @@ baz simply setting auth-access = read or auth-access = none.Note that using any sort of svnserve-enforced - access control at all is a bit pointless; the user already has - direct access to the repository - database. + access control at all only makes sense if the users cannot + bypass it and access the repository directory directly using + other tools (such as cd and + vi); implementing + such restrictions is described later in this chapter, in + . You'd think that the story of SSH tunneling would end here, but it doesn't. Subversion allows you to create custom @@ -1608,7 +1612,7 @@ arding,no-X11-forwarding,no-pty TYPE1 KEY1 harry at e excellent documentation, publicly available on their web site at . For example, a general reference for the configuration directives is located at - . Also, as you make changes to your Apache setup, it is likely @@ -2413,7 +2417,9 @@ LoadModule authz_svn_module modules/mod_authz_sv It's beyond the scope of this book to describe how to generate client and server SSL certificates and how to configure Apache to use them. Many other references, - including Apache's own documentation, describe the process. + including Apache's own documentation (), + describe the process. SSL certificates from well-known entities generally @@ -2422,7 +2428,8 @@ LoadModule authz_svn_module modules/mod_authz_sv tool such as OpenSSL ().While self-signed certificates are still vulnerable to a man-in-the-middle - attack, such an attack is much more difficult for a casual + attack (before a client sees the certtificate for the first + time), such an attack is much more difficult for a casual observer to pull off, compared to sniffing unprotected passwords. ----- End forwarded message ----- From danielsh at elego.de Mon Dec 19 17:53:36 2011 From: danielsh at elego.de (Daniel Shahaf) Date: Tue, 20 Dec 2011 01:53:36 +0200 Subject: Fwd: [Daniel Shahaf: [PATCH] Update svn.collab.net reference] Message-ID: <20111219235336.GB3013@lp-shahaf.local> ----- Forwarded message from Daniel Shahaf ----- From: Daniel Shahaf Subject: [PATCH] Update svn.collab.net reference To: svnbook-dev at red-bean.com Date: Wed, 14 Dec 2011 13:13:41 +0200 Message-ID: <20111214110656.GA3407 at lp-shahaf.local> Status: RO Had to wordsmith this a bit to not describe /repos/asf/subversion as a 'repository'; we should fine a term for this entity. ('tree' doesn't sound right... 'forest'?) Also, svn.apache.org doesn't use Limit/LimitExcept directives for the https://.../repos/asf location --- even though it allows anonymous checkouts are possible from it. That would appear inconsistent with this documentation. [[[ Index: ch06-server-configuration.xml =================================================================== --- ch06-server-configuration.xml (revision 4230) +++ ch06-server-configuration.xml (working copy) @@ -2130,9 +2130,9 @@ Sometimes you don't need to run such a tight ship. For - example, Subversion's own source code repository at - allows anyone - in the world to perform read-only repository tasks (such as + example, the server hosting Subversion's own source code at + allows + anyone in the world to perform read-only repository tasks (such as checking out working copies and browsing the repository), but restricts write operations to authenticated users. The Limit and LimitExcept ]]] ----- End forwarded message ----- From cmpilato at red-bean.com Tue Dec 20 11:03:55 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Tue, 20 Dec 2011 12:03:55 -0500 Subject: Fwd: [Daniel Shahaf: [PATCH] Update svn.collab.net reference] In-Reply-To: <20111219235336.GB3013@lp-shahaf.local> References: <20111219235336.GB3013@lp-shahaf.local> Message-ID: <4EF0BFFB.7060007@red-bean.com> On 12/19/2011 06:53 PM, Daniel Shahaf wrote: > ----- Forwarded message from Daniel Shahaf ----- > > From: Daniel Shahaf > Subject: [PATCH] Update svn.collab.net reference > To: svnbook-dev at red-bean.com > Date: Wed, 14 Dec 2011 13:13:41 +0200 > Message-ID: <20111214110656.GA3407 at lp-shahaf.local> > Status: RO > > Had to wordsmith this a bit to not describe /repos/asf/subversion as > a 'repository'; we should fine a term for this entity. ('tree' doesn't > sound right... 'forest'?) The location ^/subversion in the repository is called a "project root". Is that what you're seeking a name for? Anyway, patch committed in r4237. Thanks. From cmpilato at red-bean.com Tue Dec 20 11:04:18 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Tue, 20 Dec 2011 12:04:18 -0500 Subject: Fwd: [Daniel Shahaf: [PATCH] ch06 additions] In-Reply-To: <20111219235136.GA3013@lp-shahaf.local> References: <20111219235136.GA3013@lp-shahaf.local> Message-ID: <4EF0C012.1060801@red-bean.com> On 12/19/2011 06:51 PM, Daniel Shahaf wrote: > ----- Forwarded message from Daniel Shahaf ----- > > From: Daniel Shahaf > Subject: [PATCH] ch06 additions > To: svnbook-dev at red-bean.com > Date: Wed, 14 Dec 2011 12:54:45 +0200 > Message-ID: <20111214105444.GA3392 at lp-shahaf.local> > > A couple of random improvements: > > * clarify svn+ssh:// security issue > * fix/add links > * clarify man-in-the-middle attack scope r4236. Thanks! From svnbook at googlecode.com Tue Dec 20 11:05:41 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Tue, 20 Dec 2011 17:05:41 +0000 Subject: [svnbook] r4237 committed - * en/book/ch06-server-configuration.xml... Message-ID: <20cf30334703c10d9a04b48913a5@google.com> Revision: 4237 Author: cmpilato at gmail.com Date: Tue Dec 20 09:03:19 2011 Log: * en/book/ch06-server-configuration.xml Update URL of Subversion's source code, wordsmithing a bit as the URL no longer points to the root of a repository, but a project root within the ASF's public repository. Patch by: danielsh http://code.google.com/p/svnbook/source/detail?r=4237 Modified: /trunk/en/book/ch06-server-configuration.xml ======================================= --- /trunk/en/book/ch06-server-configuration.xml Tue Dec 20 09:01:19 2011 +++ /trunk/en/book/ch06-server-configuration.xml Tue Dec 20 09:03:19 2011 @@ -2134,9 +2134,9 @@ Sometimes you don't need to run such a tight ship. For - example, Subversion's own source code repository at - allows anyone - in the world to perform read-only repository tasks (such as + example, the server hosting Subversion's own source code at + allows + anyone in the world to perform read-only repository tasks (such as checking out working copies and browsing the repository), but restricts write operations to authenticated users. The Limit and LimitExcept From svnbook at googlecode.com Tue Dec 20 11:01:38 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Tue, 20 Dec 2011 17:01:38 +0000 Subject: [svnbook] r4236 committed - * en/book/ch06-server-configuration.xml... Message-ID: <20cf30334703462dbd04b4890516@google.com> Revision: 4236 Author: cmpilato at gmail.com Date: Tue Dec 20 09:01:19 2011 Log: * en/book/ch06-server-configuration.xml Some random improvements: clarify svn+ssh:// security issue, fix/add links, clarify man-in-the-middle attack scope. Patch by: danielsh (Tweaked by me.) http://code.google.com/p/svnbook/source/detail?r=4236 Modified: /trunk/en/book/ch06-server-configuration.xml ======================================= --- /trunk/en/book/ch06-server-configuration.xml Tue Nov 8 08:54:48 2011 +++ /trunk/en/book/ch06-server-configuration.xml Tue Dec 20 09:01:19 2011 @@ -1365,9 +1365,13 @@ simply setting auth-access = read or auth-access = none.Note that using any sort of svnserve-enforced - access control at all is a bit pointless; the user already has - direct access to the repository - database. + access control at all only makes sense if the users cannot + bypass it and access the repository directory directly using + other tools (such as cd and + vi); implementing + such restrictions is described in + . You'd think that the story of SSH tunneling would end here, but it doesn't. Subversion allows you to create custom @@ -1608,7 +1612,7 @@ excellent documentation, publicly available on their web site at . For example, a general reference for the configuration directives is located at - . Also, as you make changes to your Apache setup, it is likely @@ -2413,7 +2417,9 @@ It's beyond the scope of this book to describe how to generate client and server SSL certificates and how to configure Apache to use them. Many other references, - including Apache's own documentation, describe the process. + including Apache's own documentation (), + describe the process. SSL certificates from well-known entities generally @@ -2422,7 +2428,8 @@ tool such as OpenSSL ().While self-signed certificates are still vulnerable to a man-in-the-middle - attack, such an attack is much more difficult for a casual + attack (before a client sees the certificate for the first + time), such an attack is much more difficult for a casual observer to pull off, compared to sniffing unprotected passwords. From svnbook at googlecode.com Sun Dec 4 11:03:42 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Sun, 04 Dec 2011 17:03:42 +0000 Subject: [svnbook] r4230 committed - * Authentication Options, part 1 (cf.... Message-ID: <20cf3074d32232f19d04b3472f0f@google.com> Revision: 4230 Author: jmfelderhoff at gmx.eu Date: Sun Dec 4 09:02:49 2011 Log: * Authentication Options, part 1 (cf. http://www.svnbook.de/ticket/319). http://code.google.com/p/svnbook/source/detail?r=4230 Modified: /branches/1.5/de/book/ch06-server-configuration.xml ======================================= --- /branches/1.5/de/book/ch06-server-configuration.xml Tue Nov 29 10:35:57 2011 +++ /branches/1.5/de/book/ch06-server-configuration.xml Sun Dec 4 09:02:49 2011 @@ -3383,11 +3383,19 @@ + + Authentifizierungsoptionen + + + Falls Sie httpd.conf dergestalt + konfiguriert haben, so dass sie etwa den folgenden Eintrag + enthält: <Location /svn> @@ -3396,13 +3404,22 @@ </Location> + + kann die Welt anonym auf Ihr Projektarchiv + zugreifen. Bis Sie Authentifizierungs- und + Autorisierungsrichtlinien konfiguriert haben, sind die über + die Direktive Location zur Verfügung + gestellten Projektarchive allgemein für jedermann zugreifbar. + Mit anderen Worten: + + + + + Jeder kann mit einem Subversion-Client eine + Arbeitskopie eines Projektarchiv-URLs (oder irgendeins der + Unterverzeichnisse) auschecken. + + + Jeder kann interaktiv die letzte Revision des + Projektarchivs durchstöbern, indem der Projektarchiv-URL + einfach mit einem Web-Browser geöffnet wird. + + + Jeder kann an das Projektarchiv übergeben. + + + + + Natürlich kann es sein, dass Sie schon längst ein + pre-commit Hook-Skript bereitgestellt + haben, um Übergaben zu verhindern (siehe ). Sie werden jedoch + beim Weiterlesen feststellen, dass es möglich ist, die + eingebauten Methoden von Apache zu verwenden, um den Zugriff + auf bestimmte Art und Weise einzuschränken. From d.s at daniel.shahaf.name Wed Dec 14 04:28:50 2011 From: d.s at daniel.shahaf.name (Daniel Shahaf) Date: Wed, 14 Dec 2011 12:28:50 +0200 Subject: [PATCH] Make a URL a link Message-ID: <20111214102850.GA3330@lp-shahaf.local> Index: index.en.html =================================================================== --- index.en.html (revision 4230) +++ index.en.html (working copy) @@ -133,7 +133,9 @@ to contribute a patch which fixes the problem (see below).
  • Check the XML sources to see if the problem still exists. You can grab these using Subversion itself, by checking out the trunk of our - Subversion repository at http://svnbook.googlecode.com/svn/trunk/. + Subversion repository at + http://svnbook.googlecode.com/svn/trunk/. If the problem is present in the latest book sources, please report the problem to the mailing list above or file a new From svnbook at googlecode.com Wed Dec 14 19:13:30 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 01:13:30 +0000 Subject: Issue 154 in svnbook: Chp 2, Basic Usage, Fix your mistakes, svn revert command Message-ID: <0-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 154 by smitatha... at gmail.com: Chp 2, Basic Usage, Fix your mistakes, svn revert command http://code.google.com/p/svnbook/issues/detail?id=154 The 1st example listing svn revert command looks like this: $ svn status README M foo <<<- Incorrect filename $ svn revert README Reverted 'README' $ svn status README $ Since we are talking about reverting the file README, the text should instead read as: $ svn status README M README <<<-- Changed this line $ svn revert README Reverted 'README' $ svn status README $ Please describe the problem you found. Try to avoid referring to "page numbers", as those are subject to change over time. If you need to, quote the book paragraph(s) that are incorrect, and recommend corrections. From svnbook at googlecode.com Thu Dec 15 12:44:24 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:44:24 +0000 Subject: [svnbook] r4231 committed - * en/book/ch02-basic-usage.xml... Message-ID: <20cf300fafbf92c6c404b425df92@google.com> Revision: 4231 Author: cmpilato at gmail.com Date: Thu Dec 15 10:43:39 2011 Log: * en/book/ch02-basic-usage.xml (svn.tour.cycle.revert): Fix issue 154 ("Chp 2, Basic Usage, Fix your mistakes, svn revert command"). While here, tweak a neighboring example for added clarity. Reported (partially) by: smitathaker{__AT__}gmail.com http://code.google.com/p/svnbook/source/detail?r=4231 Modified: /trunk/en/book/ch02-basic-usage.xml ======================================= --- /trunk/en/book/ch02-basic-usage.xml Wed Nov 9 12:21:35 2011 +++ /trunk/en/book/ch02-basic-usage.xml Thu Dec 15 10:43:39 2011 @@ -1188,7 +1188,7 @@ $ svn status README -M foo +M README $ svn revert README Reverted 'README' $ svn status README @@ -1206,14 +1206,14 @@ -$ svn status foo -? foo -$ svn add foo -A foo -$ svn revert foo -Reverted 'foo' -$ svn status foo -? foo +$ svn status new-file.txt +? new-file.txt +$ svn add new-file.txt +A new-file.txt +$ svn revert new-file.txt +Reverted 'new-file.txt' +$ svn status new-file.txt +? new-file.txt $ From svnbook at googlecode.com Thu Dec 15 12:48:27 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:48:27 +0000 Subject: [svnbook] r4232 committed - Merge r4231 fix from ^/trunk/en. Message-ID: <20cf300fafbf0a1f8704b425eef0@google.com> Revision: 4232 Author: cmpilato at gmail.com Date: Thu Dec 15 10:44:56 2011 Log: Merge r4231 fix from ^/trunk/en. http://code.google.com/p/svnbook/source/detail?r=4232 Modified: /branches/1.7/en /branches/1.7/en/book/ch02-basic-usage.xml ======================================= --- /branches/1.7/en/book/ch02-basic-usage.xml Wed Nov 9 12:21:35 2011 +++ /branches/1.7/en/book/ch02-basic-usage.xml Thu Dec 15 10:44:56 2011 @@ -1188,7 +1188,7 @@ $ svn status README -M foo +M README $ svn revert README Reverted 'README' $ svn status README @@ -1206,14 +1206,14 @@ -$ svn status foo -? foo -$ svn add foo -A foo -$ svn revert foo -Reverted 'foo' -$ svn status foo -? foo +$ svn status new-file.txt +? new-file.txt +$ svn add new-file.txt +A new-file.txt +$ svn revert new-file.txt +Reverted 'new-file.txt' +$ svn status new-file.txt +? new-file.txt $ From svnbook at googlecode.com Thu Dec 15 12:52:28 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:52:28 +0000 Subject: [svnbook] r4233 committed - Merge r4231 fix from ^/trunk/en. Message-ID: <20cf3074d6326daa0c04b425fc30@google.com> Revision: 4233 Author: cmpilato at gmail.com Date: Thu Dec 15 10:45:40 2011 Log: Merge r4231 fix from ^/trunk/en. http://code.google.com/p/svnbook/source/detail?r=4233 Modified: /branches/1.6/en /branches/1.6/en/book/ch02-basic-usage.xml ======================================= --- /branches/1.6/en/book/ch02-basic-usage.xml Fri Sep 30 06:03:32 2011 +++ /branches/1.6/en/book/ch02-basic-usage.xml Thu Dec 15 10:45:40 2011 @@ -1193,7 +1193,7 @@ $ svn status README -M foo +M README $ svn revert README Reverted 'README' $ svn status README @@ -1211,14 +1211,14 @@ -$ svn status foo -? foo -$ svn add foo -A foo -$ svn revert foo -Reverted 'foo' -$ svn status foo -? foo +$ svn status new-file.txt +? new-file.txt +$ svn add new-file.txt +A new-file.txt +$ svn revert new-file.txt +Reverted 'new-file.txt' +$ svn status new-file.txt +? new-file.txt $ From svnbook at googlecode.com Thu Dec 15 13:00:35 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 19:00:35 +0000 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... Message-ID: <20cf303347037317b604b42619b8@google.com> Revision: 4234 Author: cmpilato at gmail.com Date: Thu Dec 15 10:50:07 2011 Log: Linkify URL of source code repos. Patch by: danielsh. http://code.google.com/p/svnbook/source/detail?r=4234 Modified: /www/index.en.html ======================================= --- /www/index.en.html Fri Nov 11 13:47:53 2011 +++ /www/index.en.html Thu Dec 15 10:50:07 2011 @@ -133,7 +133,8 @@ to contribute a patch which fixes the problem (see below).
  • Check the XML sources to see if the problem still exists. You can grab these using Subversion itself, by checking out the trunk of our - Subversion repository at http://svnbook.googlecode.com/svn/trunk/. + Subversion repository at http://svnbook.googlecode.com/svn/trunk/. If the problem is present in the latest book sources, please report the problem to the mailing list above or file a new From svnbook at googlecode.com Thu Dec 15 12:56:32 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Thu, 15 Dec 2011 18:56:32 +0000 Subject: Issue 154 in svnbook: Chp 2, Basic Usage, Fix your mistakes, svn revert command In-Reply-To: <0-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> References: <0-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> Message-ID: <1-7155889305988986295-2520199760558937875-svnbook=googlecode.com@googlecode.com> Updates: Status: Fixed Labels: Milestone-en-1.6 Comment #1 on issue 154 by cmpil... at gmail.com: Chp 2, Basic Usage, Fix your mistakes, svn revert command http://code.google.com/p/svnbook/issues/detail?id=154 Fixed in trunk (r4231), 1.7 (r4232) and 1.6 (r4233). Thanks! From d.s at daniel.shahaf.name Fri Dec 16 10:34:42 2011 From: d.s at daniel.shahaf.name (Daniel Shahaf) Date: Fri, 16 Dec 2011 18:34:42 +0200 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... In-Reply-To: <20cf303347037317b604b42619b8@google.com> References: <20cf303347037317b604b42619b8@google.com> Message-ID: <20111216163442.GA17543@daniel3.local> Thanks. I sent two further patches from my @elego address, but haven't seen them on list...? svnbook at googlecode.com wrote on Thu, Dec 15, 2011 at 19:00:35 +0000: > Revision: 4234 > Author: cmpilato at gmail.com > Date: Thu Dec 15 10:50:07 2011 > Log: Linkify URL of source code repos. > > Patch by: danielsh. > http://code.google.com/p/svnbook/source/detail?r=4234 > > Modified: > /www/index.en.html > > ======================================= > --- /www/index.en.html Fri Nov 11 13:47:53 2011 > +++ /www/index.en.html Thu Dec 15 10:50:07 2011 > @@ -133,7 +133,8 @@ > to contribute a patch which fixes the problem (see below).
  • >
  • Check the XML sources to see if the problem still exists. You can > grab these using Subversion itself, by checking out the trunk of our > - Subversion repository at > http://svnbook.googlecode.com/svn/trunk/. > + Subversion repository at href="http://svnbook.googlecode.com/svn/trunk/" > + >http://svnbook.googlecode.com/svn/trunk/. > If the problem is present in the latest book sources, please > report the problem to the mailing list above or file > a new > > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev From cmpilato at red-bean.com Fri Dec 16 12:29:29 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Fri, 16 Dec 2011 13:29:29 -0500 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... In-Reply-To: <20111216163442.GA17543@daniel3.local> References: <20cf303347037317b604b42619b8@google.com> <20111216163442.GA17543@daniel3.local> Message-ID: <4EEB8E09.5010707@red-bean.com> I haven't moderated mail in a few days. Will look for your mails (and add your elego addy to the sender filter) when I do. On 12/16/2011 11:34 AM, Daniel Shahaf wrote: > Thanks. I sent two further patches from my @elego address, but haven't > seen them on list...? > > svnbook at googlecode.com wrote on Thu, Dec 15, 2011 at 19:00:35 +0000: >> Revision: 4234 >> Author: cmpilato at gmail.com >> Date: Thu Dec 15 10:50:07 2011 >> Log: Linkify URL of source code repos. >> >> Patch by: danielsh. >> http://code.google.com/p/svnbook/source/detail?r=4234 >> >> Modified: >> /www/index.en.html >> >> ======================================= >> --- /www/index.en.html Fri Nov 11 13:47:53 2011 >> +++ /www/index.en.html Thu Dec 15 10:50:07 2011 >> @@ -133,7 +133,8 @@ >> to contribute a patch which fixes the problem (see below).
  • >>
  • Check the XML sources to see if the problem still exists. You can >> grab these using Subversion itself, by checking out the trunk of our >> - Subversion repository at >> http://svnbook.googlecode.com/svn/trunk/. >> + Subversion repository at > href="http://svnbook.googlecode.com/svn/trunk/" >> + >http://svnbook.googlecode.com/svn/trunk/. >> If the problem is present in the latest book sources, please >> report the problem to the mailing list above or file >> a new >> >> _______________________________________________ >> svnbook-dev mailing list >> svnbook-dev at red-bean.com >> http://www.red-bean.com/mailman/listinfo/svnbook-dev > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev From cmpilato at red-bean.com Mon Dec 19 08:46:47 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Mon, 19 Dec 2011 09:46:47 -0500 Subject: [svnbook] r4234 committed - Linkify URL of source code repos.... In-Reply-To: <4EEB8E09.5010707@red-bean.com> References: <20cf303347037317b604b42619b8@google.com> <20111216163442.GA17543@daniel3.local> <4EEB8E09.5010707@red-bean.com> Message-ID: <4EEF4E57.8060701@red-bean.com> Doh! I accidentally discarded your two [PATCH] mails, Daniel! So sorry!! (I thought I was moderating a similarly named list that had nothing but spam in it at the time.) I was able to add your elego addy to the sender filter, though, so if you are able to resend the mails, they should pass through unhindered. On 12/16/2011 01:29 PM, C. Michael Pilato wrote: > I haven't moderated mail in a few days. Will look for your mails (and add > your elego addy to the sender filter) when I do. > > On 12/16/2011 11:34 AM, Daniel Shahaf wrote: >> Thanks. I sent two further patches from my @elego address, but haven't >> seen them on list...? >> >> svnbook at googlecode.com wrote on Thu, Dec 15, 2011 at 19:00:35 +0000: >>> Revision: 4234 >>> Author: cmpilato at gmail.com >>> Date: Thu Dec 15 10:50:07 2011 >>> Log: Linkify URL of source code repos. >>> >>> Patch by: danielsh. >>> http://code.google.com/p/svnbook/source/detail?r=4234 >>> >>> Modified: >>> /www/index.en.html >>> >>> ======================================= >>> --- /www/index.en.html Fri Nov 11 13:47:53 2011 >>> +++ /www/index.en.html Thu Dec 15 10:50:07 2011 >>> @@ -133,7 +133,8 @@ >>> to contribute a patch which fixes the problem (see below).
  • >>>
  • Check the XML sources to see if the problem still exists. You can >>> grab these using Subversion itself, by checking out the trunk of our >>> - Subversion repository at >>> http://svnbook.googlecode.com/svn/trunk/. >>> + Subversion repository at >> href="http://svnbook.googlecode.com/svn/trunk/" >>> + >http://svnbook.googlecode.com/svn/trunk/. >>> If the problem is present in the latest book sources, please >>> report the problem to the mailing list above or file >>> a new >>> >>> _______________________________________________ >>> svnbook-dev mailing list >>> svnbook-dev at red-bean.com >>> http://www.red-bean.com/mailman/listinfo/svnbook-dev >> _______________________________________________ >> svnbook-dev mailing list >> svnbook-dev at red-bean.com >> http://www.red-bean.com/mailman/listinfo/svnbook-dev > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev From cmpilato at red-bean.com Mon Dec 19 08:54:38 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Mon, 19 Dec 2011 09:54:38 -0500 Subject: Subversion book. In-Reply-To: References: Message-ID: <4EEF502E.7090507@red-bean.com> I just committed this change: Index: en/book/ch03-advanced-topics.xml =================================================================== --- en/book/ch03-advanced-topics.xml (revision 4234) +++ en/book/ch03-advanced-topics.xml (working copy) @@ -1627,9 +1627,8 @@ CR character present in Windows files as a regular character (usually rendered as ^M), and Windows programs combine all of the lines of a Unix file - into one giant line because no carriage return-linefeed (or - CRLF) character combination was found to - denote the ends of the lines. + into one giant line because no CR + characters are found to denote the ends of the lines. This sensitivity to foreign EOL markers can be frustrating for folks who share a file across different Thanks, John. On 11/15/2011 08:48 AM, John Maher wrote: > > Hello > > I just wanted to point out something that can be worded better in the > book. The paragraph:: > "Not all of the various tools on these operating systems understand files > that contain line endings in a format that differs from the native > line-ending style of the operating system on which they are running. So, > typically, Unix programs treat the CR character present in Windows files > as a regular character (usually rendered as ^M), and Windows programs > combine all of the lines of a Unix file into one giant line because no > carriage return-linefeed (or CRLF) character combination was found to > denote the ends of the lines." > > Is not correct in the latter part. The reason a Windows program all the > lines of a Unix file is because there is not because it is looking for a > CRLF. LF advances the printer 1 line and(usually)does nothing on the > screen. CR moves the cursor all the way to the left of a line on the > printer. On the screen itmoves the cursor all the way to the left AND > down one line. (Think LF is advancing the paper on a typewriter and CR is > sliding the paper holder (carriage) all the way to the right). You could > change all the LF to CR and see the lines in a more readable fasion. It > would be better if it said something like this: > > Windows programs combine all of the lines of a Unix file into one giant > line because no carriage return(or CR) character was found to denote the > ends of the lines. > > Windows adds the LF as a courtesy for old school printing. > > JPM > > > _______________________________________________ > svnbook-dev mailing list > svnbook-dev at red-bean.com > http://www.red-bean.com/mailman/listinfo/svnbook-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From svnbook at googlecode.com Mon Dec 19 08:54:09 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Mon, 19 Dec 2011 14:54:09 +0000 Subject: [svnbook] r4235 committed - * en/book/ch03-advanced-topics.xml... Message-ID: <20cf303640cd7ec6cb04b4731f6e@google.com> Revision: 4235 Author: cmpilato at gmail.com Date: Mon Dec 19 06:53:39 2011 Log: * en/book/ch03-advanced-topics.xml Be a little more precise about why Windows programs combine all the lines of Unix textfile into one. Suggested by: John Maher http://code.google.com/p/svnbook/source/detail?r=4235 Modified: /trunk/en/book/ch03-advanced-topics.xml ======================================= --- /trunk/en/book/ch03-advanced-topics.xml Mon Nov 14 06:14:06 2011 +++ /trunk/en/book/ch03-advanced-topics.xml Mon Dec 19 06:53:39 2011 @@ -1627,9 +1627,8 @@ CR character present in Windows files as a regular character (usually rendered as ^M), and Windows programs combine all of the lines of a Unix file - into one giant line because no carriage return-linefeed (or - CRLF) character combination was found to - denote the ends of the lines. + into one giant line because no CR + characters are found to denote the ends of the lines. This sensitivity to foreign EOL markers can be frustrating for folks who share a file across different From danielsh at elego.de Mon Dec 19 17:51:36 2011 From: danielsh at elego.de (Daniel Shahaf) Date: Tue, 20 Dec 2011 01:51:36 +0200 Subject: Fwd: [Daniel Shahaf: [PATCH] ch06 additions] Message-ID: <20111219235136.GA3013@lp-shahaf.local> ----- Forwarded message from Daniel Shahaf ----- From: Daniel Shahaf Subject: [PATCH] ch06 additions To: svnbook-dev at red-bean.com Date: Wed, 14 Dec 2011 12:54:45 +0200 Message-ID: <20111214105444.GA3392 at lp-shahaf.local> A couple of random improvements: * clarify svn+ssh:// security issue * fix/add links * clarify man-in-the-middle attack scope Index: ch06-server-configuration.xml =================================================================== --- ch06-server-configuration.xml (revision 4230) +++ ch06-server-configuration.xml (working copy) @@ -1365,9 +1365,13 @@ baz simply setting auth-access = read or auth-access = none.Note that using any sort of svnserve-enforced - access control at all is a bit pointless; the user already has - direct access to the repository - database. + access control at all only makes sense if the users cannot + bypass it and access the repository directory directly using + other tools (such as cd and + vi); implementing + such restrictions is described later in this chapter, in + . You'd think that the story of SSH tunneling would end here, but it doesn't. Subversion allows you to create custom @@ -1608,7 +1612,7 @@ arding,no-X11-forwarding,no-pty TYPE1 KEY1 harry at e excellent documentation, publicly available on their web site at . For example, a general reference for the configuration directives is located at - . Also, as you make changes to your Apache setup, it is likely @@ -2413,7 +2417,9 @@ LoadModule authz_svn_module modules/mod_authz_sv It's beyond the scope of this book to describe how to generate client and server SSL certificates and how to configure Apache to use them. Many other references, - including Apache's own documentation, describe the process. + including Apache's own documentation (), + describe the process. SSL certificates from well-known entities generally @@ -2422,7 +2428,8 @@ LoadModule authz_svn_module modules/mod_authz_sv tool such as OpenSSL ().While self-signed certificates are still vulnerable to a man-in-the-middle - attack, such an attack is much more difficult for a casual + attack (before a client sees the certtificate for the first + time), such an attack is much more difficult for a casual observer to pull off, compared to sniffing unprotected passwords. ----- End forwarded message ----- From danielsh at elego.de Mon Dec 19 17:53:36 2011 From: danielsh at elego.de (Daniel Shahaf) Date: Tue, 20 Dec 2011 01:53:36 +0200 Subject: Fwd: [Daniel Shahaf: [PATCH] Update svn.collab.net reference] Message-ID: <20111219235336.GB3013@lp-shahaf.local> ----- Forwarded message from Daniel Shahaf ----- From: Daniel Shahaf Subject: [PATCH] Update svn.collab.net reference To: svnbook-dev at red-bean.com Date: Wed, 14 Dec 2011 13:13:41 +0200 Message-ID: <20111214110656.GA3407 at lp-shahaf.local> Status: RO Had to wordsmith this a bit to not describe /repos/asf/subversion as a 'repository'; we should fine a term for this entity. ('tree' doesn't sound right... 'forest'?) Also, svn.apache.org doesn't use Limit/LimitExcept directives for the https://.../repos/asf location --- even though it allows anonymous checkouts are possible from it. That would appear inconsistent with this documentation. [[[ Index: ch06-server-configuration.xml =================================================================== --- ch06-server-configuration.xml (revision 4230) +++ ch06-server-configuration.xml (working copy) @@ -2130,9 +2130,9 @@ Sometimes you don't need to run such a tight ship. For - example, Subversion's own source code repository at - allows anyone - in the world to perform read-only repository tasks (such as + example, the server hosting Subversion's own source code at + allows + anyone in the world to perform read-only repository tasks (such as checking out working copies and browsing the repository), but restricts write operations to authenticated users. The Limit and LimitExcept ]]] ----- End forwarded message ----- From cmpilato at red-bean.com Tue Dec 20 11:03:55 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Tue, 20 Dec 2011 12:03:55 -0500 Subject: Fwd: [Daniel Shahaf: [PATCH] Update svn.collab.net reference] In-Reply-To: <20111219235336.GB3013@lp-shahaf.local> References: <20111219235336.GB3013@lp-shahaf.local> Message-ID: <4EF0BFFB.7060007@red-bean.com> On 12/19/2011 06:53 PM, Daniel Shahaf wrote: > ----- Forwarded message from Daniel Shahaf ----- > > From: Daniel Shahaf > Subject: [PATCH] Update svn.collab.net reference > To: svnbook-dev at red-bean.com > Date: Wed, 14 Dec 2011 13:13:41 +0200 > Message-ID: <20111214110656.GA3407 at lp-shahaf.local> > Status: RO > > Had to wordsmith this a bit to not describe /repos/asf/subversion as > a 'repository'; we should fine a term for this entity. ('tree' doesn't > sound right... 'forest'?) The location ^/subversion in the repository is called a "project root". Is that what you're seeking a name for? Anyway, patch committed in r4237. Thanks. From cmpilato at red-bean.com Tue Dec 20 11:04:18 2011 From: cmpilato at red-bean.com (C. Michael Pilato) Date: Tue, 20 Dec 2011 12:04:18 -0500 Subject: Fwd: [Daniel Shahaf: [PATCH] ch06 additions] In-Reply-To: <20111219235136.GA3013@lp-shahaf.local> References: <20111219235136.GA3013@lp-shahaf.local> Message-ID: <4EF0C012.1060801@red-bean.com> On 12/19/2011 06:51 PM, Daniel Shahaf wrote: > ----- Forwarded message from Daniel Shahaf ----- > > From: Daniel Shahaf > Subject: [PATCH] ch06 additions > To: svnbook-dev at red-bean.com > Date: Wed, 14 Dec 2011 12:54:45 +0200 > Message-ID: <20111214105444.GA3392 at lp-shahaf.local> > > A couple of random improvements: > > * clarify svn+ssh:// security issue > * fix/add links > * clarify man-in-the-middle attack scope r4236. Thanks! From svnbook at googlecode.com Tue Dec 20 11:05:41 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Tue, 20 Dec 2011 17:05:41 +0000 Subject: [svnbook] r4237 committed - * en/book/ch06-server-configuration.xml... Message-ID: <20cf30334703c10d9a04b48913a5@google.com> Revision: 4237 Author: cmpilato at gmail.com Date: Tue Dec 20 09:03:19 2011 Log: * en/book/ch06-server-configuration.xml Update URL of Subversion's source code, wordsmithing a bit as the URL no longer points to the root of a repository, but a project root within the ASF's public repository. Patch by: danielsh http://code.google.com/p/svnbook/source/detail?r=4237 Modified: /trunk/en/book/ch06-server-configuration.xml ======================================= --- /trunk/en/book/ch06-server-configuration.xml Tue Dec 20 09:01:19 2011 +++ /trunk/en/book/ch06-server-configuration.xml Tue Dec 20 09:03:19 2011 @@ -2134,9 +2134,9 @@ Sometimes you don't need to run such a tight ship. For - example, Subversion's own source code repository at - allows anyone - in the world to perform read-only repository tasks (such as + example, the server hosting Subversion's own source code at + allows + anyone in the world to perform read-only repository tasks (such as checking out working copies and browsing the repository), but restricts write operations to authenticated users. The Limit and LimitExcept From svnbook at googlecode.com Tue Dec 20 11:01:38 2011 From: svnbook at googlecode.com (svnbook at googlecode.com) Date: Tue, 20 Dec 2011 17:01:38 +0000 Subject: [svnbook] r4236 committed - * en/book/ch06-server-configuration.xml... Message-ID: <20cf30334703462dbd04b4890516@google.com> Revision: 4236 Author: cmpilato at gmail.com Date: Tue Dec 20 09:01:19 2011 Log: * en/book/ch06-server-configuration.xml Some random improvements: clarify svn+ssh:// security issue, fix/add links, clarify man-in-the-middle attack scope. Patch by: danielsh (Tweaked by me.) http://code.google.com/p/svnbook/source/detail?r=4236 Modified: /trunk/en/book/ch06-server-configuration.xml ======================================= --- /trunk/en/book/ch06-server-configuration.xml Tue Nov 8 08:54:48 2011 +++ /trunk/en/book/ch06-server-configuration.xml Tue Dec 20 09:01:19 2011 @@ -1365,9 +1365,13 @@ simply setting auth-access = read or auth-access = none.Note that using any sort of svnserve-enforced - access control at all is a bit pointless; the user already has - direct access to the repository - database. + access control at all only makes sense if the users cannot + bypass it and access the repository directory directly using + other tools (such as cd and + vi); implementing + such restrictions is described in + . You'd think that the story of SSH tunneling would end here, but it doesn't. Subversion allows you to create custom @@ -1608,7 +1612,7 @@ excellent documentation, publicly available on their web site at . For example, a general reference for the configuration directives is located at - . Also, as you make changes to your Apache setup, it is likely @@ -2413,7 +2417,9 @@ It's beyond the scope of this book to describe how to generate client and server SSL certificates and how to configure Apache to use them. Many other references, - including Apache's own documentation, describe the process. + including Apache's own documentation (), + describe the process. SSL certificates from well-known entities generally @@ -2422,7 +2428,8 @@ tool such as OpenSSL ().While self-signed certificates are still vulnerable to a man-in-the-middle - attack, such an attack is much more difficult for a casual + attack (before a client sees the certificate for the first + time), such an attack is much more difficult for a casual observer to pull off, compared to sniffing unprotected passwords.