Bug 24

Summary: Need a better directory structure when storing students' assignments
Product: Lab Report Repository (nor houzi) Reporter: Hui Lan <lanhui>
Component: File storageAssignee: Hui Lan <lanhui>
Status: CONFIRMED ---    
Severity: major CC: lanhui
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   
Deadline: 2019-06-30   
Attachments: directory structure needs improvement

Description Hui Lan 2019-06-05 22:32:33 CST
Created attachment 10 [details]
directory structure needs improvement

Currently we use the following directory structure to store a student's assignment submissions (e.g., see the attached picture):

/student-number/assignment-title/assignment-submission.zip


This structure is fine if the student takes only one course. But if he took multiple courses that have the same assignment-title, then there is a potential conflict.

To avoid this, we could either use

/student-number/course-code/assignment-title_assignement-id/assignment-submission.zip


or use

/student-number/course-code/semester/assignment-submission.zip

Which one is better?

-Hui