[EMAIL PROTECTED] on 04/07/2000 02:52:42 PM
>>Subject: Re: UNIX version doesn't handle ^M in Entries/Repository if
>DOS ver used
>>To: [EMAIL PROTECTED]
>>Date: Fri, 7 Apr 2000 14:31:14 -0400 (EDT)
>>Cc: [EMAIL PROTECTED]
>>From: [EMAIL PROTECTED] (Larry Jones)
>>X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/2394
>>
>>[EMAIL PROTECTED] writes:
>>>
>>> >Description:
>>>  If you have a shared filesystem that is sometimes accessed by
>the
>>>  Win32 version and sometimes under UNIX, the UNIX version barfs
>>>  because the DOS version leaves ^M cookies at the end of each
>line
>>>  in CVS/Entries, CVS/Repository, CVS/Root, etc AND because the
>>>  UNIX line-reading code isn't aggressive enough about
>portability
>>>  to strip out trailing ^M's.
>>
>>Don't do that.  Working directories are not designed to be shared
>>between systems with incompatible file formats (e.g., DOS and Unix).
>>Put the repository on a shared file system if you must (and even then
>>it's better to use client/server CVS instead), but *NEVER* try to
>share
>>working directories.
>>
>
>This seems like a bug to me.  We want to do cross-platform development
>and we would like to compile the same source on all platforms without
>having to check it in first.  We have the following structure for the
>each package in our system:
>
>pkg
>  src
>  tgt
>    sol4  - For Sparc Solaris
>    soli  - For Intel Solaris
>    win32 - For Windows
>
>This allows the same source to be compiled from the same location for
>multiple platforms.

We do the same thing here (with regards to multiple builds).  It's fine to have
the files on a mounted drive.  You just have to be very careful that you do all
CVS commands from one machine (this is especially true if you use the "multiple
edits per user per file" patch).  It's also more preferable to edit the files
via Unix since NT always seems to munge the execute bit.

Also, it takes *a lot* of time to build and test for all platforms for all
changes.  Our normal mode of working is to build and test on one platform and
have nightly builds and tests for all platforms.

Noel



Reply via email to