•  » Engine
  •  » [technical feature] installation check

#1 2009-03-17 21:53:08

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14007

[technical feature] installation check

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

 

#2 2009-03-17 22:14:52

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7319

Re: [technical feature] installation check

+1


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2009-03-18 11:57:55

rub
Former Piwigo Team
Lille
2005-08-26
5019

Re: [technical feature] installation check

+1

Offline

 

#4 2009-03-25 22:20:25

mathiasm
Former Piwigo Team
2006-02-06
2650

Re: [technical feature] installation check

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

 

#5 2009-03-27 21:33:45

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14007

Re: [technical feature] installation check

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

 
  •  » Engine
  •  » [technical feature] installation check

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2025 · Contact