LinuxQuestions.org
Review your favorite Linux distribution.
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 06-06-2007, 10:55 PM   #1
hepburnenthorpe
Member
 
Registered: Jun 2006
Location: Sydney
Distribution: Gentoo + Debian
Posts: 132

Rep: Reputation: 15
Ideas on how to impliment a cvs repo.


I'm in the process of developing my own Linux system (built on LFS). Not exactly what I would call a distro (its early days :-)), but I would eventually like to share it amongst friends and anyone else who may be interested as well as several different machines that I own.

Ive got the system to the point where it boots and I can login. It is VERY minimal, now I need to (and am about to) start working on my system specific tools / configurations however, before I do I would like to setup a cvs repo to store any and all changes made, along with all the software that I develop for it.

Ideally I would like to be able to make / my working directory, however, this doesn't really seem possible / feasible. Ive asked this question on many Linux boards, {linux,cvs} irc channels and have googled plenty but don't seem to be getting any help.

Has anyone here got ANY theories on how exactly I could setup a cvs so that I can checkout my changes directly into / of a live/working Linux OS? How do distro devs do it?

I know this sounds pretty silly considering the project Ive just described myself undertaking but I'm really not all that knowledgeable when it comes to cvs.

If it helps any, I will probably be doing most of my dev work from within another OS and chroot into my (LFS) system.

Any ideas would be MUCH appreciated.
 
Old 06-07-2007, 07:08 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Using CVS to track changes to system binaries isn't really practical. Although it will work, CVS doesn't handle changes to binaries in a way that lets you diff or merge, so it won't provide you with useful information. Unless they've changed the functionality and I just haven't kept up... If you want to track changes to the binaries you compile and deploy, you can keep the sources you compiled from and back them up somewhere else.

CVS does work well for text files so you could manage directories like /etc and /usr/local/etc.

Either way I don't recommend checking out to the root of your file-system. Check out to a working directory to work on managed files, then check them in again. When you want to deploy files, you can export them to a temporary location and move them from there. It sounds like extra work and I've probably made it sound that way because I'm against it

Just my
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
libSDL install error - Ubuntu repo using CVS versions of libglu1-mesa? morrolan Ubuntu 1 03-12-2007 08:13 AM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM
how to use syanptic in fc 5 and how to add repo in it and which repo is to be added.. vikas04522 Linux - Software 1 08-26-2006 12:29 PM
How to impliment Clustering abhioficio Linux - Networking 2 03-08-2005 01:05 AM
setting up a Live CVS ideas mancini Linux - Software 5 01-06-2005 07:44 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration