catalyst / mahara-module_objectfs

Object file system for Mahara.
GNU General Public License v3.0
3 stars 2 forks source link

Improve file transfers #13

Closed christina-roperto closed 1 year ago

christina-roperto commented 2 years ago

Adding a few things:

azrek commented 2 years ago

hi @christina-roperto

Can you also please bump up the version number of the plugin?

With the change from fileid to artefactid stored in the objectfs table, this is a major version change.

Version: 2022050300 release: 2.0.0

Thank you. Ghada

azrek commented 2 years ago

Hi @christina-roperto

Can you also add a new section in the Readme file about the change of the fileid to artefactid? We need to clarify the impact this will have on the stored files. Perhaps something like this (please modify as you see fit):

Release 2.0.0 impact

A major change in this release impacts all files stored in the module_objectfs_objects table. The ID stored in this table have changed from referencing the fileid to referencing the artefactid.

If you have moved files to S3 and have not deleted local files, it is recommended to delete all records in the module_objectfs_objects and initiate the upload again.

If you have moved files to S3 and have deleted local files, a script will need to be written to update the IDs from fileid to artefactid based on the file hash. This script has not been written in this release. We welcome merge requests to implement this change.

Thank you. Ghada

christina-roperto commented 2 years ago

Hi @azrek,

Thanks for the suggestion. I've updated the version and added that section in README. I didn't do any modification as it's perfect :)