Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Comp 311 Homework Submission Guide

We will use Rice's Subversion (SVN) repositories for all homework submissions in this course.

All students (regardless of enrollment in Comp311 vs Comp544) will submit their homework to the same repository using the course name comp311 URL.

...

Option A: Using SVN commands for direct repository access

Submitting your Homework using IntelliJ IDEA

If you are planning to use IntelliJ IDEA as your primary development environment for this course, you can use IntelliJ's Subversion integration to manage and submit your assignments.

You can adapt the instructions below for interacting with the repository through your IDE.

 

Submitting your Homework from the

...

Linux / Mac machines (Using SVN commands)

  1.  One time setup on your machine

    1. Make a new empty directory comp311 in your home directory and switch to that directory:
      mkdir comp311 
      cd comp311

    2. Use Subversion to check out your submission directory:
      svn checkout https://svn.rice.edu/r/comp311/turnin/«current-semester»/«your-net-id»
      E.g., for Fall 2017 and the NetID  "xyz99":
      https://svn.rice.edu/r/comp311/turnin/F17/xyz99


  2. Make sure you are in your turnin directory.
    cd ~/comp311/<your netid>
     
  3. To check the status of your current directory, run :
    svn status 
    This should show all your files that are added(A) / not added(?) / deleted(D) / modified (M) to the Subversion repository.

  4. To add folders/ files, use : 
    svn add «file_name» (without angle brackets)
    svn add «folder_name» (without angle brackets) – recursively adds all files in it
    This should show all files/ folders that have been added to the Repository (this is still a local copy)
    1. To delete folders/ files, use : 
      svn del «file_name» (without angle brackets)
      svn del «folder_name» (without angle brackets) – recursively adds all files in it
      This should show all files/ folders that have been deleted to the Repository (this is still a local copy)

  5. To commit your files, use: 
    svn ci -m "Some relevant message here"
    This should show all the files that have been added/ modified/ deleted ... followed by
    -- Transmitting file data.
    -- Committed revision «rev. no»

  6. And you have successfully added your folder/ files to the SVN repository. Visit repo on the browser to confirm that all the file structure is intact.

Submitting your Homework from the Linux / Mac machines (Using SVN commands)

Option B: Using the turnin command on CLEAR

One time Setup in Clear

  1. Login to CLEAR:
    ssh <your netid>@ssh.clear.rice.edu
     One time setup on your machine<your password>

  2. Make a new empty directory comp311 in directory comp311 in your home directory and switch to that directory:
    mkdir comp311 
    cd comp311
     
  3. Use Subversion to check out your submission directory:
    svn checkout https://svn.rice.edu/r/comp311/turnin/«current-semester»/«your-net-id»
    E.g., for Fall 2017 and the NetID  "xyz99":
    https://svn.rice.edu/r/comp311/turnin/F17/xyz99


  4. You might be asked if you wish to store your password unencrypted. Always say no when asked this.
  5. Now you should have a folder named «your netid» in the comp311 directory you created.

Submitting your Homework from the Clear Network

  1. Make sure you are in your turnin directory.
    cd ~/comp311/<your netid>
     
  2. To check the status of your current directory, run :
    svn status 
    This should show all your files that are added(A) / not added(?) / deleted(D) / modified (M) to the Subversion repository.

  3. To add folders/ files, use : 
    svn add «file_name» (without angle brackets)
    svn add «folder_name» (without angle brackets) – recursively adds all files in it
    This should show all files/ folders that have been added to the Repository (this is still a local copy)

    1. To delete folders/ files, use : 
      svn del «file_name» (without angle brackets)
      svn del «folder_name» (without angle brackets) – recursively adds all files in it
      This should show all files/ folders that have been deleted to the Repository (this is still a local copy)

  4. To commit your files, use: 
    svn ci -m "Some relevant message here"
    This should show all the files that have been added/ modified/ deleted ... followed by
    -- Transmitting file data.
    -- Committed revision «rev. no»

  5. And you have successfully added your folder/ files to the SVN repository. Visit repo on the browser to confirm that all the file structure is intact.

Option B: Using the turnin command on CLEAR

One time Setup in Clear

    Login to CLEAR:
    ssh <your netid>@ssh.clear.rice.edu
    <your password>
  1. Make a new empty directory comp311 in your home directory and switch to that directory:
    mkdir comp311 
    cd comp311
     
  2. Use Subversion to check out your submission directory:
    svn checkout https://svn.rice.edu/r/comp311/turnin/«current-semester»/«your-net-id»
    E.g., for Fall 2017 and the NetID  "xyz99":
    https://svn.rice.edu/r/comp311/turnin/F17/xyz99

  3. You might be asked if you wish to store your password unencrypted. Always say no when asked this.
  4. Now you should have a folder named «your netid» in the comp311 directory you created.

Submitting your Homework from Your Own Unix Machine (Including Linux and Mac OS)

...