LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2006, 08:40 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
CVS with KDevelop 3


I have a cvs set up on my server so I can learn and play with CVS. Now, on my local desktop I am trying to learn KDevelop. How can I use CVS with KDevelop?

I choose New project and select a simple KDE Application. Next I give it a name, version, author and so on. After that I choose CVS as Version Control System and I check "Create module in the repository". Now, I have no idea what to write in the "Repository" box. I have noticed the "Init local repository"-button. Do I need to have a local repository, too?

I have kdesdk and all plugins to kdevelop installed, using debian etch. I have a freebsd box with the cvsd port installed and I have two repositories called 'tutorials' and 'projects'. Everything works fine from the console so the cvs is running fine on the server.

Can someone give me some hints on how to use cvs with kdevelop? Or give me an url for further reading.

Thanks
 
Old 01-21-2006, 10:29 AM   #2
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
well i have not had the need to use versioning systems.. so i am no expert here.. but i tested it out in kdevelop what you described. and i inited the local repository, just picked a file in ~ .. it seemed to have worked.. i have not worked any extensively to see if it checks in files and such.. but it appears that it would, since it made all the directories and copied all the source for the project..

i would think that there is a more *right* way to set it up.. anyone?
 
Old 01-21-2006, 02:24 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by xhi
well i have not had the need to use versioning systems.. so i am no expert here.. but i tested it out in kdevelop what you described. and i inited the local repository, just picked a file in ~ .. it seemed to have worked.. i have not worked any extensively to see if it checks in files and such.. but it appears that it would, since it made all the directories and copied all the source for the project..

i would think that there is a more *right* way to set it up.. anyone?
There is just one problem, and this is what I ment in my question even though my background-story might have made it unclear, and that is managing the cvs if it is located on another computer. I am not sure what to type in the fields in order to make it understand that I want to use a external, not local, cvs repository. My first guess was that I just needed to supply the $CVSROOT variable but that did not work (resulted in an error about connecting to the cvs repository).

Tho, if you use a local repository for CVS it is easy to just right-click a file and choose to add or commit it. So my only problem is how to use an external CVS.

Regards,
 
Old 01-21-2006, 04:52 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Are you using ssh to access your remote cvs repository? If so:
Quote:
All these commands are invoked as subprocesses by KDevelop without any further command line options or environment variables. This may be a problem when the connection with the CVS server goes through a ssh connection and requires that you enter your password each time you commit or update. This is for instance necessary when your project is hosted on sourceforge.net. Workarounds for this problem are described on the CVS/SSH FAQ which you can find in the SourceForge documentation.
This is from:
http://docs.kde.org/development/en/k...-commands.html
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create a cvs repository with existing files to cvs powah Linux - Software 1 08-19-2005 09:19 AM
KDevelop & CVS/SVN Plugins G.Bloke Mandriva 1 07-12-2005 03:35 PM
CVS Options Don't Show Up in KDevelop goldenratiophi Linux - Software 1 05-25-2005 10:47 PM
Obtaining sources by CVS - no cvs access cybrjackle *BSD 0 01-18-2005 08:28 AM
KDevelop + CVS Ggrot Linux - Software 4 09-13-2004 12:36 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration