<?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>Mike / Michael Fogel &#187; svn</title>
	<atom:link href="http://www.fogel.ca/tag/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fogel.ca</link>
	<description>soapbox and search engine spam</description>
	<lastBuildDate>Fri, 24 Jun 2011 05:50:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Upgrade to Wordpress 2.6(.2)</title>
		<link>http://www.fogel.ca/2008/09/10/upgrade-to-wordpress-262/</link>
		<comments>http://www.fogel.ca/2008/09/10/upgrade-to-wordpress-262/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 16:39:47 +0000</pubDate>
		<dc:creator>Mike Fogel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.fogel.ca/?p=71</guid>
		<description><![CDATA[Only about 3 months late getting up to the 2.6 line&#8230; nothing wrong with letting someone else find the biggest security holes &#038; bugs anyway.
Please let me know if you see anything that doesn&#8217;t look quite right.
The upgrade process from 2.5 was relatively painless.  This isn&#8217;t actually what I did, but if I was [...]]]></description>
			<content:encoded><![CDATA[<p>Only <a href="http://wordpress.org/development/2008/07/wordpress-26-tyner/">about 3 months late</a> getting up to the 2.6 line&#8230; nothing wrong with letting someone else find the biggest security holes &#038; bugs anyway.</p>
<p>Please let me know if you see anything that doesn&#8217;t look quite right.</p>
<p>The upgrade process from 2.5 was relatively painless.  This isn&#8217;t actually what I did, but if I was going to do it again, this is how I&#8217;d do it.  I did all this stuff, just out of order and with needless downtime.</p>
<ol>
<li>Full backup (cp -rp) of the wordpress filesystem, full mysqldump of the database.  Copied both to remote server.</li>
<li>Updated all my plugins to the latest and greatest.  Spotcheck that all is good, another round of backups.</li>
<li>Disabled caching, cleared the cache.</li>
<li>In wp-content/plugins/, did
<pre>svn pd svn:externals</pre>
</li>
<li>In wordpress&#8217; root dir, did
<pre>svn sw <a href="http://svn.automattic.com/wordpress/tags/2.6.2/">http://svn.automattic.com/wordpress/tags/2.6.2/</a> ./</pre>
</li>
<li>Fixed up permissions by doing
<pre>
find ./ -type f -exec chmod XXX {} \;
find ./ -type d -exec chmod YYY {} \;
</pre>
<p>from wordpress root dir, where XXX and YYY are the minimum permissions required by your webserver configuration for files and directories.</li>
<li>Added some more random permission fixes, like webserver write to wp-content/cache/, etc.</li>
</ol>
<p>And&#8230; wordpress upgraded the db for me on the first administrator login, I re-enabled my plugins without incident, made another round of backups, and it looks all good to go.  Plz let me know if you notice anything a little wack!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fogel.ca/2008/09/10/upgrade-to-wordpress-262/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copying an SVN Repository off googlecode.com</title>
		<link>http://www.fogel.ca/2008/07/26/copying-an-svn-repository-off-googlecodecom/</link>
		<comments>http://www.fogel.ca/2008/07/26/copying-an-svn-repository-off-googlecodecom/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 19:57:38 +0000</pubDate>
		<dc:creator>Mike Fogel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.fogel.ca/?p=56</guid>
		<description><![CDATA[Let&#8217;s say you wanted to transfer a complete copy of an existing SVN repository, all history included, from a googlecode.com project to a subdirectory in another preexisting repository.  This takes a few steps since us mere mortal non-googlers (and former googlers) don&#8217;t get direct command line access to the googlecode.com servers.

Make a local copy [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you wanted to transfer a complete copy of an existing SVN repository, all history included, from a googlecode.com project to a subdirectory in another preexisting repository.  This takes a few steps since us mere mortal non-googlers (and former googlers) don&#8217;t get direct command line access to the googlecode.com servers.</p>
<ol>
<li>Make a local copy of the full googlecode.com repository.
<pre>
svnadmin create local_repos
echo -e "#\041/bin/sh" &gt; local_repos/hooks/pre-revprop-change
echo "exit 0" &gt;&gt; local_repos/hooks/pre-revprop-change
chmod 755 local_repos/hooks/pre-revprop-change
svnsync init file://`pwd`/local_repos https://urproject.googlecode.com/svn
svnsync sync file://`pwd`/local_repos
</pre>
</li>
<li>Now, you can make a dump of that local repository.
<pre>
svnadmin dump ./local_repos &gt; thedump
</pre>
</li>
<li>Copy that dumpfile over to wherever your preexisting destination repository is located.  -C is for gzip compression during transfer, and is helpful if you have a big repository full of text.
<pre>
scp -C ./thedump yourhost.com:~/
</pre>
</li>
<li>Now, we load that dumpfile.
<pre>
ssh yourhost.com
svn mkdir file://path/to/your/repos/dir_for_googlecode_copy
svnadmin load /path/to/your/repos --parent-dir dir_for_googlecode_copy &lt; thedump
</pre>
</li>
</ol>
<p>Revision number will be incremented correctly (ending at the sum of the two previous repositories), all the commit logs and such are transfered intact, including the authors (even if they&#8217;re not users on the new system).  Pretty smooth.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fogel.ca/2008/07/26/copying-an-svn-repository-off-googlecodecom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

