AV-Looks
Watching and Wondering

Keeping up on the Typo Trunk

Posted by Andrew Fri, 14 Apr 2006 23:49:00 GMT

What is this blog running? Check here

As of 4/14/2006 AV-looks was running Typo trunk revision 1021 on Rails 1.1.2. We applied this patch for fixing default comments.

We have a test version of this blog running in development mode, where we test new Typo trunk revs.

Here is the script we run to get the current trunk release:
#!/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  > /dev/null 2>&1
ln -sf ./typo.current ./typo.$version
chown -R youruser.yourgroup typo.current typo.$version
echo Current Typo trunk revision $version retrieved.
And then we use this script, running in your test dir, to copy current trunk to our test environment:
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 < \
/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

Posted in ,  | Tags , , ,  | 1 comment

Comments

  1. Avatar Andrew said 4 days later:

    The problem with pings/comments always being false on the admin page is reported to be fixed in trunk release 1025

(leave url/email »)

   Comment Markup Help Preview comment