<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>AV-Looks: Keeping up on the Typo Trunk</title>
    <link>http://avlooks.net/articles/2006/04/14/keeping-up-on-the-typo-trunk</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Watching and Wondering</description>
    <item>
      <title>Keeping up on the Typo Trunk</title>
      <description>&lt;p&gt;What is this blog running?  &lt;a href="http://avlooks.net/pages/about"&gt;Check here&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;As of 4/14/2006 AV-looks was running &lt;a href="http://www.typosphere.org/trac/wiki/DownloadCurrent"&gt;Typo trunk&lt;/a&gt; revision 1021 on &lt;a href="http://rubyonrails.org/down"&gt;Rails&lt;/a&gt; 1.1.2.  We applied &lt;a href="http://www.typosphere.org/trac/ticket/768"&gt;this patch&lt;/a&gt; for fixing default comments.&lt;/p&gt;


	&lt;p&gt;We have a test version of this blog running in development mode, where we test new Typo trunk revs.&lt;/p&gt;


Here is the script we run to get the current trunk release:
&lt;pre&gt;
#!/bin/sh
info=`svn info svn://typosphere.org/typo/trunk`
set $info
while [ "$8" != "Revision:" ]
do
  shift
done
version="$9" 
cd /path/to/your/test/subdomain
rm -rf typo.current
rm -f typo.*
echo Getting Typo trunk revision $version ...
svn export svn://typosphere.org/typo/trunk typo.current  &amp;gt; /dev/null 2&amp;gt;&amp;#38;1
ln -sf ./typo.current ./typo.$version
chown -R youruser.yourgroup typo.current typo.$version
echo Current Typo trunk revision $version retrieved.
&lt;/pre&gt;

And then we use this script, running in your test dir, to copy current trunk to our test environment:
&lt;pre&gt;
alias cp='cp'
echo copying themes from prod...
cp -af /path/to/prod/themes/* /path/to/test/themes/
echo copying current typo trunk to /rails...
cp -af typo.current/* rails/
cd rails
echo loading typo_production into typo_development...
mysql -u adminuser --password=adminpass -h localhost typo_development &amp;lt; \
/path/to/mysql/dump/typo_production.sql
echo running rake migrate...
RAILS_ENV="development" rake migrate
alias cp='cp -i'
echo restarting dispatch.fcgi processes...
./script/process/reaper
echo Completed copying current typo trunk to test
&lt;/pre&gt;</description>
      <pubDate>Fri, 14 Apr 2006 18:49:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:8a47864c-8a61-47ed-9c37-273d52bdc2a1</guid>
      <author>av@avlux.net (Andrew)</author>
      <link>http://avlooks.net/articles/2006/04/14/keeping-up-on-the-typo-trunk</link>
      <category>System Admin</category>
      <category>Ruby on Rails</category>
      <category>rubyonrails</category>
      <category>typo</category>
      <category>howto</category>
      <category>sysadmin</category>
    </item>
    <item>
      <title>"Keeping up on the Typo Trunk" by Andrew</title>
      <description>&lt;p&gt;The problem with pings/comments always being false on the admin page is reported to be fixed in &lt;a href="http://www.typosphere.org/trac/browser?rev=1025" rel="nofollow"&gt;trunk release 1025&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 18 Apr 2006 14:50:52 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:66a5d187-23e6-425c-b813-c2a79b8d6185</guid>
      <link>http://avlooks.net/articles/2006/04/14/keeping-up-on-the-typo-trunk#comment-14</link>
    </item>
  </channel>
</rss>
