Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Managing Multiple Drupal Sites with SVN

Managing Multiple Drupal Sites with SVN

You're a smart developer and as such you utilize a source control solution in your work.

Your work focuses on the Drupal platform, and as such you have multiple Drupal sites that you manage for yourself as well as your clients.

Storing each site in its own repository is good, but storing your commonly used modules in a central repository and pulling them into each site via svn:externals is better.

This talk will show you how.

Eric Marden

February 08, 2009

More Decks by Eric Marden

Other Decks in Programming


  1. Managing Multiple
    Drupal Sites with SVN
    Eric Marden

    View full-size slide

  2. svn:externals
    • Create a Vendors repository
    • Keep Drupal core as well as modules and themes
    in this repository
    • Use svn:externals to pull modules into your site’s
    • Use the -r flag in your svn:externals properties to
    keep modules from being upgraded automatically
    when they are updated in Vendors
    This talk is delivered classroom style and illustrated on a white board.
    The top five talking points are above.

    View full-size slide

  3. Learn More
    • Subversion http://subversion.tigris.org/
    • SVN Book http://svnbook.red-bean.com/
    • svn:externals http://tinyurl.com/svnexternals
    • Google: http://letmegooglethatforyou.com/?q=svn:externals

    View full-size slide

  4. Subversion Clients
    • svn command line
    • TortoiseSVN http://tortoisesvn.tigris.org/
    • SmartSVN http://www.syntevo.com/smartsvn/
    • Versions http://versionsapp.com/

    View full-size slide

  5. Thank you
    Eric Marden

    View full-size slide