ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.