Svn.evolt.org

From Evolt.org

Jump to: navigation, search

Currently running: svn 1.4.2 (r22196)
Repository path: /local/svn/repos
Projects: vendor (for vendor drops), www

Contents

Checking out

cd /path/to/myversion
svn checkout http://svn.evolt.org/www/trunk .

The settings.php file is password-protected as it contains the database URL and will likely not work for you. The database is not included at this time.

Upgrading Vendor Branch

Note: The Debian version of svn does not include the svn_load_dirs.pl tool as it was likely encumbered.

Repository Layout

/
  vendor/
    drupalcore/
      6.8/
      current/
    drupalmodules/
      codefilter/
        6.x-1.0/
        current/
      fivestar/
        6.x-1.13/
        current/
      views/
        6.x-2.2/
        current/
      votingapi/
        6.x-2.0-rc2/
        current/
  www/
    trunk/
    tags/
    branches/

Initial Import

mkdir -p /local/svn/repos
svnadmin create /local/svn/repos
mkdir -p ~/tmp/vendor/drupalcore/current
mkdir -p ~/tmp/vendor/drupalmodules/codefilter/current
mkdir -p ~/tmp/vendor/drupalmodules/fivestar/current
mkdir -p ~/tmp/vendor/drupalmodules/views/curent
mkdir -p ~/tmp/vendor/drupalmodules/votingapi/current
mkdir -p ~/tmp/www/branches
mkdir -p ~/tmp/www/tags
mkdir -p ~/tmp/www/trunk
cp -pr ~/drupal-6.8/* ~/tmp/vendor/drupalcore/current cp -pr ~/codefilter/* ~/tmp/vendor/drupalmodules/codefilter/current cp -pr ~/fivestar/* ~/tmp/vendor/drupalmodules/fivestar/current cp -pr ~/views/* ~/tmp/vendor/drupalmodules/views/current cp -pr ~/votingapi ~/tmp/vendor/drupalmodules/votingapi/current
cp -pr ~/drupal-6.8/* ~/tmp/trunk mkdir -p ~/tmp/trunk/sites/all/modules cp -pr ~/codefilter ~/tmp/trunk/sites/all/modules cp -pr ~/fivestar ~/tmp/trunk/sites/all/modules cp -pr ~/views ~/tmp/trunk/sites/all/modules cp -pr ~/votingapi ~/tmp/www/trunk/sites/all/modules
svn import ~/tmp file:///local/svn/repos
svn copy file:///local/svn/repos/vendor/drupalcore/current \ file:///local/svn/repos/vendor/drupalcore/6.8 \ -m "Tagging Drupal 6.8."
svn copy file:///local/svn/repos/vendor/drupalmodules/codefilter/current \ file:///local/svn/repos/vendor/drupalmodules/codefilter/6.x-1.0 \ -m "Tagging codefilter-6.x-1.0."
svn copy file:///local/svn/repos/vendor/drupalmodules/fivestar/current \ file:///local/svn/repos/vendor/drupalmodules/fivestar/6.x-1.13 \ -m "Tagging fivestar-6.x-1.13."
svn copy file:///local/svn/repos/vendor/drupalmodules/views/current \ file:///local/svn/repos/vendor/drupalmodules/views/6.x-2.2 \ -m "Tagging views-6.x-2.2."
svn copy file:///local/svn/repos/vendor/drupalmodules/votingapi/current \ file:///local/svn/repos/vendor/drupalmodules/votingapi/6.x-2.0-rc2 \ -m "Tagging votingapi-6.x-2.0-rc2."

Further Reading

Vendor branches: http://svnbook.red-bean.com/en/1.5/svn.advanced.vendorbr.html
Drupal and vendor branches: http://www.davidgrant.ca/maintaining_vendor_sources_with_subversion