Improve ApplyScriptToRemotes.sh script's robustness #1024
The ApplyScriptToRemotes script applies a script to all remote modules whose build status reports a successful build.
There are a number of aspects -many of them were already mentioned in PR #781- that could be improved to make the script more robust.
We should may be consider whether we prefer that the add and commit steps will generally be contained in the script that is applied.
If it is decided that best is to provide the commit message as a command line argument, multi-line (i.e. commit subject + body) commit messages should be tested, and formatting instructions be provided.
Although the current script already saves a lot of manual work, increasing its robustness would ease the task of maintenance of remote modules, which is already time-consuming.
The script should run without issues and be robust to the above situations.
The script shows error messages, does not behave as expected or pushes unnecessary branches.