CSCI P415/515 Tue Jul 28 13:04:02 EDT 2009 [SDJ]

Homework Assignment

Meet SVN

This class uses Subversion (SVN), a version-control system for multi-person projects. We do not need all of SVN's functionality, it just serves as a homework depository. To turn an assignment in, you will post ("up-load") a local copy of your work to SVN. The instructor will also post grading information, which you can retrieve periodically by updating your local copy. This assignment's purpose is to verify that the course repository is correctly initialized, and to illustrate the process of retrieving and posting a working copy of your homework area.

Instructions

The directions below assume you are working on a Linux host and that your user ID is astudent (SVN also supports PC and MAC platforms.)
  1. In your home directory, locate yourself at a point for doing your work in this course.
  2. Create a local copy of your SVN homework directory by typing the svn checkout command, as illustrated below. When prompted for your password, enter verify. (This will be changed later.)
    >% svn co https://batson.cs.indiana.edu/svn/csci_p415_svn/class/astudent/ working_copy
    ...Password? verify
    A    working_copy/0
    A    working_copy/0/0.txt
    A    working_copy/1
    A    working_copy/1/A.pvs
    A    working_copy/1/B.pvs
    A    working_copy/10
    A    working_copy/11
    A    working_copy/2
    A    working_copy/12
    A    working_copy/3
    A    working_copy/4
    A    working_copy/5
    A    working_copy/6
    A    working_copy/7
    A    working_copy/project
    A    working_copy/8
    A    working_copy/9
    Checked out revision 330.
    
    
    Your homework directory has been initialized with subdirectories 0, 1, 2,... for the results of individual homework assignments.

    Note: You do not need to check out your homework directory every time. The local copy you have just created may be re-used throughtout the remainder of this course. However, be advised that your portion of the P415 SVN repository is not subject to back-up using SVN. So you may wish to manually back up your working copy from time to time.

  3. Enter subdirectory 0, and edit the profile in plain text file working_copy/0/0.txt. For example,
    P415/515 Participant Profile
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please fill out this form
    
    NAME              : Steve Johnson
    STUDENT-ID        : 0123456789
    LOGIN-ID:         : sjohnson
                        | please note that any e-mail communications |
                        | will be sent to your @indiana.edu address) |
    
    LIST COMPUTER SCIENCE COURSES YOU HAVE TAKEN:
       c211, c343, c335, c241, c311, p436, b441&2
    
    LIST COMPUTER SCIENCE COURSES YOU ARE TAKING:
       p423, b401
    
    Give a brief statement of your interests, general career goals, and what you
    would like to get from taking this course:
       This course satisfies distributional requirements for my BS degree.  Also, I'm
       interested in programming language implementation and am curious about the
       issue of compiler correctness.
    

  4. Post your local copy of 0.txt to the SVN repository.
    
    svn commit -m "post HW0" 0.txt
    Sending        0.txt
    Transmitting file data .
    Committed revision 332.
    

  5. Confirm that that you have successfully posted by accessing the SVN directory with you browser with URL https://batson.cs.indiana.edu/svn/csci_p415_svn/class/astudent. Navigate to your 0/0.txt file and confirm that it has been updated.