<?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>John Roach &#187; cvs</title>
	<atom:link href="http://johnroach.info/tag/cvs/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnroach.info</link>
	<description>Coding for life</description>
	<lastBuildDate>Sun, 27 Jun 2010 08:05:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Setting up a CVS server for the BlackBox project</title>
		<link>http://johnroach.info/2009/12/setting-up-a-cvs-server-for-the-blackbox-project/</link>
		<comments>http://johnroach.info/2009/12/setting-up-a-cvs-server-for-the-blackbox-project/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 09:05:28 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[ip home automation project]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 11]]></category>
		<category><![CDATA[fedora 12]]></category>
		<category><![CDATA[john roach]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=172</guid>
		<description><![CDATA[Following the previous posts in this category you will notice that I was using Sourceforge.net as the code hosting. We had to change that because we really didn&#8217;t want to share every bit of code. ( A big sorry to open source developers. I am truly a sell out. ) So had to set up [...]]]></description>
			<content:encoded><![CDATA[<p>Following the previous posts in this category you will notice that I was using Sourceforge.net as the code hosting. We had to change that because we really didn&#8217;t want to share every bit of code. ( A big sorry to open source developers. I am truly a sell out. ) So had to set up CVS server. Never done that before. Should probably add it to my CV. Anyways to business.</p>
<p><strong>How to set up a CVS server using SSH :</strong></p>
<p><span id="more-172"></span><strong>Step 1 : </strong>Install CVS to Fedora. My Fedora distro came with CVS since I chose developer properties during installation. However you may not have it to install simply say;</p>
<p><code>sudo yum install cvs</code></p>
<p><strong>Step 2 : </strong>Create a cvs user and group! Just follow the code below;<br />
<code>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 129px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">useradd cvs</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 129px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">groupadd cvs</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 129px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">mkdir /home/cvs</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 129px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">cvs -d /home/cvs init</div>
<p>useradd cvs</p>
<p>groupadd cvs</p>
<p>mkdir /home/cvs<br />
</code><br />
<strong>Step 3 : </strong>Set permissions and add /home/cvs directory to cvs by using the following;</p>
<p><code>cvs -d /home/cvs init</p>
<p>chown -R cvs:cvs /home/cvs</p>
<p>chmod -R 770 /home/cvs</p>
<p>chmod 700   /home/cvs/CVSROOT</code></p>
<p><strong>Step 4 : </strong>Now you have to add your project to the CVS server. I assume you have a ~/project<strong> </strong>directory on the server. Just follow the following commands;</p>
<p><code>cd ~/project</p>
<p>cvs -d /home/cvs import -m "Initial Import" project myname release</p>
<p>cvs -d /home/cvs checkout project</code></p>
<p><strong>Step 5 :</strong> Add an account to the CVS server (preferably with the same username and password of the user acount you have created for the CVS server that will connect through SSH.) Use the following by replacing &lt;username&gt; and &lt;password&gt;</p>
<p><code>echo "&lt;username&gt;:&lt;password&gt;" &gt;&gt; /home/cvs/CVSROOT/passwd</code></p>
<p><strong>Step 6 :</strong> Make sure you have created a user to connect through SSH give him CVS group permission.</p>
<p>And that is that. It should work. Though you may need to do some changes in <strong>Step 3.</strong> To connect you can simply use the following code or just use Eclipse&#8217;s IDE ( that is what we are using. )</p>
<p><code>export CVS_RSH=ssh</p>
<p>cvs -d :ext:<span class="mh-plaintext">user<a href='http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=3zN96vchJY-mvaPqKX17SuYHSc3qpNFIJ0Dgv5wOWkU=' onclick="window.open('http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=3zN96vchJY-mvaPqKX17SuYHSc3qpNFIJ0Dgv5wOWkU=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@repository.host.name</span>:/home/cvs login</p>
<p>cvs -d :ext:<span class="mh-plaintext">user<a href='http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=3zN96vchJY-mvaPqKX17SuYHSc3qpNFIJ0Dgv5wOWkU=' onclick="window.open('http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=3zN96vchJY-mvaPqKX17SuYHSc3qpNFIJ0Dgv5wOWkU=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@repository.host.name</span>:/home/cvs co moduleName</code></p>
<p>I hope it will be helpful. Peace! </p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2009/12/setting-up-a-cvs-server-for-the-blackbox-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The BeagleBoard Has Arrived!!</title>
		<link>http://johnroach.info/2009/11/the-beagleboard-has-arrived/</link>
		<comments>http://johnroach.info/2009/11/the-beagleboard-has-arrived/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 09:16:08 +0000</pubDate>
		<dc:creator>John Roach</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[ip home automation project]]></category>
		<category><![CDATA[beagleboard]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[embedded device]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[sd card]]></category>

		<guid isPermaLink="false">http://johnroach.info/?p=116</guid>
		<description><![CDATA[The long awaited Beagle board has arrived. Even tough the team&#8217;s enthusiasm was up the roof we were not able to try it out. More on this later. I would also like to inform all people who is following this blog religiously that our project is now hosted on SourceForge.net at http://sourceforge.net/projects/theblackbox/ . And I [...]]]></description>
			<content:encoded><![CDATA[<p>The long awaited Beagle board has arrived.<br />
<center><div class="flashalbum">
<div class="flagallery_swfobject" id="so1_c1">
<h1 style="font-size:14px; font-weight:normal; margin:0; padding:0; background:none; border:none;"><a style="font-size:14px; font-weight:normal; margin:0; padding:0; background:none; border:none;" href="http://codeasily.com/wordpress-plugins/flash-album-gallery/flag" title="GRAND Flash Album Gallery">GRAND Flash Album Gallery</a></h1>
<h1 style="font-size:12px; font-weight:normal; margin:0; padding:0; background:none; border:none;"><a style="font-size:12px; font-weight:normal; margin:0; padding:0; background:none; border:none;" href="http://photogallerycreator.com" title="Skins for GRAND FlAGallery">Skins for GRAND FlAGallery, Photo Galleries, Video Galleries</a></h1>
<h2 style="font-size:12px; font-weight:normal; margin:0; padding:0; background:none; border:none;"><a style="font-size:12px; font-weight:normal; margin:0; padding:0; background:none; border:none;" href="http://codeasily.com" title="Wordpress Flash Templates, WordPress Themes and WordPress plugins">developed by CodEasily.com - WordPress Flash Templates, WordPress Themes and WordPress plugins</a></h2>
The <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> and a browser with Javascript support are needed.
</div></div>
<script type="text/javascript" defer="defer">
var swfdiv=document.getElementById('so1_c1');swfdiv.style.display='none';setTimeout(function(){swfdiv.style.display='block';},3000);
var so1_c1 = {
	params : {
		wmode : "window",
		allowfullscreen : "true",
		menu : "false",
		bgcolor : "##262626"},
	flashvars : {
		path : "http://johnroach.info/wp-content/plugins/flagallery-skins/default/",
		gID : "1",
		galName : "Gallery",
		width : "100%",
		height : "500"},
	attr : {
		styleclass : "flashalbum",
		id : "so1_f1",
		name : "so1_f1"},
	start : function() {
		swfobject.embedSWF("http://johnroach.info/wp-content/plugins/flagallery-skins/default/gallery.swf", "so1_c1", "100%", "500", "10.0.0", "http://johnroach.info/wp-content/plugins/flash-album-gallery/skins/expressInstall.swf", this.flashvars, this.params , this.attr );
swfobject.createCSS("#so1_f1","outline:none");
	}
}
so1_c1.start();
</script></center><br />
Even tough the team&#8217;s enthusiasm was up the roof we were not able to try it out. More on this later. I would also like to inform all people who is following this blog religiously that our project is now hosted on SourceForge.net at <a title="SourceForge.net link" href="http://sourceforge.net/projects/theblackbox/" target="_blank">http://sourceforge.net/projects/theblackbox/</a> . And I have also set up a CVS so those who want to follow the code will be able to follow it from the net.</p>
<p>The CVS code is as follows</p>
<p><code>cvs -d:pserver:<span class="mh-plaintext">anon<a href='http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=rxrmwcC6XSEzUTZcYxJyqWi0HbbUO0HifVcRohuh5WD330ULtJVchjFWCdnchiYu' onclick="window.open('http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=rxrmwcC6XSEzUTZcYxJyqWi0HbbUO0HifVcRohuh5WD330ULtJVchjFWCdnchiYu', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@theblackbox.cvs.sourceforge.net</span>:/cvsroot/theblackbox login</code></p>
<p><code> </code></p>
<p><code>cvs -z3 -d:pserver:<span class="mh-plaintext">anon<a href='http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=rxrmwcC6XSEzUTZcYxJyqWi0HbbUO0HifVcRohuh5WD330ULtJVchjFWCdnchiYu' onclick="window.open('http://mailhide.recaptcha.net/d?k=01TrC6zV60AN6xJShgnmoriQ==&amp;c=rxrmwcC6XSEzUTZcYxJyqWi0HbbUO0HifVcRohuh5WD330ULtJVchjFWCdnchiYu', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@theblackbox.cvs.sourceforge.net</span>:/cvsroot/theblackbox co -P modulename</code></p>
<p>I am sorry to say due to some weird problem you can not view the CVS modules from Sourceforge. You will need to use some kind of client. I am currently using Eclipse as my development IDE hence all my CVS materials comes from that. I have heard that TortoiseCVS is quite neat in its own way (for Windows) but I&#8217;d rather use Eclipse your choice.</p>
<p><span id="more-116"></span>Please feel free to be a part of the project. Warning us of any bugs will be rewarded with a Cookie.</p>
<p>Now back to the BeagleBoard was indeed a great buy. Small and fast. Though the peripherals cost us quite much. We installed Angstrom Linux  distribution. Which could be found at <a title="Angstrom Distro Site" href="http://www.angstrom-distribution.org/" target="_blank">http://www.angstrom-distribution.org/</a> . Being new in using the BeagleBoard we decided to use some of the sources at hand. We started with the site <a title="BeagleBoard Beginners Site Link" href="http://elinux.org/BeagleBoardBeginners" target="_blank">http://elinux.org/BeagleBoardBeginners</a> . We ran into some problems.</p>
<p>Our first problem was that we did not have a AT-Everex cable to connect to the board. So we had to jump to Step 5 of the steps presented in the web-site.  Which is basicly Linux Boot Formatting the SDHC disc we bought for the board. I beg you please not to follow the steps at elinux.org instead follow <a title="SD card formatting link" href="http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat" target="_blank">http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat</a> . It is much more clear and you don&#8217;t get side stepped. Once we used the steps in formatting the SD disk in code.google.com we noticed we needed cable so we can tell the board where to boot from. So until we get that cable (or make one for our selves?) the project is at a halt. Just follow this blog for any more updates on the board and follow the Sourceforge.net &#8216;s for the changes on our code.</p>
<p>Peace!</p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2009/11/the-beagleboard-has-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
