User Tools

Site Tools


services:grading

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:grading [2019/07/26 20:03] jasservices:grading [2021/10/01 09:00] (current) jas
Line 35: Line 35:
  
 User bob added to gsync user list. User bob added to gsync user list.
-It will take 1 hour for your Gsync account to be active+Gsync is enabled
-Gsync enabled.+Gsync account updates occur once per hour, but only for courses in the current term.
 </code> </code>
  
 Gsync is enabled for course 9999.  The course directory owner (bob) is added to the gsync access list for the course. Gsync is enabled for course 9999.  The course directory owner (bob) is added to the gsync access list for the course.
 +
 +**NOTE:** The instructions above assume your course is in the current term.  While you can initialize gsync for a course in a different term by specifying a full path to the course directory (eg. /eecs/dept/course/2018-19/F/9999 instead of just "9999" above), you will only be able to **use** gsync when your course is being taught in the current term.
  
 ===== Step 2: Add Course TAs to Gsync Access List ===== ===== Step 2: Add Course TAs to Gsync Access List =====
Line 50: Line 52:
  
 To list users in the access list for your course: gsyncu <course> list To list users in the access list for your course: gsyncu <course> list
 +
 +**NOTE:** The instructions above assume your course is in the current term.  While you can add TAs to the gsync access list for your course in a different term by specifying a full path to the course directory (eg. /eecs/dept/course/2018-19/F/9999 instead of just "9999" above), those TAs will only be able to **use** gsync when your course is being taught in the current term.
  
 ===== (optional) Step 3: Add Directories to Sync ===== ===== (optional) Step 3: Add Directories to Sync =====
Line 65: Line 69:
 ===== Step 4: Wait for Your Gsync Account to be Initialized ===== ===== Step 4: Wait for Your Gsync Account to be Initialized =====
  
-Gsync will create an account and group for your course.  The account and group will be named ta<course> For example, for course 9999, the account and group would be "ta9999" If additional letters are added to your course directory name (eg. 9999Z), then those letters will also be added to the gsync account and group name.+Gsync will create an account and group for your course (if one has not been created already).  The account will be named ta<course>, while the group will be ta<course>g.  For example, for course 9999, the account "ta9999" and group "ta9999gwould be created.  If additional letters are added to your course directory name (eg. 9999Z), those letters will also be added to the gsync account and group created.  Note however that any capital letters will be converted to lowercase.
  
 After about an hour, gsync will have created your gsync account and group, and will have updated the gsync access list.   After about an hour, gsync will have created your gsync account and group, and will have updated the gsync access list.  
  
 +**NOTE:** If your course is not being taught in the current term (eg. your course is taught in 2019-20 fall, and it is presently 2018-19 summer), then your gsync account updates will only occur when your course is being taught in the present term.
 + 
 ===== Step 5: Login to the Grading Server ===== ===== Step 5: Login to the Grading Server =====
  
 Login to the grading server (grade1.eecs.yorku.ca) with your regular EECS account.  For example: Login to the grading server (grade1.eecs.yorku.ca) with your regular EECS account.  For example:
  
-indigo% ssh grade1+  indigo% ssh grade1
  
 ** NOTE: The grading server is intended to be used for grading assignments.  Any other use is forbidden. ** ** NOTE: The grading server is intended to be used for grading assignments.  Any other use is forbidden. **
Line 81: Line 87:
 In order to access the course grading account, use the "bu" (become user) command.  For example, if your course directory is "9999", then the account name is "ta9999" and can be accessed like this: In order to access the course grading account, use the "bu" (become user) command.  For example, if your course directory is "9999", then the account name is "ta9999" and can be accessed like this:
  
-grade1% bu -d ta9999+  grade1% bu -d ta9999
  
-Note that the grading account is only accessible from the grading server, grade1.  It'only accessible with the "bu" command.  Your access list determines who can access the account.  No passwords are required.+Notes: 
 + 
 +  * The grading account is only accessible from the grading server, grade1.   
 +  * You can only access the grading account for a course that is being offered in the current term.  For example, if it is 2018-19 summer, and you have created a gsync account for teaching course 9999 in 2019-20 fall, you will not be able to access your gsync account until 2019-20 fall.  When it becomes 2019-20 winter, you will lose access to the gsync account for the course automatically.  
 +  * The grading account is only accessible with the "bu" command.   
 +  * Your access list determines who can access the account.  No passwords are required.        
 +  * If your course directory has capital letters (eg. 9999E), then all letters in the account name are converted to lowercase (eg. ta9999e).   
  
 ===== Step 7: Sync the Course Data ===== ===== Step 7: Sync the Course Data =====
Line 89: Line 101:
 After you've accessed the grading account, run the "gsync" command to sync the data from your course directory to the grading directory.  gsync knows which course grading account you're logged into, so you don't need to tell it which course to sync: After you've accessed the grading account, run the "gsync" command to sync the data from your course directory to the grading directory.  gsync knows which course grading account you're logged into, so you don't need to tell it which course to sync:
  
-grade1% gsync+  grade1% gsync
  
 Here's a sample run: Here's a sample run:
Line 139: Line 151:
  
 <code> <code>
-grade1% cp -r ~/clone/~/work+grade1% cp -r /eecs/grading/9999/clone//eecs/grading/9999/work
 </code> </code>
  
Line 183: Line 195:
   * NOTE: Only the course directory owner will be able to copy files back to the course directory.   * NOTE: Only the course directory owner will be able to copy files back to the course directory.
   * There are other options including SCPing files, SFTP, creating an archive (zip, bzip, bzip2, etc) and transferring that.   * There are other options including SCPing files, SFTP, creating an archive (zip, bzip, bzip2, etc) and transferring that.
 +
 +  * You can only access the grading account for a course that is being offered **in the current term**.  For example, if it is 2018-19 summer, and you have created a gsync account for teaching course 9999 in 2019-20 fall, you will not be able to access your gsync account until 2019-20 fall.  In addition, when it becomes 2019-20 winter, you will **lose access** to the gsync account for the course automatically. Please make sure that you have transferred any required data from the gsync account to your course directory before the first day of the next term. 
  
   * Ugrad TAs will need to have an alternate account setup with access to grade1 before they can access the grading account.  Please consult with tech.   * Ugrad TAs will need to have an alternate account setup with access to grade1 before they can access the grading account.  Please consult with tech.
Line 190: Line 204:
   * Group submit is now reserved for faculty use **only**.   * Group submit is now reserved for faculty use **only**.
  
-  * If you have any questions about gsync, please inform tech. +  * If you have any questions or feedback about gsync, please inform tech.
- +
-   +
- +
  
  
services/grading.1564185821.txt.gz · Last modified: 2019/07/26 20:03 by jas