New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sophomorix-transfer #49
Comments
The original idea to share data is:
|
The transfer folder is created at every user, is undeleteabe and can be repaired. |
Thats only part of the feature set. We also decided to let the teacher share files they already have in their transfer folder. |
The --distrubute option is missing in sophomorix-transfer. https://wiki.samba.org/index.php/Server-Side_Copy To my knowledge, this tool is still missing. |
We check with upstream support for a server (ubuntu 18.04) based tool that:
The shares should not be mounted to do this. |
this is implemented by sophomorix-transfer --scopy ... |
We need a way to share data with sophomorix-transfer without creating the transfer subfolder.
Indeed I think share data option
sophomorix-transfer --from-unix-path /srv/upload/... --to-user ,-exam, ... --subdir
woult do the job - but this is based on the unix path. I would prefear something which is more versatile.
At the moment I share files like so:
sophomorixCommand = ['sophomorix-transfer', '-jj', '--collect-copy', '--from-user', sender, '--to-user', receiver, '--file', fileListCSV]
where fileListCSV are comma seperated strings like
transfer/course1,transfer/courseb
This results in a complex path when files are shared like:
(hulk == teacher, scheffri == student)
/srv/samba/schools/default-school/students/10a/scheffri/transfer/hulk/transfer
My suggestion is to have a command like
sophomorix-transfer --share
which just takes the file I want to share and copys it to
/srv/samba/schools/default-school/students/10a/scheffri/transfer/hulk
In addition I have a suggestion for collecting data. Wouldn't it make sense to put these data in a subfolder when collecting like:
/srv/samba/schools/default-school/teachers/homes/hulk/transfer/SESSIONNAME/user/
I could create this folder or name it but I'm not sure how to handle this in a clean way without puting logic in the WEBUI.
The text was updated successfully, but these errors were encountered: