Not a developer? Go to MovableType.com

News

MTOS Subversion Tips

By Byrne Reese
Posted December 26, 2007, in Tips & Tricks.

Developers looking to stay plugged into the bleeding edge of Movable Type without having to depend upon nightly builds may like the following tip which shows how one can always access the following builds reliably and predictably without having to worry about branches, tags or anything else about how the source code is organized:

  • The last official release that one can download from our web site
  • The last stable release, which includes minimally tested milestone beta builds
  • The most recent source code in active development

Pointers to each of these are maintained for your convenience by the development team. Simply execute the following command and you will check out three copies of Movable Type corresponding to each of the above states of the source code (the source code will be placed within a directory called mtos-latest):

svn co http://code.sixapart.com/svn/movabletype/latest mtos-latest

When that is complete you can navigate to the dev directory found within the mtos-latest directory that was just created for you and execute svn up to update to the most recent code in development.

Executing the following command will reveal that this is made possible through a set of three svn:externals:

svn propget svn:externals http://code.sixapart.com/svn/movabletype/latest

In layman's terms, these externals act as pointers to the location within the source tree where you can find the code you are looking for. This is the very mechanism used by our own build scripts to create our nightly builds, something you could do for yourself if you wanted by using the following command:

svn export `svn propget svn:externals http://code.sixapart.com/svn/movabletype/latest \
    | grep ^dev | perl -pe 's/^\w+ //'` nightly > /dev/null

Happy holidays and happy hacking.

Back

7 Comments

Arvind Satyanarayan

Arvind Satyanarayan on December 26, 2007, 10:16 p.m. Reply

Sweet, thanks for this tip!

Kevin Cole

Kevin Cole on July 8, 2012, 8:21 p.m. Reply

The tip is no more actual

Galen

Galen on August 5, 2012, 10:46 a.m. Reply

Kevin – What do you mean?

Mark Diame

Mark Diame on October 1, 2012, 12:36 p.m. Reply

I have to point here that the update process is made much more easily in Wordpress, where with a simple push you upgrade your version to the newest one.

Cristine Lafont

Cristine Lafont on October 17, 2012, 11:28 p.m. Reply

What does nightly builds mean. The link is broken and I can’t understand what the author has meant.

Amanda Peterson

Amanda Peterson on November 7, 2012, 4:58 a.m. Reply

This is why I use only the official releases. No Beta, no Alfa just the platform which will cause me less problems :) Such as Moveable Type of course which with its custom fields is a great weapon :)

George Wilkinson

George Wilkinson on December 12, 2012, 3:13 a.m. Reply

Can we try this tips and functions on the official Movable Type demo page? I have no idea have Mihai Buskaru put them on his demo.

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese