<?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>Wed, 18 Jan 2012 19:30:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting up a CVS server for the BlackBox project</title>
		<link>http://johnroach.info/2009/12/13/setting-up-a-cvs-server-for-the-blackbox-project/</link>
		<comments>http://johnroach.info/2009/12/13/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 &#8230; <a href="http://johnroach.info/2009/12/13/setting-up-a-cvs-server-for-the-blackbox-project/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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:username@repository.host.name:/home/cvs login</p>
<p>cvs -d :ext:username@repository.host.name:/home/cvs co moduleName</code></p>
<p>I hope it will be helpful. Peace! </p>
]]></content:encoded>
			<wfw:commentRss>http://johnroach.info/2009/12/13/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/12/the-beagleboard-has-arrived/</link>
		<comments>http://johnroach.info/2009/11/12/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 &#8230; <a href="http://johnroach.info/2009/11/12/the-beagleboard-has-arrived/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The long awaited Beagle board has arrived.<br />
<center><div class="flashalbum">
<div class="flagallery_swfobject" id="sid_1852079388_div"><style type="text/css">
.flashalbum { clear: both; }
.flag_alternate { display: none; }
.flag_alternate .flagcatlinks { padding: 7px 3px; margin:0 0 3px; background-color: #292929; }
.flag_alternate .flagcatlinks a.flagcat { padding: 4px 10px; margin: 0; border: none; border-left: 1px dotted #ffffff; font: 14px Tahoma; text-decoration: none; background: none; color: #ffffff; background-color: #292929; }
.flag_alternate .flagcatlinks a.flagcat:hover { text-decoration: none; background: none; border: none; border-left: 1px dotted #ffffff; }
.flag_alternate .flagcatlinks a.active, .flag_alternate .flagcatlinks a.flagcat:hover { color: #ffffff; background-color: #737373; outline: none; }
.flag_alternate .flagcatlinks a.flagcat:first-child { border: none; }
.flag_alternate .flagcategory { display: none; font-size: 0; line-height: 0; }
.flag_alternate { background-color: transparent; margin: 7px 0; }
.flag_alternate .flagcategory { width: 100%; height: auto; position: relative; text-align: center; padding-bottom: 4px; }
.flag_alternate .flagcategory a.flag_pic_alt { display: inline-block; margin: 1px 0 0 1px; padding: 0; height: 100px; width: 115px; line-height: 96px; position:relative; z-index: 2; text-align: center; z-index:99; cursor:pointer; background-color: #ffffff; border: 2px solid #ffffff; text-decoration: none; background-image: url(http://johnroach.info/wp-content/plugins/flash-album-gallery/admin/images/loadingAnimation.gif); background-repeat: no-repeat; background-position: 50% 50%; font-size: 8px; color: #ffffff; }
.flag_alternate .flagcategory a.flag_pic_alt > .flag_pic_desc { display: none; padding: 4px; line-height: 140%; font-size: 12px; }
.flag_alternate .flagcategory a.flag_pic_alt > .flag_pic_desc * { display: none; line-height: 140%; font-size: 12px !important; }
.flag_alternate .flagcategory a.flag_pic_alt:hover { background-color: #ffffff; border: 2px solid #4a4a4a; color: #4a4a4a; text-decoration: none; z-index: 3; }
.flag_alternate .flagcategory a.flag_pic_alt.current, .flag_alternate .flagcategory a.flag_pic_alt.last { border-color: #4a4a4a; }
.flag_alternate .flagcategory a.flag_pic_alt > img { vertical-align: middle; display:inline-block; position: static; margin: 0 auto; padding: 0; border: none; height: 100px !important; width: 115px !important; max-width: 115px; min-width: 115px; }

#fancybox-title-over .title { color: #ff9900; }
#fancybox-title-over .descr { color: #cfcfcf; }
.flag_alternate .flagcatlinks { background-color: #292929; }
.flag_alternate .flagcatlinks a.flagcat { border-color: #ffffff; color: #ffffff; background-color: #292929; }
.flag_alternate .flagcatlinks a.flagcat:hover { border-color: #ffffff; }
.flag_alternate .flagcatlinks a.active, .flag_alternate .flagcatlinks a.flagcat:hover { color: #ffffff; background-color: #737373; }
	.flag_alternate .flagcategory a.flag_pic_alt { background-color: #ffffff; border: 2px solid #ffffff; color: #ffffff; }
.flag_alternate .flagcategory a.flag_pic_alt:hover { background-color: #ffffff; border: 2px solid #4a4a4a; color: #4a4a4a; }
.flag_alternate .flagcategory a.flag_pic_alt.current, .flag_alternate .flagcategory a.flag_pic_alt.last { border-color: #4a4a4a; }
</style>
<script type="text/javascript">var ExtendVar='http://johnroach.info/wp-content/plugins/flash-album-gallery/';</script>
<div id="sid_1852079388_jq" class="flag_alternate">
		<div class="flagcatlinks"></div>
			<div class="flagCatMeta">
			<h4>BeagleBoardArrival</h4>
			<p></p>
		</div>
		<div class="flagcategory" id="gid_1_sid_1852079388">
			<a class="i0 flag_pic_alt" href="http://johnroach.info/wp-content/flagallery/beagleboardarrival/image023.jpg" id="flag_pic_1" rel="gid_1_sid_1852079388" title="">[img src=http://johnroach.info/wp-content/flagallery/beagleboardarrival/thumbs/thumbs_image023.jpg]<span class="flag_pic_desc" id="flag_desc_1"><strong></strong><br /><span></span></span></a><a class="i1 flag_pic_alt" href="http://johnroach.info/wp-content/flagallery/beagleboardarrival/image025.jpg" id="flag_pic_2" rel="gid_1_sid_1852079388" title="">[img src=http://johnroach.info/wp-content/flagallery/beagleboardarrival/thumbs/thumbs_image025.jpg]<span class="flag_pic_desc" id="flag_desc_2"><strong></strong><br /><span></span></span></a>		</div>
	</div>

</div></div>
<script type="text/javascript" defer="defer">
flag_alt['sid_1852079388'] = jQuery("div#sid_1852079388_jq").clone().wrap(document.createElement('div')).parent().html();
var sid_1852079388_div = {
	params : {
		wmode : "opaque",
		allowfullscreen : "true",
		allowScriptAccess : "always",
		saling : "lt",
		scale : "noScale",
		menu : "false",
		bgcolor : "##262626"},
	flashvars : {
		path : "http://johnroach.info/wp-content/plugins/flagallery-skins/default/",
		gID : "1",
		galName : "Gallery",
		skinID : "sid_1852079388",
		postID : "116",
		postTitle : "The+BeagleBoard+Has+Arrived%21%21+"},
	attr : {
		styleclass : "flashalbum",
		id : "sid_1852079388"},
	start : function() {
		swfobject.embedSWF("http://johnroach.info/wp-content/plugins/flagallery-skins/default/gallery.swf", "sid_1852079388_div", "100%", "500", "10.1.52", "http://johnroach.info/wp-content/plugins/flash-album-gallery/skins/expressInstall.swf", this.flashvars, this.params , this.attr );
swfobject.createCSS("#sid_1852079388","outline:none");
	}
}
sid_1852079388_div.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:anonymous@theblackbox.cvs.sourceforge.net:/cvsroot/theblackbox login</code></p>
<p><code> </code></p>
<p><code>cvs -z3 -d:pserver:anonymous@theblackbox.cvs.sourceforge.net:/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/12/the-beagleboard-has-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

