Task #13293
closedDataMiner - The installation scripts must check if already_installed_algorithms.txt is an empty file
100%
Description
The installation scripts must check the file containing the list of already installed algorithms:
wps_algorithms_install_log/already_installed_algorithms.txt
So whether the file does not exist or the file is empty the algorithms must be installed.
Updated by Andrea Dell'Amico over 6 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 70
The new condition I'm adding when. Now, when the svn update
command reports that nothing changed, the installer is still run in the following cases:
- No
already_installed_files.txt
is present (this condition was already there) - The
already_installed_files.txt
is present but empty - The
already_installed_files.txt
is present but lists less algorithms than the ones present in thealgorithms
file from subversion
Updated by Andrea Dell'Amico over 6 years ago
I just tested the script on dataminer1-p-d4s.d4science.org and it works. The log text that's written to syslog has been changed so that it's possible to check what condition was verified.
Updated by Andrea Dell'Amico over 6 years ago
- Status changed from In Progress to Feedback
- % Done changed from 70 to 100
The new script has been deployed everywhere.
Updated by Giancarlo Panichi over 6 years ago
- Due date set to Feb 06, 2019
- Status changed from Feedback to Closed
@andrea.dellamico@isti.cnr.it , the script works correctly, now in the presence of an empty file it installs the algorithms in the DataMiner server.