Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 11th, 2002, 10:22 AM
chinook chinook is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 262 chinook User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 58 sec
Reputation Power: 8
Cvs

Hello,

I work for a website build company. We use red hat servers, with Apache, PHP & MySQL.

We need to have some kind of version control installed as currently we have nothing.

At the moment we have two servers a live and a development server, both of which are on the web - live and development URLs being different for each site.

From what I gather I can install CVS on the development server, then whenever a developer is altering files they can check out their copy of the area they are working on, then when finished check it back in, CVS doing its thing to stop version problems.

The developers work on Win2k machines and we want to use winCVS as the frontend. Can anybody give me any advice / point me in the right direction for some installation help and general guidelines.

I have installed CVS on the server and it seems to have worked as I can check out a directory into the CVS root from the shell.
From what I understand this creates a copy of the files which you edit....after you have finished editing these files and you check them back in, do they overwrite where they were originally checked out from, or do they remain ni the CVSroot?

I am attempting to use pserver to connect to the server from WinCVS, however I have so far been unable to do this. I have edited /etc/services and /etc/inetd.conf and restarted.

When I try to connect from WinCVS I get the following message:

<username>:<password>@<ip address of server>:/home/cvs/cvsroot (password authentication)
cvs -z9 -q -d server:<username>:<password>@<ip address of server>:/home/cvs/cvsroot init
cvs [init aborted]: unrecognized auth response from @<ip address of server>: Unknown command: `\'

Any ideas anybody, any help much appreciated!!

Cheers

Reply With Quote
  #2  
Old February 4th, 2003, 10:17 PM
fresh guy fresh guy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 1 fresh guy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how i can install and use CVS

Dear readers,

Can anybody guide me how to use CVS and how to install and run it. The documentation is a bit confusing me, so please help
me. Should i use both CVS and WinCVS for server and client or
only CVS for both client and server..???
Iam using below software for my project
Operating System : Windows2000
Server : Tomcat
Platform : (Java) Servlets

Reply With Quote
  #3  
Old February 5th, 2003, 02:02 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
to "chinook":
Quote:
The developers work on Win2k machines and we want to use winCVS as the frontend. Can anybody give me any advice / point me in the right direction for some installation help and general guidelines.

just do a default installation. CVS is not as hard as the documentation implies. theory is much harder than praxis here
Quote:
I have installed CVS on the server and it seems to have worked as I can check out a directory into the CVS root from the shell.
From what I understand this creates a copy of the files which you edit....after you have finished editing these files and you check them back in, do they overwrite where they were originally checked out from, or do they remain ni the CVSroot?[/edit]
Yes and no. The original file on the server is never overwritten. I didnīt even find a way yet to remove old versions of files that i am sure i wonīt need anymore. It keeps track of just everything. But if you want to check-out a file, it will -by default- check out the most recent version. but you can supply a version- or branch-tag on checkout to get any older version.
[quote]I am attempting to use pserver to connect to the server from WinCVS, however I have so far been unable to do this. I have edited /etc/services and /etc/inetd.conf and restarted.

you should never edit /etc/services. unless you are using a very old distro or doing some really odd things.
when i installed cvs, i had big trouble choosing the right path to put into "inetd.conf" as the allowed CVSROOT. iirc you have to supply a trailing slash or it wonīt work at all. But then - it could be just the other way around. Sorry, my linux box is broken since months already and from home (where i am right now), i canīt access our companyīs intranet to check the config there.

to "fresh guy"
Quote:
Should i use both CVS and WinCVS for server and client or
only CVS for both client and server..???

cvs is no server. cvsd is a server, but i recommend not using it for an intranet setup. it is only a wrapper to "cvs" supplying direct socket connections. "pserver" authentication is much easier and does not need a cvs server. it will use telnet (rsh/ssh) to connect to the server and run the local cvs installation there for access.

WinCVS is just a GUI for cvs on windows and i really like it. Use it. I am using it for the administrative tasks. Also i got "turtoise CVS" additionally to WinCVS for easy checkin/checkout/... itīs an extension to windows explorer(C), (R), TM, that adds icons for cvs-enabled folders where you can easily tell which files have been modified and also allows "right-click update/commit/...".

cvs is
- The Hirsch
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Cvs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway