<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cameron &#187; Zenphoto</title>
	<atom:link href="http://justcameron.com/blog/category/zenphoto/feed/" rel="self" type="application/rss+xml" />
	<link>http://justcameron.com/blog</link>
	<description>Move like a jellyfish</description>
	<lastBuildDate>Fri, 01 Aug 2008 06:30:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Updating Zenphoto with SVN</title>
		<link>http://justcameron.com/blog/2008/07/03/updating-zenphoto-with-svn/</link>
		<comments>http://justcameron.com/blog/2008/07/03/updating-zenphoto-with-svn/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 15:34:17 +0000</pubDate>
		<dc:creator>Cameron</dc:creator>
				<category><![CDATA[2]]></category>
		<category><![CDATA[LJ]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Zenphoto]]></category>

		<guid isPermaLink="false">http://justcameron.com/blog/?p=51</guid>
		<description><![CDATA[Further to Updating Wordpress, it can be done with Zenphoto too.
SVN, Subversion, is a program for managing revisions (or versions) of software. In the way we will be using it, every time the zenphoto developers release a new version on their website, they tag that code in their svn repository. We can then check out [...]]]></description>
			<content:encoded><![CDATA[<p>Further to <a href="http://justcameron.com/blog/2007/01/17/updating-wordpress-via-svn/">Updating Wordpress</a>, it can be done with Zenphoto too.</p>
<p>SVN, Subversion, is a program for managing revisions (or versions) of software. In the way we will be using it, every time the zenphoto developers release a new version on their website, they tag that code in their svn repository. We can then check out that code. Then when they tag a new version, svn only downloads the changed parts of the files and merges them into the files in our local copy. This is great because we can also make our own modifications to the code (eg. Add themes, or more serious modifications) and the updates will be applied around our modifications. If we modified a file and then the same lines were later updated, svn tells us about the problem and asks us to fix it manually. So basically, you can continue to keep Zenphoto up to date without having to download the full version, unzip it, copy and paste files and folders around &#8211; it&#8217;s just one command! <img src='http://justcameron.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First, check out the latest tagged version. This should be tagged as http://www.zenphoto.org/svn/tags/latest.version/ &#8211; you can see for yourself by visiting <a href="http://www.zenphoto.org/svn/tags/">http://www.zenphoto.org/svn/tags/</a> eg.</p>
<p><code>$ svn co http://www.zenphoto.org/svn/tags/1.1.6/</code> </p>
<p>If the latest version isn&#8217;t tagged, get onto the zenphoto developers via their forums. Every released version should be tagged!</p>
<p>Then, every time a new version is released, switch to the latest tag.</p>
<p><code>$ svn switch http://www.zenphoto.org/svn/tags/1.1.7/</code></p>
<p>Things that are as easy as this make me happy <img src='http://justcameron.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To convert from an existing installation of zenphoto, rename your zenphoto directory to something else eg. photos.old, then make a new photos directory and check out the code into it. Then copy over your modifications, photos, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://justcameron.com/blog/2008/07/03/updating-zenphoto-with-svn/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
