services:grading
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
services:grading [2019/05/29 14:50] – jas | services:grading [2021/09/30 16:08] – 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. |
</ | </ | ||
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. / | ||
===== 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 < | To list users in the access list for your course: gsyncu < | ||
+ | |||
+ | **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. / | ||
===== (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. | + | Gsync will create an account and group for your course |
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 ===== | ||
Line 81: | Line 87: | ||
In order to access the course grading account, use the " | In order to access the course grading account, use the " | ||
- | grade1% bu -d ta9999 | + | |
- | Note that the grading account is only accessible from the grading server, grade1. | + | 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 " | ||
+ | * Your access list determines who can access the account. | ||
+ | * 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 ===== | ||
- | After you've accessed the grading account, run the " | + | After you've accessed the grading account, run the " |
grade1% gsync | grade1% gsync | ||
Line 122: | Line 134: | ||
</ | </ | ||
- | The first time you run gsync, it copies down the data from your course submit directory, and other directories that you've configured gsync to clone. | + | The first time you run gsync on the grade1 server, it copies down the data from your course submit directory, and any other directories that you've configured gsync to clone. |
- | The synced data will be in / | + | The / |
- | Each grading account has these 3 directories created by default: | + | Subsequent times that you run gsync, it will will copy down changes. |
- | * clone/ - a read only copy containing a clone of your submit directory and other directories that you've asked gsync to bring down. All the files will be readable by everyone who has access to your grading account, no matter what the permissions are in the course directory. | + | Each grading account |
- | * home/ - the home directory for the course gsync account | + | |
- | * work/ - a default directory that is setup where you and your TAs can handle grading. | + | |
- | While TAs cannot create additional | + | * clone - a **READ ONLY** copy of your submit directory and other directories |
+ | * home - the home directory for the course gsync account (You probably won' | ||
+ | * work - This directory is created | ||
- | When you or your TAs run the gsync command, | + | Neither you nor the TAs can create additional top-level directories in your grading directory. |
+ | |||
+ | To begin grading, you or your TAs may want to copy the contents of the read only " | ||
+ | |||
+ | < | ||
+ | grade1% cp -r / | ||
+ | </ | ||
+ | |||
+ | When you or your TAs run the gsync command, | ||
===== (optional) Step 8: Add a Password to Your Gsync ===== | ===== (optional) Step 8: Add a Password to Your Gsync ===== | ||
Line 142: | Line 162: | ||
Setup a password for course " | Setup a password for course " | ||
+ | < | ||
% gsyncu 9999 password | % gsyncu 9999 password | ||
Line 155: | Line 176: | ||
A Gsync password has been set. It will be enabled within an hour. | A Gsync password has been set. It will be enabled within an hour. | ||
+ | </ | ||
In order to access the account via sftp, you must sftp to grade1.eecs.yorku.ca, | In order to access the account via sftp, you must sftp to grade1.eecs.yorku.ca, | ||
Line 168: | Line 190: | ||
* Remember that the grading account is only accessible on the grading server, grade1. | * Remember that the grading account is only accessible on the grading server, grade1. | ||
- | * gsync only copies data from the course directory to the grading area. If you want to copy data from grading area back to your course directory, | + | * gsync only copies data from the course directory to the grading area. If you want to copy data from grading area back to your course directory, |
- | grade1% | + | grade1% |
</ | </ | ||
+ | * 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. | ||
+ | |||
+ | * You can only access the grading account for a course that is being offered **in the current term**. | ||
* Ugrad TAs will need to have an alternate account setup with access to grade1 before they can access the grading account. | * Ugrad TAs will need to have an alternate account setup with access to grade1 before they can access the grading account. | ||
Line 178: | 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 |
- | + | ||
- | + | ||
- | + | ||
services/grading.txt · Last modified: 2021/10/01 09:00 by jas