Testing Submit

Objective

To make sure each of you can submit a project using the submit program. This is not simply a test of whether you can follow the directions for submitting projects, but also to make sure that I have correctly setup an area for to each of you, individually, to hold your project files.

Submit Usage

The OIT project submission system will be used for submission of projects for this course. The submit system is comprised of a set of commands available on GL, that allows you to submit files electronically for grading. The submit commands available on GL are:

  • submit <course> <project> <file(s)> — submit assignments
  • submitls <course> <project> — lists files that you have submitted
  • submitrm <course> <project> <file(s)> — removes files that you have submitted

For this class the value of course will always be “cs491i”, so all commands will start with “submit cs491i”.

submit

The submit <course> <project> <file(s)> command is used to submit files. You can specify 1 file at a time, or multiple files at a time.

linux3[2]% submit cs491i assignment0 foo.txt
Submitting foo.txt...OK
linux3[3]% submit cs491i assignment0 bar.txt baz.txt
Submitting bar.txt...OK
Submitting baz.txt...OK
linux3[4]%

You can also use the submit <course> <project> <file(s)> to overwrite previously submitted files. It doesn’t hurt to submit what you have periodically, that way if for some reason you are unable to submit nearer the deadline (i.e. internet access or computer dies), you will at least have something submitted.

linux3[4]% submit cs491i test foo.txt
It seems you have already submitted a file named foo.txt.
Do you wish to overwrite? (y/n):
y
Submitting foo.txt...OK
linux3[5]%

submitls

You can check and see what files you have submitted using the submitls <course> <project> command.

linux3[5]% submitls cs491i assignment0
total 8
drwx------    2 dhood2   rpc          2048 Sep 13 16:04 .
drwx------   78 dhood2   rpc          4096 Sep 13 15:55 ..
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 bar.txt
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 baz.txt
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 foo.txt
linux3[6]%

submitrm

If you accidentally submit a wrong file or you no longer need a file that is submitted, you can remove files using the submitrm <course> <project> <file(s)> command. Take note that when you do a submitrm, the file that you submitted is most likely gone for good and unable to be recovered.

linux3[5]% submitls cs491i assignment0
total 8
drwx------    2 dhood2   rpc          2048 Sep 13 16:04 .
drwx------   78 dhood2   rpc          4096 Sep 13 15:55 ..
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 bar.txt
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 baz.txt
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 foo.txt
linux3[6]% submitrm cs491i assignment0 baz.txt
Deleting baz.txt
linux3[7]% submitls  cs491i assignment0
total 8
drwx------    2 dhood2   rpc          2048 Sep 13 16:04 .
drwx------   78 dhood2   rpc          4096 Sep 13 15:55 ..
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 bar.txt
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 foo.txt
linux3[8]%

Test Submission

To verify that everything is setup okay issue the following commands. Be sure to verify that you see the “Submitting testfile…OK” line. Also make sure that it actually shows up when using the submitls command.

linux3[1]% touch testfile
linux3[2]% submit cs491i assignment0 testfile
Submitting testfile...OK
linux3[3]% submitls cs491i assignment0
total 6
drwx------    2 dhood2   rpc          2048 Sep 13 16:18 .
drwx------   78 dhood2   rpc          4096 Sep 13 15:55 ..
-rw-------    1 dhood2   rpc             0 Sep 13 16:18 testfile
linux3[4]%

If you see something other than the results above send me an email ASAP so that I can get the problem resolved before it is time to submit a “real” assignment. Letting me know that there is a problem 2 minutes before midnight on the due date will probably result in you not being able to submit a project for grading.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: