...
We will use turnin for all homework submissions. The turnin program is a script that uses Subversion to enable student homework submissions. It is available only in the Clear cluster.
You can opt to use regular SVN commands to submit your assignment : follow the submitting your homework with SVN commands section.
One time Setup in Clear
- Login to CLEAR:
ssh <your netid>@ssh.clear.rice.edu
<your password> - Make a new empty directory comp311 in your home directory and switch to that directory:
mkdir comp311
cd comp311
- Use Subversion to check out your submission directory:
svn checkout https://svn.rice.edu/r/COMP311-FALL15/turnin/F16/<your netid>
- You might be asked if you wish to store your password unencrypted. Always say no when asked this.
- Now you should have a folder named <your netid> in the comp311 directory you created.
...
- Make sure you are in your turnin directory.
cd ~/comp311/<your netid>
- 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. - 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)- 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)
- To delete folders/ files, use :
- 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>> - 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)
One time setup on your machine
- Make a new empty directory comp311 in your home directory and switch to that directory:
mkdir comp311
cd comp311 - Use Subversion to check out your submission directory:
svn checkout https://svn.rice.edu/r/COMP311-FALL15/turnin/F16/<your netid>
- Make a new empty directory comp311 in your home directory and switch to that directory:
- 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. - 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)- 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)
- To delete folders/ files, use :
- 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>> - 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.