<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-35183771</id><updated>2011-12-14T19:03:51.464-08:00</updated><title type='text'>How to CVS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cinucvs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35183771/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cinucvs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>cinu</name><uri>http://www.blogger.com/profile/13481895279993609251</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-35183771.post-115984757713736285</id><published>2006-10-02T20:52:00.000-07:00</published><updated>2006-10-02T20:52:57.146-07:00</updated><title type='text'>CVS Links</title><content type='html'>&lt;a href="http://www.phpkitchen.com/index.php?/archives/82-PHPkitchens-CVS-Tutorial.html"&gt;PHPkitchen's CVS Tutorial&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.jspwiki.org/wiki/CVSClientsOnWindows"&gt;CVS Clients On Windows&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.linux.ie/articles/tutorials/managingaccesswithcvs.php"&gt;Managing Access with CVS&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cvsnt.org/pipermail/cvsnt/2005-January/016565.html"&gt;[cvsnt] Re: Commit problem... connected to a remote system&lt;/a&gt;&lt;br /&gt;&lt;a href="http://cvspermissions.sarovar.org/"&gt;CVSPermissions is a toolkit that will allow CVS administrators to setup directory level access permissions in CVS&lt;/a&gt;&lt;br /&gt;&lt;a href="http://owen.sj.ca.us/~rk/howto/cvs.html"&gt;HOWTO - Use CVS &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35183771-115984757713736285?l=cinucvs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cinucvs.blogspot.com/feeds/115984757713736285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35183771&amp;postID=115984757713736285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35183771/posts/default/115984757713736285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35183771/posts/default/115984757713736285'/><link rel='alternate' type='text/html' href='http://cinucvs.blogspot.com/2006/10/cvs-links.html' title='CVS Links'/><author><name>cinu</name><uri>http://www.blogger.com/profile/13481895279993609251</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35183771.post-115945166182814293</id><published>2006-09-28T06:31:00.000-07:00</published><updated>2006-09-28T06:54:21.840-07:00</updated><title type='text'>CVS Howto with CVS Tortoise Client</title><content type='html'>&lt;span style="font-size:180%;"&gt;CVS Documentation of the errors we faced&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="create"&gt;&lt;span style="font-size:130%;"&gt;Create CVS Reposit&lt;/span&gt;&lt;/a&gt;&lt;a name="create"&gt;&lt;span style="font-size:130%;"&gt;ory&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;To set up a CVS repository, you must define the environment variable CVSROOT to point to the repository directory.&lt;br /&gt;A good choice may be (C-shell example) setenv CVSROOT /usr/local/src/cvsroot&lt;br /&gt;Once $CVSROOT is defined then you can do cvs init&lt;br /&gt;to initialize and set-up the CVS repository. This only needs to be done once.&lt;br /&gt;&lt;a name="server"&gt;CVS as a server&lt;/a&gt;&lt;br /&gt;If you want CVS to work as a server then do the following steps. This only needs to be done if you plan to have developers access your CVS root from off the machine anonymously.&lt;br /&gt;Generally, it's a good idea to set up CVS as it's own user and group:&lt;br /&gt;2. groupadd -g 8000 cvsgrp3. useradd -u 8000 -g cvsgrp -d /home/abhi/cvs/CVSROOT -s /bin/sh  -c "CVS Repository" -m cvs&lt;br /&gt;&lt;br /&gt;Set the ownership of the $CVSROOT and set the setgid bit on the directory to propagate group ownership to any created files and directories.&lt;br /&gt;6. chown -R cvs $CVSROOT&lt;br /&gt;7. chgrp -R cvsgrp $CVSROOT&lt;br /&gt;8. chmod -R g+s $CVSROOT&lt;br /&gt;&lt;br /&gt;Made sure the cvspserver entry is in the /etc/services file&lt;br /&gt;10. grep cvs /etc/services&lt;br /&gt;which should yield the following lines. (If not, then add them yourself.)&lt;br /&gt;cvspserver 2401/tcp # CVS client/server operations&lt;br /&gt;cvspserver 2401/udp # CVS client/server operations&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Add an entry into /etc/inetd.conf to invoke CVS as a server&lt;br /&gt;2. # CVS server&lt;br /&gt;3. cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/usr/local/src/cvsroot pserver&lt;br /&gt;and signal the inetd daemon to re-read the configuration file with&lt;br /&gt;killall -HUP inetd&lt;br /&gt;If xinetd is used instead then create a configuration file in /etc/xinetd.d named cvspserver, (where the last line tells it the names of your repositories):&lt;br /&gt;&lt;br /&gt;5. service cvspserver {&lt;br /&gt;port = 2401&lt;br /&gt;socket_type = stream&lt;br /&gt;protocol = tcp&lt;br /&gt;wait = no&lt;br /&gt;user = root&lt;br /&gt;passenv = PATH&lt;br /&gt;server = /usr/local/bin/cvs&lt;br /&gt;server_args = -f –allow-root=/home/abhi/cvs/CVSROOT pserver&lt;br /&gt;bind = localhost }&lt;br /&gt;and signal the xinetd daemon to re-read the configuration file with killall -HUP xinetd&lt;br /&gt;or cd /etc/rc.d/init.d ./xinetd reload&lt;br /&gt;Create or edit the following files in $CVSROOT/CVSROOT&lt;br /&gt;readers&lt;br /&gt;contains a list of pseudo usernames that can read from the CVS repository via cvspserver.&lt;br /&gt;writers&lt;br /&gt;contains a list of pseudo usernames can write via cvspserver ... this is not secure since passwd is passed as clear text.&lt;br /&gt;passwd&lt;br /&gt;create the encrypted passwd string with (htpasswd from apache) htpasswd -c passwd pseudo_username&lt;br /&gt;edit passwd to append ``:cvs'' to the pseudo_username entry. This is the user it will run as, and this will allow the pseudo user to write to the history file. Note that the cvs user was &lt;a href="http://owen.sj.ca.us/~rk/howto/cvs.html#server#server"&gt;defined above&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Note :- It is important that the user are not both in readers and writes if the user is in readers he will not have write access though he is in writers.&lt;br /&gt;&lt;br /&gt;Note:- Try to log in using username as cvs and password of cvs you created and see that you can access the $CVSROOT directory. This is important otherwise you will have problem with CVS clients.&lt;br /&gt;&lt;br /&gt;Using CVS with CVS Tortoise Client&lt;br /&gt;1. Install the latest version of CVS Totoise.&lt;br /&gt;2. Right click on your desktop. You will get the following Menu&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/7484/365/1600/image013.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/7484/365/320/image013.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Select Make New Module and give the module a name&lt;br /&gt;a. Select Protocol as Password server.&lt;br /&gt;b. Give the server IP Address running CVS.&lt;br /&gt;c. Give the port as 2401.&lt;br /&gt;d. Username as given in the readers or writers file.&lt;br /&gt;e. Module name you want to make in CVS Repository.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/7484/365/1600/image014.jpg"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://photos1.blogger.com/blogger/7484/365/320/image014.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Use CVS Add Contents to add contents to the repository.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/7484/365/320/image015.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note:- Add atleast one file could be temporary otherwise the repository will not get activated.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Use CVS Commit to commit the repository contents. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/7484/365/320/image016.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;6. USE CVS Release to release the repository&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/7484/365/320/image017.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Note:- See that there is no directory by name of CVS where the CVS checks out. CVS Tortoise creates its own CVS directory at the location where it checks out the module with configuration files. If CVS directory is already present it will not create this directory and consequently will give errors while releasing the module.&lt;br /&gt;7. Select CVS Checkout to checkout the Repository and add additional directories or files. Follow the same procedure for CVS Add Content to add new file or directories, and CVS Commit to Commit the Repository. In case of new directory create at least one file inside it. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/7484/365/320/image018.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/35183771-115945166182814293?l=cinucvs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cinucvs.blogspot.com/feeds/115945166182814293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=35183771&amp;postID=115945166182814293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35183771/posts/default/115945166182814293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35183771/posts/default/115945166182814293'/><link rel='alternate' type='text/html' href='http://cinucvs.blogspot.com/2006/09/cvs-howto-with-cvs-tortoise-client.html' title='CVS Howto with CVS Tortoise Client'/><author><name>cinu</name><uri>http://www.blogger.com/profile/13481895279993609251</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
