<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Dev News &#187; concurrent version system &#8211; News for Web Developers</title>
	<atom:link href="http://webdevnews.net/tag/concurrent-version-system/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdevnews.net</link>
	<description>News For Web Developers</description>
	<lastBuildDate>Sat, 06 Nov 2010 18:22:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using CVS to Upgrade a Drupal Site</title>
		<link>http://webdevnews.net/2008/09/using-cvs-to-upgrade-a-drupal-site/</link>
		<comments>http://webdevnews.net/2008/09/using-cvs-to-upgrade-a-drupal-site/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 10:00:48 +0000</pubDate>
		<dc:creator>Jeffrey Scott -TypeHost Web Development</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[concurrent version system]]></category>
		<category><![CDATA[CVS]]></category>
		<category><![CDATA[Upgrades]]></category>

		<guid isPermaLink="false">http://webdevnews.net/?p=48</guid>
		<description><![CDATA[If you have many Drupal sites under development, it may become quite difficult dealing with the frequent security upgrades that are released. Learning to use CVS commands can simplify this process considerably. CVS or Concurrent Versions System is a predecessor to Subversion. As Collins-Sussman wrote in Version Control with Subversion: “In the world of open [...]<p>This is a post from <a href="http://webdevnews.net" title="News for Web Developers">Web Dev News</a>, a site brought to you by <a href="http://xavisys.com" title="For all your web development needs">Xavisys Web Development</a>.  <br/><br/><a href="http://webdevnews.net/2008/09/using-cvs-to-upgrade-a-drupal-site/">Using CVS to Upgrade a Drupal Site</a></p>
]]></description>
			<content:encoded><![CDATA[<p>If you have many Drupal sites under development, it may become quite difficult dealing with the frequent security upgrades that are released. Learning to use CVS commands can simplify this process considerably. CVS or Concurrent Versions System is a predecessor to Subversion.</p>
<p>As Collins-Sussman wrote in <a href="http://en.wikipedia.org/wiki/Concurrent_Versions_System " target="_blank">Version Control with Subversion</a>:</p>
<p>“In the world of open source software, the Concurrent Version System (CVS) has long been the tool of choice for version control. And rightly so. CVS itself is free software, and its non-restrictive modus operandi and support for networked operation – which allow dozens of geographically dispersed programmers to share their work – fits the collaborative nature of the open-source world very well. CVS and its semi-chaotic development model have become cornerstones of open-source.”</p>
<p><span id="more-48"></span></p>
<h3>CVS Commands:</h3>
<p>The following line will install drupal 5-10 into dir drupal-5 from your current location.<br />
(if you execute it from /www then it will install to /www/drupal-5/ )</p>
<p><strong>/opt/csw/bin/cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal co -d drupal-5 -r DRUPAL-5-10 drupal</strong></p>
<p>The following line will install drupal 6-4 into dir drupal-6 from your current location:</p>
<p><strong>/opt/csw/bin/cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal co -d drupal-6 -r DRUPAL-6-4 drupal</strong></p>
<p>To install a module, i.e. Views:</p>
<p><strong>/opt/csw/bin/cvs co -d sites/all/modules/views -r DRUPAL-5&#8211;1-6 contributions/modules/views</strong></p>
<p>To install a module, i.e. CCK:</p>
<p><strong>/opt/csw/bin/cvs co -d sites/all/modules/cck -r DRUPAL-5&#8211;1-7 contributions/modules/cck</strong></p>
<p>For an explanation of the above examples:</p>
<p><strong>/opt/csw/bin/cvs</strong> &#8211; this is the path to CVS<br />
<strong>co -d<br />
sites/all/modules/views<br />
-r<br />
DRUPAL-5&#8211;1-7 </strong></p>
<p>This is important. It states the version of the module that you wish to check out. if you were for example to replace DRUPAL-5&#8211;1-7 with DRUPAL-5&#8211;1-6 it would check out version 5&#8211;1-6 not 5&#8211;1-7.</p>
<p><strong>contributions/modules/cck </strong></p>
<p>This is the cvs path to the version ( DRUPAL-5&#8211;1-7 ) that you wish to checkout.<br />
See: <a href="http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/cck/" target="_blank">http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/cck/</a><br />
It is simply the path from the end of the url, reflected online from CVS path.</p>
<p>run from dir /www/drupal-5/sites/all/modules/cck<br />
<strong>/opt/csw/bin/cvs update -r DRUPAL-5&#8211;1-7 –dP</strong></p>
<h3>Setting up the Drupal Installation:</h3>
<p>To install CCK for drupal 6 run this command from the drupal-6 root dir, i.e. /www/drupal-6 (run from there as the path is already included in the syntax, sites/modules/all)</p>
<p>CVS checks out (downloads) the requested module to wherever the syntax tells it to: sites/all/modules/cck</p>
<p><strong>/opt/csw/bin/cvs co -d sites/all/modules/cck -r DRUPAL-6&#8211;2-0-RC4 contributions/modules/cck</strong></p>
<p>Another example, once more executed from /www/drupal6/</p>
<p><strong>/opt/csw/bin/cvs co -d sites/all/modules/views -r DRUPAL-6&#8211;2-0-RC1 contributions/modules/views</strong></p>
<p>This has of course checked out the views module from the CVS repository, version 6&#8211;2-0-RC1 and put it into /contributions/modules/views for us.</p>
<h3>How to Install a Theme:</h3>
<p>Go to the drupal-6 root dir /www/drupal-6</p>
<p>To install the Refresco theme:</p>
<p>Navigate through the CVS repository to find the most recent stable release. http://cvs.drupal.org/viewvc.py/drupal/contributions/themes/refresco/ from there you can find the latest stable is 6&#8211;1-1</p>
<p>Note: that the source and destination paths have changed from modules to themes in the following syntax.</p>
<p><strong>/opt/csw/bin/cvs co -d sites/all/themes/refresco -r DRUPAL-6&#8211;1-1 contributions/themes/refresco</strong></p>
<p>Thanks to Andy at <a href="http://www.touchandclick.com" target="_blank">Touch &amp; Click</a> for providing this information – hopefully it will be of use in saving some time for those who have to upgrade Drupal on a regular basis.</p>
<p>For more information, see:<br />
<a href="http://drupal.org/handbook/cvs " target="_blank">http://drupal.org/handbook/cvs </a><br />
<a href="http://drupal.org/node/320" target="_blank">http://drupal.org/node/320</a></p>
<p>This is a post from <a href="http://webdevnews.net" title="News for Web Developers">Web Dev News</a>, a site brought to you by <a href="http://xavisys.com" title="For all your web development needs">Xavisys Web Development</a>.  <br/><br/><a href="http://webdevnews.net/2008/09/using-cvs-to-upgrade-a-drupal-site/">Using CVS to Upgrade a Drupal Site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdevnews.net/2008/09/using-cvs-to-upgrade-a-drupal-site/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

