[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs add <directory>
From: |
Greg A. Woods |
Subject: |
Re: cvs add <directory> |
Date: |
Fri, 23 May 2003 17:59:23 -0400 (EDT) |
[ On Friday, May 23, 2003 at 22:19:48 (+0100), Max Bowsher wrote: ]
> Subject: Re: cvs add <directory>
>
> CVS's handling of directories would be elegant *if* we could use "co -P" and
> "update -dP" *all the time*.
>
> Unfortunately, trying to do so prevents the use of certain complex modules
> arrangements: specifically when a module name expands to some files in a
> toplevel directory, and certain subdirectories within that toplevel.
> With -d, the intent of the module is destroyed - *every* subdirectory within
> the toplevel is fetched on update. (Example: the src repository at
> sources.redhat.com)
I would suggest to you that you're using the wrong tool(s), or using
them in the wrong way, if you've created this problem for yourself. :-)
> This problem could probably be mostly solved by making CVS fetch new
> directories by default (even without -d) *unless* CVS/Entries.Static
> exists - i.e., make the "should I create new objects" criteria identical for
> files and directories. I can't imagine this being a problem for anyone -
> unless there is a valid reason for *not* wanting directories added to the
> repository to be created on the client? Can anyone think of one?
That's an interesting idea, though I'm not certain it's the right
approach.
You should try to use your build system to select and combine modules
instead of trying to do too many fancy things with the various modules
options which were never really very well thought out or implemented.
You should never have the option of ignoring certain sub-directories in
a given module's top-level directory. Top level module directories
should be "atomic" and should contain a single cohesive collection of
source files. It should not be possible to, by default, extract only a
portion of the files in a module's top-level directory.
--
Greg A. Woods
+1 416 218-0098; <address@hidden>; <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>
- Re: cvs add <directory>, (continued)
- Re: cvs add <directory>, Larry Jones, 2003/05/21
- Re: cvs add <directory>, Ross Patterson, 2003/05/22
- Re: cvs add <directory>, Larry Jones, 2003/05/22
- Re: cvs add <directory>, Mark D. Baushke, 2003/05/22
- Re: cvs add <directory>, Larry Jones, 2003/05/22
- Re: cvs add <directory>, Mark D. Baushke, 2003/05/22
- Re: cvs add <directory>, Greg A. Woods, 2003/05/22
- Re: cvs add <directory>, Kaz Kylheku, 2003/05/22
- Re: cvs add <directory>, Greg A. Woods, 2003/05/23
- Re: cvs add <directory>, Max Bowsher, 2003/05/23
- Re: cvs add <directory>,
Greg A. Woods <=
- Re: cvs add <directory>, Max Bowsher, 2003/05/23
- Re: cvs add <directory>, Remi Gurski, 2003/05/23
- Re: cvs add <directory>, Greg A. Woods, 2003/05/23
- Re: cvs add <directory>, Max Bowsher, 2003/05/24
- Re: cvs add <directory>, Phil R Lawrence, 2003/05/23
- Re: cvs add <directory>, Donald Sharp, 2003/05/23
- Re: cvs add <directory>, Greg A. Woods, 2003/05/23
- RE: cvs add <directory>, Shankar Unni, 2003/05/23
- RE: cvs add <directory>, Paul Sander, 2003/05/23
- RE: cvs add <directory>, Greg A. Woods, 2003/05/23