#!/usr/bin/env php ***** generate_filelist_xml.php ***** Usage: generate_filelist_xml.php release=auto[-mybuild]|x.y.z[-mybuild] [includecustom=1] [includeconstant=CC:MY_CONF_NAME:value] [buildzip=1] Usage: generate_filelist_xml.php checklock=auto[-mybuild]|x.y.z[-mybuild] name_of_locked_scope Example: generate_filelist_xml.php release=6.0.0 includecustom=1 includeconstant=ES:CONST_XX_IS_ON includeconstant=all:MAILING_NO_USING_PHPMAIL:1 Example: generate_filelist_xml.php checklock=auto unalterable_files Generate the XML filelist-x.y.z[-mybuild].xml with the signature of files. The XML always includes the 3 sections: - dolibarr_htdocs_dir - dolibarr_scripts_dir - dolibarr_unalterable_files (only files inside the scope of the unalterable module) and if a specific setup/parameter need to be included into the signature: - dolibarr_constants If used with the parameter 'checklock' 'unalterable_files', it will validate that the signature generated is the same than the one for scope 'unalterable_files' found into dev/lockedfiles.txt