This class uses Subversion (SVN), a version-control system for multi-person projects. We do not require all of SVN's functionality in this course; it just serves as a homework depository. To turn an assignment in, you will post ("up-load") a local copy of your work SVN. The instructor will also post grading information, which you can retrieve periodically by updating your local copy.
You will need to conform to a standard file organization for the homework, but you may also create additional directories for maintaining other activities relating to the course, such as presentations.
class/
For each participant, there is a password-protected subdirectory class/logid/
, where logid
is your IUCS login name.
class/logid/
is initialized with subdirectories
0/
,
1/
,
...
10/
,
and
project/
for your homework assignments and
course project.
class/logid/n
svn add file
,
or svn add directory
, respectively.
svn commit -m "your message here"
.
There are on-line SVN user manuals on the web [HTM]. Chapter 2 (Basic Usage) covers the commands we need. In fact, the example that follows should be adequate for posting homework.
https
.
You will be prompted for a password (handed out in class).
svn co url dir
.
Argument dir
is the name of astudent's
local directory.
% svn co https://www.cs.indiana.edu/svn/csci_p415_svn/class/astudent/ p415_working_copy A p415_working_copy/0 A p415_working_copy/0/0.txt A p415_working_copy/1 A p415_working_copy/1/A.pvs A p415_working_copy/1/B.pvs A p415_working_copy/10 A p415_working_copy/11 A p415_working_copy/2 A p415_working_copy/12 A p415_working_copy/3 A p415_working_copy/4 A p415_working_copy/5 A p415_working_copy/6 A p415_working_copy/7 A p415_working_copy/project A p415_working_copy/8 A p415_working_copy/9 Checked out revision 330.
1
% cd p415_hw % ls % 0/ 1/ 10/ 2/ 3/ 4/ 5/ 6/ 7/ 8/ 9/ project/ % cd 1 % ls A.pvs B.pvs
pvs4
,
creating A.PRF
and
and A.status
files.
% pvs4 % ls -a .pvscontext A.prf A.pvs A.status B.pvs pvsbin/
.pvscontext
or the sub-directory pvsbin/
,
a directory of large binary files that is regenerated whenever PVS is run.
% svn add A.prf A A.prf % svn add A.status A A.status
svn commit dir -m message
.
The -m message
option deposits a
message with the update.
% cd .. % svn commit -m "Homework 1 (A) finished." Adding 1/A.prf Adding 1/A.status Transmitting file data .. Committed revision 7.
class/loginID/*
through your browser.