Skip to content

Make UpdateRequiredITKVersionInFiles.sh fetch files automatically #686

@jhlegarreta

Description

@jhlegarreta

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueA good issue for community members new to contributingtype:InfrastructureInfrastructure/ecosystem related changes, such as CMake or buildbots

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions