tag:blogger.com,1999:blog-3958627136570980537.post6738380042323194081..comments2008-05-01T09:52:22.598-07:00Comments on blog.PaplooTheLearned.net: How To: Manage Your Own Subversion Repository In L...Paploohttp://www.blogger.com/profile/05918964938891806436noreply@blogger.comBlogger26125tag:blogger.com,1999:blog-3958627136570980537.post-20302817420901363942008-05-01T09:52:00.000-07:002008-05-01T09:52:00.000-07:00I couldn't get this to work when I created a direc...I couldn't get this to work when I created a directory in a user account with FileVault enabled, FYI. Setting it up in the Shared User folder works fine, though.Neezernoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-25350516718506499012008-04-23T09:20:00.000-07:002008-04-23T09:20:00.000-07:00Hi, thanks for a very nice writeup, but perhaps co...Hi, thanks for a very nice writeup, but perhaps consider to include the full path in the line with chown, confusing.<BR/><BR/>About using a truecrypt image or a secure sparse image; this can be easily implemented by configuring cccloner to sync in and out of the image - as an example on insertion of a memory stick.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-20517700375637199142008-04-23T02:17:00.000-07:002008-04-23T02:17:00.000-07:00Wonderful, thank you. As a newcomer to Mac develop...Wonderful, thank you. As a newcomer to Mac development and Subversion this was a really helpful guide.Simon Wolfnoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-8904589184448214112008-04-21T15:41:00.000-07:002008-04-21T15:41:00.000-07:00Jeff Foster: It sounds like your primary problem ...Jeff Foster: It sounds like your primary problem is a lack of understanding the fundamentals of the command line environment.<BR/><BR/>While it is nice to have instructions that assume you don't know anything about the CLI, it is my experience that most of these sorts of things require a certain ability to cope with the usual unexpected problems that seem to pop-up for whatever reason.<BR/><BR/>I would recommend that you first learn the basics of how the command line works (the difference between a command and an argument for instance).<BR/><BR/>Then you should find a tutorial to emacs (or vim), and play with it a little. Try making a text file in your home directory (so that you can use something like TextEdit to verify the contents of the file) and play with the editor a little until you understand the basics.<BR/><BR/>It might take you an hour or two to find these two kinds of tutorials and go through them, but I promise you it'll open a *large* world in computing to you.<BR/><BR/>To answer your questions more directly:<BR/><BR/>1. Learn the difference between a command and an argument. It should eliminate the confusion when reading the command line instructions.<BR/><BR/>2. I don't use emacs (I prefer vim), but I'm 99% sure it does NOT autosave.<BR/><BR/>3. Unfortunately I lack the time to walk you through the process remotely, and I do not know anyone that could do that for you. However I'm sure that once you've taken the time to learn the basics of the command line interface it'll all start to click for you. :)<BR/><BR/>Good luck, and if you find a tutorial on these subjects that you like, I encourage you to post the links here so that others can benefit from it. (There should be a plethora of these on the internet.)Paploohttp://www.blogger.com/profile/05918964938891806436noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-48364951856056276992008-04-21T14:26:00.000-07:002008-04-21T14:26:00.000-07:00I have to confess I have been to this page probabl...I have to confess I have been to this page probably 5 different times over the last few months to get Subversion running on my machine and am really frustrated.<BR/><BR/>The instructions for the .conf file are still somewhat hazy. I have never used a command line text editor, but in this case i chose emacs. I attempted to create the file and save?(does it autosave?). Whether it was saved or not, here are some questions about the .conf file I am unclear about:<BR/><BR/>1. in the tutorial, it has become confusing because you use "svn" for the name of your directory, but "svn" can also mean something totally different when in the command line. i am having a hard time distinguishing between the two, not to mention figuring out when to substitue my named directory for "svn" in your instructions.<BR/><BR/>2. does emacs "autosave"?<BR/><BR/>3. Would you be willing to help using ichat screen sharing, or know someone that can?<BR/><BR/>Any help would be appreciated, i have wanted to use subversion on my machine for months, but some kind of mental block is stopping me every time i try.Jeff Fosterhttp://www.foster2.com/noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-5841990227630731552008-04-20T19:24:00.000-07:002008-04-20T19:24:00.000-07:00Fantastic tutorial and worked like a charm. Been t...Fantastic tutorial and worked like a charm. Been trying to sort this out for ages. Now I just need to get https working so I can put it out on the internet for my developers.martynoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-27734147585095374672008-04-10T11:27:00.000-07:002008-04-10T11:27:00.000-07:00Matt: I'm glad you are finding the instructions u...Matt: I'm glad you are finding the instructions useful. Here is some more elaboration on "Navigate to /etc/apache2/other and use your favorite command line text editor as root to make a file named anything you want":<BR/><BR/>From the command line you'll want to run:<BR/>$ cd /etc/apache2/other<BR/><BR/>Now you need to pick a favorite command line editor. I use vim. Emacs is another favorite. I also like JOE a lot, but you'd have to compile that one yourself. (If you don't know how to use these, you can find plenty of documentation on the internet about them. If you plan on doing dev kind of stuff on a UNIX machine, being comfortable with either vim or emacs is a must-have-skill.)<BR/><BR/>So let's say you pick vim, and let's say you want to create the file matt_svn.conf for your configuration file. You could then execute:<BR/>$ sudo vim matt_svn.conf<BR/><BR/>And that should get you caught up to where the instructions should work for you again. :)Paploohttp://www.blogger.com/profile/05918964938891806436noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-6614925862198410212008-04-09T19:11:00.000-07:002008-04-09T19:11:00.000-07:00Wow, this is amazing! What a great resource. I'm...Wow, this is amazing! What a great resource. I'm having trouble with one part, I'm not quite sure I understand what you mean when you say:<BR/><BR/>"Navigate to /etc/apache2/other and use your favorite command line text editor as root to make a file named anything you want"<BR/><BR/>--can you elaborate?<BR/><BR/>Thanks for all the help!Matthewhttp://www.blogger.com/profile/05298779008682748967noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-43794846939706449822008-03-16T12:44:00.000-07:002008-03-16T12:44:00.000-07:00Thanks!!! Great blog post and very useful. I've be...Thanks!!! Great blog post and very useful. I've been wanting to know how to do this and now I can.<BR/><BR/>-- IainAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-73702809822036881522008-03-10T11:09:00.000-07:002008-03-10T11:09:00.000-07:00Anonymous: It sounds like one of two things happe...Anonymous: It sounds like one of two things happened.<BR/><BR/>Firstly, make sure you ran the chown command to set the user and group to 'www'.<BR/><BR/>If that doesn't work, try setting the permissions on the repository with chmod. I'd think recursively setting the permissions to 755 would work fine, but that could be overly open if you have other users logging onto the system that you don't want snooping through the directory.Paploohttp://www.blogger.com/profile/05918964938891806436noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-16952549541698702682008-03-09T20:30:00.000-07:002008-03-09T20:30:00.000-07:00I followed all instructions and was able to instal...I followed all instructions and was able to install the repository without a hitch. I later decided I wanted the repository in another location and removed the original one creating a new one and modifying the appropriate files. Now I can't get the repository to load in Safari. In the error_log:<BR/>[Sun Mar 09 20:13:06 2008] [error] [client ::1] (20014)Internal error: Can't open file '/Users/pete/Documents/xcode/svn/defaultRepository/format': Permission denied<BR/>[Sun Mar 09 20:13:06 2008] [error] [client ::1] Could not fetch resource information. [500, #0]<BR/>[Sun Mar 09 20:13:06 2008] [error] [client ::1] Could not open the requested SVN filesystem [500, #13]<BR/>[Sun Mar 09 20:13:06 2008] [error] [client ::1] Could not open the requested SVN filesystem [500, #13]<BR/><BR/>Any suggestions?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-54772732530482974222008-03-06T20:39:00.000-08:002008-03-06T20:39:00.000-08:00I might have bitten off more than I can chew with ...I might have bitten off more than I can chew with this whole "encrypted disk image as svn repository collection root" idea, I think I'll give up (for now).<BR/><BR/>Thanks for responding to my comment so quickly! <BR/><BR/>:DAllanhttp://www.blogger.com/profile/10323905408108861488noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-65212082583709574232008-03-06T19:58:00.000-08:002008-03-06T19:58:00.000-08:00allan: I don't know if what you want to do would ...allan: I don't know if what you want to do would work or not. It would be neat if it did, and I would expect it to work, but I never ceased to be surprised by the funky things that happen sometimes. :)Paploohttp://www.blogger.com/profile/05918964938891806436noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-61741447015127802782008-03-06T17:12:00.000-08:002008-03-06T17:12:00.000-08:00I was hoping to use an encrypted sparse image call...I was hoping to use an encrypted sparse image called "svn" as my subversion repository collection root (SVNParentPath /Volumes/svn), but I keep getting this in my console:<BR/><BR/>com.apple.launchd[1] (org.apache.httpd): Unknown key: SHAuthorizationRight<BR/><BR/>and this message in my Safari:<BR/><BR/>"Could not open the requested SVN filesystem"<BR/><BR/>Should I just give up and put my repository collection root in usr/local instead? Or am I missing some magic command to make this work?<BR/><BR/>Any advice would be awesome ^_^.Allanhttp://www.blogger.com/profile/10323905408108861488noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-4979316072423537862008-03-02T17:15:00.000-08:002008-03-02T17:15:00.000-08:00Thank you, Jeff!Your tutorial works fine on my Leo...Thank you, Jeff!<BR/><BR/>Your tutorial works fine on my Leopard!<BR/><BR/>I want to put everything in my home directory (e.g. /Users/my_user/Projects/svn), thus I modifed the directory path and the svn.conf file.Handyhttp://galaxyelf.com/blognoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-83788502255142001902008-02-20T19:49:00.000-08:002008-02-20T19:49:00.000-08:00Just googled this up and it worked perfectly on 10...Just googled this up and it worked perfectly on 10.5.2. Thanks, dude!Alexhttp://www.blogger.com/profile/13421771134729543430noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-56364238330572676162008-01-31T15:33:00.000-08:002008-01-31T15:33:00.000-08:00Actually I am getting a access permission error, l...Actually I am getting a access permission error, like "you don't have permission to access svn/projects" on this server, it is also showing this error when i try to access a different folder outside my local user. Do somebody knows why this behavior? thanks you very much for this lovely post, very useful!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-41847776939767869742007-12-31T13:07:00.000-08:002007-12-31T13:07:00.000-08:00Great post, thanks. Just what was needed!Great post, thanks. Just what was needed!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-34688317136969608092007-12-24T12:50:00.000-08:002007-12-24T12:50:00.000-08:00For real beginners, your instructions above will l...For real beginners, your instructions above will likely cause some head scratching:<BR/><BR/>$ sudo mkdir /Users/Shared/svn<BR/>$ sudo mkdir /Users/Shared/svn/reposname<BR/>$ sudo svnadmin create /Users/Shared/svn/reposname<BR/>$ sudo chown -R www:www reposname<BR/><BR/>That last line will likely not work. You will need to either be explicit, as in:<BR/><BR/>$ sudo chown -R www:www /Users/Shared/svn/reposname<BR/><BR/>or change into the svn directory first, as in:<BR/><BR/>$ cd /Users/Shared/svn<BR/>$ sudo chown -R www:www reposnameTrevor Smithhttp://www.blogger.com/profile/01298026196403343263noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-11469083292178145522007-11-26T12:21:00.000-08:002007-11-26T12:21:00.000-08:00You actually don't need to make the directories. J...You actually don't need to make the directories. Just issuing the "svnadmin" command will make the directories for you.Jackhttp://www.blogger.com/profile/10310511477268571103noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-22475302573939624322007-11-13T16:07:00.000-08:002007-11-13T16:07:00.000-08:00Thanks mr Paploo, its not that I don't want to div...Thanks mr Paploo, its not that I don't want to dive into the subversion manual for a few hours. Its that I did, and then did everything stated there in proper order, and then ended up with obscure errors with apache, that turned up empty in google. But that was on 10.4., now it is 10.5 and everything is working a charmy charm after 10 minutes. Wahoo!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-25696118627697140242007-11-09T14:57:00.000-08:002007-11-09T14:57:00.000-08:00Michael: I'm no sure why you are getting that erro...Michael: I'm no sure why you are getting that error. A quick google search isn't really giving anything helpful other than "something must be wrong with the network configuration." So you might want to make sure there are no proxies or firewalls interfering.<BR/><BR/>You also will want to make sure the Windows machines are running subversion 1.4.x, just in case that has anything to do with it.<BR/><BR/>Otherwise I wish you luck, and if you figure it out, I encourage you to post the solution here so that others can benefit from it.Paploohttp://www.blogger.com/profile/05918964938891806436noreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-11257275407689109202007-11-09T04:52:00.000-08:002007-11-09T04:52:00.000-08:00I have troubles with my os x svn server on some Wi...I have troubles with my os x svn server on some Windows Machines. Can't check out or import projects. Problems like "RA layer request failed .... 400 Bad Request..." occur and I don't figure out why. Can anyone help?Michael Planknoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-10639199219297021302007-11-06T15:49:00.000-08:002007-11-06T15:49:00.000-08:00Thanks a lot!! Now everything works like a charm!!...Thanks a lot!! Now everything works like a charm!!Michael Planknoreply@blogger.comtag:blogger.com,1999:blog-3958627136570980537.post-89849435465166549902007-11-06T09:36:00.000-08:002007-11-06T09:36:00.000-08:00My bad. I forgot to encode my character entities ...My bad. I forgot to encode my character entities in my example, so the Location tags got left out.<BR/><BR/>I bet that'll fix it now.Paploohttp://www.blogger.com/profile/05918964938891806436noreply@blogger.com