LinuxQuestions.org
Help answer threads with 0 replies.
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 08-23-2005, 12:51 PM   #1
Fozza
LQ Newbie
 
Registered: Dec 2004
Distribution: SuSE 9.3
Posts: 7

Rep: Reputation: 0
Version control and sharing code


Hello all, just some advice please from those who are more experienced than I

I'm a student developing various websites for various projects and have done a placement year working for a web design company. During my placement year, I used Microsoft Visual Sourcesafe to mange the versions of our code and web pages. This worked okay, but being a windows application, didn't integrate fully into my linux development environment.

I have tried to get to grips with CVS and Cervisia since leaving the company, but have found CVS to be quite limiting. I have also tried SubVersion, but could not get the GUI front-end to compile on my linux.

I may be doing something wrong - or what I want to do may be beyond CVS, and this is where I would like some advice.

I am (currently) the only person editing the code - so concurrent editing is not something I need. However, I DO need to be able to share code between projects, where simply dragging and dropping could do it in Source safe, but CVS does not. I also need the ability to view previous versions and see the differences - which CVS does fine.

Is there an easy way to share common code between projects in CVS, or am I using the wrong tools for the job? If so, is there a better (Free) way to do what I want?

Thanks in advance for any suggestions.
 
Old 08-23-2005, 01:16 PM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
Take the common parts of code, and let them live in their own module on the repository. Then, you can develop on the common parts in a separate area, and then they become much more extensible.

When you need to include them, have your build environment automatically check out the latest version from CVS or SubVersioN. Then you have what you're looking for (I think).
 
Old 08-23-2005, 01:24 PM   #3
Fozza
LQ Newbie
 
Registered: Dec 2004
Distribution: SuSE 9.3
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks orgcandman, I think I can see where I have been confused now.

I assumed the CVS modules were equivalent to the projects in sourcesafe, and I should keep a similar kind of hierarchy.

But what you're saying is that I can keep all my code in modules in any hierarchy I wish.

Using Cervisia, is there any way I can simply browse the contents of the modules without having to check them out? Again, like the project tree in Source safe.
 
  


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
Version Control in Vi? bladehaze Linux - Software 1 10-08-2005 09:25 PM
Is there version control that can be used with Samba? tbartolucci Linux - Software 1 01-19-2005 07:25 AM
version control recommendations? belorion Linux - Software 0 10-27-2004 10:28 AM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
Connexion sharing and trafic control exalik Linux - Networking 1 05-20-2003 11:42 AM

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

All times are GMT -5. The time now is 04:36 AM.

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