should cvs be used in kernel development?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
asmboozer

should cvs be used in kernel development?

Post by asmboozer »

as I continued with the tutorialhttp://www.osdever.net/bkerndev/index.php?the_id=90,

I am afraid the new feature kerenl would not work. but to restore the kernel source back is not so easy when the source files keep growing.

so I think it's better import the cvs. let it make work easier.

how about your ideas?

or better way to do that?

thanks.
nick8325
Member
Member
Posts: 200
Joined: Wed Oct 18, 2006 5:49 am

Re:should cvs be used in kernel development?

Post by nick8325 »

Yes, it seems like a good idea to use a version control system to me. You can change things without worrying about losing the old versions. A few years ago, I used to just comment out the old versions for a while, but a version control system is more sensible.

P.S. CVS is rather hard to use and gets confused easily, if you are going to use one try Subversion (subversion.tigris.org)
User avatar
Colonel Kernel
Member
Member
Posts: 1437
Joined: Tue Oct 17, 2006 6:06 pm
Location: Vancouver, BC, Canada
Contact:

Re:should cvs be used in kernel development?

Post by Colonel Kernel »

I use Perforce, mainly because it's what I use at work so I'm already familiar with it.
Top three reasons why my OS project died:
  1. Too much overtime at work
  2. Got married
  3. My brain got stuck in an infinite loop while trying to design the memory manager
Don't let this happen to you!
paulbarker

Re:should cvs be used in kernel development?

Post by paulbarker »

Version control is definately the way to go. Choosing between version control systems really comes down to personal preference - pick one you will be happy using, don't just jump on the first one you find.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:should cvs be used in kernel development?

Post by Candy »

I've used both SVN, CVS, PVCS and FreeVCS myself, with a very clear preference for SVN. It allows more than CVS in terms of what you can and cannot do (CVS complains about removing files from the archive that still exist in real life, SVN plain also removes the actual file). Both VCS systems are based on locking files and freeing them again. If I knew which files needed updating exactly it would've been a perfect program in the first place. Hence, I usually copy my full tree, muck about, perform a unix diff (got msys installed just for that at my work place), check out the files that I changed, check the new versions back in, commit... It's like using svn but manually.
durand
Member
Member
Posts: 193
Joined: Wed Dec 21, 2005 12:00 am
Location: South Africa
Contact:

Re:should cvs be used in kernel development?

Post by durand »

Have a look at darcs: http://www.darcs.net

I use SVN at work and I'm always having minor disagreements with it. Darcs is something which I enjoy using.

Yeah, you need to find something you like. I really like darcs. Try it out if you have some time.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:should cvs be used in kernel development?

Post by Pype.Clicker »

version control system is a must for projects like ours. I'm using CVS, but that's mainly because noone was talking about an alternative when i had to make the choice... and now, it's easier to keep with the defined environment than switching to Something Else (tm)...
Post Reply