checkout exclusion

2002-09-18 Thread Schwenk, Jeanie

I know whole directories can be excluded but is there any way to exclude on
a file-by-file basis within directory?

Jeanie
__
This is Linux country.  On a quiet night, you can hear NT re-boot. 


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Issues with network file systems and CVS

2002-09-18 Thread Eric Siegerman

On Wed, Sep 18, 2002 at 11:23:48AM -0700, Mike Ayers wrote:
>   It also helps to point out that there should be no need to backup the 
> sandbox directories.

Well, I wouldn't go that far, for precisely the reasons you
describe:

> This, however, requires that the developers be 
> trained to perform intermediary checkins of work in progress, which 
> itself requires training in branch-and-merge development for larger 
> changes (or just to permit checking in still broken files), so it's 
> not the simplest thing.

I'd rephrase "there should be no need" to "depending on your
process, you might be able to get away without it".

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
The acronym for "the powers that be" differs in only one letter
from that for "the pointy-haired boss".


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Issues with network file systems and CVS

2002-09-18 Thread Mike Ayers

Frederic Brehm wrote:

> For performance reasons (I/O throughput during compiles and network 
> traffic) you might want to put it on a local disk. Policy makers don't 
> always understand performance issues, though.

It also helps to point out that there should be no need to backup the 
sandbox directories.  This, however, requires that the developers be 
trained to perform intermediary checkins of work in progress, which 
itself requires training in branch-and-merge development for larger 
changes (or just to permit checking in still broken files), so it's 
not the simplest thing.  Nonethteless, things do seem to work the best 
that way...


/|/|ike




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



VSS to CVS perl script question

2002-09-18 Thread Matthew Rich


 I'm trying to move a project from my VSS repository
 to
 CVS.  This project has multipule sub-dirs but after
 running the script it only created the first level
 directory and not all the sub dirs.  What am I
 missing?  I made sure I have vsions of rm and chmod
 that support -R option.  It did go on checking the
 sub
 dirs but I got the following messages:
 
  Syncing html2index.exe *
 cvs server: nothing known about html2index.exe
 html2index.exe is not an existing filename or projec
 
  Syncing hwlib.chm *
 cvs server: nothing known about hwlib.chm
 hwlib.chm is not an existing filename or project
 
 Syncing hwlib.hhc *
 cvs server: nothing known about hwlib.hhc
 hwlib.hhc is not an existing filename or project
 
  Syncing hwlib.hhk *
 cvs server: nothing known about hwlib.hhk
 hwlib.hhk is not an existing filename or project
 
  Syncing hwlib.hhp *
 cvs server: nothing known about hwlib.hhp
 hwlib.hhp is not an existing filename or project
 
  Syncing hwlibdoc.c *
 cvs server: nothing known about hwlibdoc.c
 hwlibdoc.c is not an existing filename or project
 
  Syncing master.xre *
 cvs server: nothing known about master.xre
 master.xre is not an existing filename or project
 
 Syncing ReadMe.txt *
 cvs server: nothing known about ReadMe.txt
 ReadMe.txt is not an existing filename or project
 
  Syncing run.bat *
 cvs server: nothing known about run.bat
 run.bat is not an existing filename or project
 
  Syncing config.h *
 cvs server: nothing known about config.h
 config.h is not an existing filename or project
 
  Syncing mpegcmn.h *
 cvs server: nothing known about mpegcmn.h
 mpegcmn.h is not an existing filename or project
 
  Syncing mpegerr.h *
 cvs server: nothing known about mpegerr.h
 mpegerr.h is not an existing filename or project
 
 

 And the checkins stopped?
 What happened?
 
 
 Matt
 The RE Guy
 
 

__
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Issues with network file systems and CVS

2002-09-18 Thread Larry Jones

Alan Dayley writes:
> 
> 1. I have been told that the following setup will lead to corruption 
> because of esoteric problems in SMB that CVS can bring out:

[client/server CVS with the working directory on a Samba share from the
CVS server machine]

That won't cause corruption, but lots of people have reported strange
permission problems (probably due to the complexity of mapping Windows
file permissions to Unix file permissions).

> 2. Is this setup any better or does it still have the SMB issues?

[same thing but with the working directory mounted from a different
machine than the CVS server machine]

You're still running the same risk of screwy permission problems if you
use a Linux server, but a Windows server should be fine (assuming that
SMB actually works correctly in all instances).

> 3. So the only reliable operation is to have the working directory on a 
> locally mounted file system?

That's certainly the best choice, at least in terms of reliability and
performance.

-Larry Jones

I can do that!  It's a free country!  I've got my rights! -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Issues with network file systems and CVS

2002-09-18 Thread Larry Jones

Matthew Navarre writes:
> 
> Did you pick that quote manually, or is your sigmonster just unnaturally 
> perceptive? :)

Randomly selected Calvin and Hobbes quotes have a tendency to be much
more pointedly applicable than one would expect.

-Larry Jones

Moms and reason are like oil and water. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Add multi-level folder to cvs project problem.

2002-09-18 Thread Larry Jones

George xu writes:
> 
>I create the following directory structure, the test.txt file is in
> folder3. if I want to add test.txt to mypoject. I have to add folder1 the
> first, and then add folder2, then add folder3, then add test.txt file.
[...]
> Does anyone know how to directly add text.txt file under the new folder ?

Well, you might be able to use import.  Or, with reasonably recent
versions of CVS, I believe you can add everything with a single command:

cd myproject
cvs add folder1 folder1/folder2 folder1/folder2/folder3 
folder1/folder2/folder3/test.txt

-Larry Jones

It's not denial.  I'm just very selective about the reality I accept.
-- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Issues with network file systems and CVS

2002-09-18 Thread Frederic Brehm

At 08:01 PM 9/17/2002, Adam Bregenzer wrote:
>AFIAK the issue is not with where the working copy is stored, as long as
>you are the only one accessing the working copy.  The issue is where the
>repository is stored/accessed from.

That's correct. I misunderstood the original question and thought it had to 
do with how the repository was accessed. Letting CVS touch a repository 
mounted on a network filesystem is a bad idea. Using client-server CVS 
where the server accesses the repository through a local interface is the 
recommended method. The diagram by Alan Dayley shows the recommended method.

Where you put your sandbox is a different matter.

For performance reasons (I/O throughput during compiles and network 
traffic) you might want to put it on a local disk. Policy makers don't 
always understand performance issues, though.

Fred

___
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Add multi-level folder to cvs project problem.

2002-09-18 Thread Anders Truelsen

If you're on Windows using WinCVS there is an excellent macro that can
perform recursive add for you.

Regards,
anders

> -Original Message-
> From: Riechers, Matthew W [mailto:[EMAIL PROTECTED]]
> Sent: 18. september 2002 14:02
> To: 'George xu'
> Cc: [EMAIL PROTECTED]
> Subject: RE: Add multi-level folder to cvs project problem.
> 
> 
> > From: George xu [mailto:[EMAIL PROTECTED]]
> >
> > I met a problem, if I create many level directory in a
> > project. I must
> > add every directory.
> >
> 
> > Does anyone know how to directly add text.txt file under the
> > new folder ?
> 
> 'cvs add' is not recursive. Read the manual for details.
> 
>   
> 
> -Matt
> 
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: Add multi-level folder to cvs project problem.

2002-09-18 Thread Riechers, Matthew W


> From: George xu [mailto:[EMAIL PROTECTED]]
>
> I met a problem, if I create many level directory in a 
> project. I must
> add every directory.
> 

> Does anyone know how to directly add text.txt file under the 
> new folder ?

'cvs add' is not recursive. Read the manual for details.



-Matt


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs_acls, alternatives and patches

2002-09-18 Thread Volker Apelt


I'm looking for access control alternatives for 
the contrib tool cvs_acls, which is in 
/usr/lib/cvs/contrib/cvs_acls.

How is your experience with cvs_acls?
Is it sufficiently fine grained? 
Are there better scripts available?

If I understand  cvs_acls correctly, it has at least
two drawbacks. 
- it doesn't differ directories from files in its 
  permission flags. So anyone who can create a new 
  file can create a new directory, too.
- cvs hands its parameters on the command line 
  to cvs_acls.  So, it can fail if the command line 
  gets to long. 


Some time (?years) ago somebody submitted a patch 
to CVS which changed the parameter input from 
commandline paramters to stdin. 

Is that patch still around? 
Does it still work with the current CVS?

Thank you,

Volker

-- 
Volker Apelt   





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Add multi-level folder to cvs project problem.

2002-09-18 Thread George xu

Hi all:
I met a problem, if I create many level directory in a project. I must
add every directory.

For example:
   I create the following directory structure, the test.txt file is in
folder3. if I want to add test.txt to mypoject. I have to add folder1 the
first, and then add folder2, then add folder3, then add test.txt file.

   mypoject-/folder1
 /folder2
/folder3/test.txt

Does anyone know how to directly add text.txt file under the new folder ?

Thank you very much.
Rabbit.






___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs