Checking out the developer version of Continuity from Git for Linux / Mac

Linux / Mac

Checking Out Continuity

  1. If you have not already done so, download and install Git. You will also need autoconf

    • If you’re on a Debian-based distribution like Ubuntu, try apt-get:
      sudo apt-get install git-all
      sudo apt-get install autoconf
        
  2. If you do not have an ssh key you will need to create one.
  3. Send your public key to Frank James Spitulski (fspituls@eng.ucsd.edu), copying Dr. McCulloch (amcculloch@ucsd.edu) on the email, requesting to have access to the Continuity Git repository.

  4. Wait until you received an e-mail stating that access has been granted. This is not an automated process, this can take some time.
  5. You now have access to the cmrg git repository which will allow you clone the source. Use this command to copy the code onto into your current directory:
    git clone --depth=10 git@cmrgdb2.ucsd.edu:/Volumes/pegasus_R6/data/ftp_server/active/Continuity_Git/Continuity.git
     
    • If you have ssh issues, try cloning via cmrgdb2's ip address:
      git clone --depth=10 git@132.239.25.39:/Volumes/pegasus_R6/data/ftp_server/active/Continuity_Git/Continuity.git
        
  6. If all goes well with step 5, you should see Git compress and checkout the files. Wait 5 to 30 minutes depending upon the speed of your internet connection.
  7. Then you just need to do some setup/configuring commands
    cd Continuity
    ./updatemgl
    sh setup
    source mglinit
     
  8. Lastly, the first time you start Continuity you need to move some files into place and you need to include the --update-binaries command to do that:
    ./continuity --update-binaries
     
  9. Your configuration of the master branch is now complete, to work with other branches see below.

Obtaining branches other than master

  1. When you first clone the repository you only get the master branch. To obtain others you must edit the .git/config file within the repository. Replace this line:

    fetch = +refs/heads/master:refs/remotes/origin/master
     
    with:
    fetch = +refs/heads/*:refs/remotes/origin/*
     
  2. Fetch the most recent remote branches with :
    git fetch
     
  3. Checkout your desired branch with:
    git checkout branch_name
     

Obsolete SVN instructions

Obtaining the source from SVN