Moving CVS server from Windows to Linux ? - Suse

This is a discussion on Moving CVS server from Windows to Linux ? - Suse ; Hi, I have a Windows based CVS repository that I need to move to Linux and vica versa from time to time. Is this possible by zipping the repository and transfer it to the Linux host without trouble by the ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Moving CVS server from Windows to Linux ?

  1. Moving CVS server from Windows to Linux ?

    Hi,

    I have a Windows based CVS repository that I need to move to Linux and
    vica versa from time to time.

    Is this possible by zipping the repository and transfer it to the
    Linux host without trouble
    by the linefeed character differences ?

    Any help is welcome.

    Thanks

    Lothar

  2. Re: Moving CVS server from Windows to Linux ?

    Lothar Behrens wrote:
    > Hi,
    >
    > I have a Windows based CVS repository that I need to move to Linux and
    > vica versa from time to time.
    >
    > Is this possible by zipping the repository and transfer it to the
    > Linux host without trouble
    > by the linefeed character differences ?


    Yes, so now go and try it and see what happens. (I never tried it, so my
    guess is as good as anybodies)

    houghi
    --
    If you owe the bank $100 that's your problem.
    If you owe the bank $100 million, that's the bank's problem.
    If you owe the bank $700 billion, it becomes your problem again.

  3. Re: Moving CVS server from Windows to Linux ?

    Here's my notes for the transfer (obviously, install it first and check it works with a new, small repository).

    Create zip file of entire repository.
    ftp in binary mode to unix machine
    Log into unix machine as root
    cd
    unzip
    # Make cvs user own it...
    chown -R cvs:cvs
    # Fix permissions of directories, notably the sticky bits needed for unix...
    for i in `du -k | awk '{print $2}' `
    do
    chmod 2775 $i
    done

    # probably a good idea to refresh the inetd too after all this.
    refresh -s inetd

    YMMV of course. This was on AIX, not linux.

    ---
    All users must be in the 'cvs' group if they need to check out.
    ---
    By default, cvs uses the same password file as the unix box. Otherwise you'll have to construct your own password file in the cvs area.

+ Reply to Thread