Description
UpdateRequiredITKVersionInRemoteModules.sh requires the remotes setup.py and azure-pipelines.yml files as input arguments. Making the script fetch those files automatically would be desirable.
Impact analysis
This would allow for a more efficient use of the script, a wider adoption of the script, and would allow to save time.
Expected behavior
Make the script fetch the setup.py and azure-pipelines.yml files automatically given the remote module name.
This would assume that both files are always at the same location (which is not the case currently for the former - rather than considering multiple paths, they should be made dwell in the same location according to the ITKModuleTemplate guidelines).
Actual behavior
The path to the setup.py and azure-pipelines.yml has to be provided to the script.
Versions
master.
Environment
Any.
Additional Information
Discussion: #641 (comment)
Some inspiration could be taken from here (especially concerning the part of configuring, cloning, and looping over the remotes):
|
remote_modules_path=$(cd ../../Modules/Remote && pwd) |
Description
UpdateRequiredITKVersionInRemoteModules.sh requires the remotes
setup.pyandazure-pipelines.ymlfiles as input arguments. Making the script fetch those files automatically would be desirable.Impact analysis
This would allow for a more efficient use of the script, a wider adoption of the script, and would allow to save time.
Expected behavior
Make the script fetch the
setup.pyandazure-pipelines.ymlfiles automatically given the remote module name.This would assume that both files are always at the same location (which is not the case currently for the former - rather than considering multiple paths, they should be made dwell in the same location according to the ITKModuleTemplate guidelines).
Actual behavior
The path to the
setup.pyandazure-pipelines.ymlhas to be provided to the script.Versions
master.Environment
Any.
Additional Information
Discussion: #641 (comment)
Some inspiration could be taken from here (especially concerning the part of configuring, cloning, and looping over the remotes):
ITK/Utilities/Maintenance/UpdateRemoteModules.sh
Line 25 in 8fdb454