Hi Piwigo dev team,
We often read on the forum about users that have problems related to missing or corrupted files during transfer. What would you think about an "installation check" : during release creation, pwg_rel.create.sh adds a list of all Piwigo files with their md5sum. Then we add a maintenance action "check files".
The "check files" returns the list of missing files and modified files.
Feedback welcomed
Offline
+1
Offline
+1
Offline
Yes but you must take care of EOL translation when doing FTP upload. In case of a Windows host (rare but exists), EOL will add CR before LF in Piwigo files, and that will change the md5sum, I think.
Offline
mathiasm wrote:
Yes but you must take care of EOL translation when doing FTP upload. In case of a Windows host (rare but exists), EOL will add CR before LF in Piwigo files, and that will change the md5sum, I think.
Of course it would change the md5sum. A solution would be to have 2 md5sum for each text file : one for CRLF, another for LF (binay files are not concerned)
Offline