Hi,
I have added some unit tests and submitted v2 of the patch for your consideration.
I added unit tests to test the uri parsing and the removal of spaces in the filepaths. I didn't add a test for the addition of quotes in the git commands. The only method to test this that I could think of is to mock the runfetchmd. This seemed very invasive and looking at the rest of the tests not in keeping with what has been done before. However, I ran a full build of my project overnight and there weren't any issues with the patch applied.
Yes, I agree the purpose of this patch would only be to cope with spaces in the url of a repository.
Do I have to do anything else to have the patch merged into dunfell - if it is accepted - as this is the branch of poky I am working from?
Many Thanks,
Charlie