2718.us blog » svnx http://2718.us/blog Miscellaneous Technological Geekery Tue, 18 May 2010 02:42:55 +0000 en hourly 1 http://wordpress.org/?v=3.0.4 svnX is out, Versions is in http://2718.us/blog/2008/06/27/svnx-is-out-versions-is-in/ http://2718.us/blog/2008/06/27/svnx-is-out-versions-is-in/#comments Fri, 27 Jun 2008 21:43:52 +0000 2718.us http://2718.us/blog/?p=46 While I’d been really happy using svnX, it didn’t deal with svn properties at all, which meant having to go to the CLI and set properties manually.  This got annoying fast when I kept forgetting the syntax to set svn:keywords so that I would get those nice automatic tags filled in at the top of my source files.  This prompted me to go looking for a Mac svn GUI that did handle setting properties.  What I found was Versions and now, about ten minutes into using Versions, svnX is out my dock and Versions is in.  My only worry is that beta 2 expires in 3 days…

If the price is even remotely reasonable when the final version is available, I think I’ll be sticking with it.

]]>
http://2718.us/blog/2008/06/27/svnx-is-out-versions-is-in/feed/ 0
Why Didn’t Someone Tell Me About Subversion Sooner? http://2718.us/blog/2008/06/06/why-didnt-someone-tell-me-about-subversion-sooner/ http://2718.us/blog/2008/06/06/why-didnt-someone-tell-me-about-subversion-sooner/#comments Sat, 07 Jun 2008 02:26:09 +0000 2718.us http://2718.us/blog/?p=43 I’d gotten very used to editing some of my sites on the live running copy or editing a testbed server, then rsyncing it to the live server.  I really had the WinSCP+TextPad thing down, then moved to Transmit+KomodoEdit when I went Mac-only for programming.  It wasn’t bad at all, though every once in a while I really wished I could do one of those “search every file” actions from the editors, but that’s just not possible when editing one file at a time as a temporary copy via SFTP.

At the moment, I’m just starting to dig into one of the larger web projects I’ve done, migrating a large, data-driven site from PHP4 to PHP5, moving it from a commercial host to my own hosting, and rewriting large swaths of code—all at once.  The previous webmaster, who wrote the original code, said he’d used subversion to deal with making revisions and having the ability to roll back when things broke, so I decided to look into subversion.

While most of the documentation made it seem really complex, once I’d settled on https access (apache mod_dav_svn), in the context of an existing SSL site I had, things were very easy–just a few svnadmin commands to set up the directories and a few lines of tweaking in an apache config file.  About 10 minutes into playing with the repository, having imported the existing site and set up a working copy on my local machine, I wondered if there weren’t some nice GUI way to deal with checkout/checkin/status/etc.  Enter svnX.

Now I’ve got working copies on my desktop and laptop as well as a copy checked out to the new production server and I can easily edit locally, even searching all files (that makes it a lot easier to fix all the instances of some incompatibility with PHP5 or some assumption about the directory structure or other oddity).  Once I’ve edited, I can easily check what’s been revised (status) and save the changes to the repository (checkin/commit) using svnX.  A quick “svn up” on the server and everything’s live.

This setup is so wonderfully easy that I’m annoyed I didn’t know to do it sooner.

]]>
http://2718.us/blog/2008/06/06/why-didnt-someone-tell-me-about-subversion-sooner/feed/ 1