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.
Note: Homework assignment number n must be deposited in sub-directory
class/logid/n
|
For a typical PVS assignment, you should post
.PVS
and .PRF files.
M-x ff) X.pvs in PVS;
M-x status-proof-pvs-file,
or the command M-x prove-pvs-file (which re-runs
X.prf first).
C-x C-w as X.status)
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://batson.cs.indiana.edu/svn/csci_p415_svn/class/astudent/ p415_hw A p415_hw/0 A p415_hw/0/0.txt A p415_hw/1 A p415_hw/1/A.pvs A p415_hw/1/B.pvs A p415_hw/10 A p415_hw/2 A p415_hw/2/C.pvs A p415_hw/2/D.pvs A p415_hw/3 A p415_hw/3/E.pvs A p415_hw/3/F.pvs A p415_hw/4 A p415_hw/4/I.pvs A p415_hw/4/J.pvs A p415_hw/5 A p415_hw/6 A p415_hw/7 A p415_hw/project A p415_hw/8 A p415_hw/9 Checked out revision 6.
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.txt files.
% pvs4 % ls A.prf A.pvs A.status.txt 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.txt A A.status.txt
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.txt Transmitting file data .. Committed revision 7.
class/loginID/* through your browser.