[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Managing a project in multiple directories?

From: Mark D. Baushke
Subject: Re: Managing a project in multiple directories?
Date: Tue, 03 Jan 2006 11:18:15 -0800

Hash: SHA1

address@hidden writes:

> The project in question does not have a single root directory. Although
> the bulk of the files live in /var/www (and *only* project-related
> files are in there), some critical ones live in /etc and other
> directories (and in most cases there are non-project files in these
> directories). Effectively, the project consists of the entire
> filesystem, with huge chunks (/tmp, /dev, /bin, ...) ignored.
> The question is, how to convince CVS to treat this project as a single
> unit: eg when checking out, I don't want to say 'cvs checkout proj' and
> have the entire project filesystem dumped into ./proj; rather the
> checked out files should be created with their correct absolute paths.
> I'm not entirely sure that CVS is even the right tool for this job...

CVS is not a configuration management tool. It is a concurrent source
versioning system.

> Any suggestions?

Check out the files into a directory somewhere and then use a 'make
install' or other such command to push the files into the running system

It would probably be wise to do sanity checks before you do the push to
ensure that you are not losing any information when you clobber the
destination files.

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]