When the log name contains a space, the generated URL is not correct. This later also breaks parsing in swatbot. This was triggered by "property changes" and the correct URL is indeed logs/property_changes.
Signed-off-by: Alexandre Belloni <[email protected]> --- This is untested because I don't have the setup handy but, I hope, it is trivial enough to work properly reporters/swatbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporters/swatbot.py b/reporters/swatbot.py index 4a5a04eb1809..41ae762359a0 100644 --- a/reporters/swatbot.py +++ b/reporters/swatbot.py @@ -202,7 +202,7 @@ class SwatBotURI(object): logs = list(logs) urls = [] for l in logs: - urls.append('%s/steps/%s/logs/%s' % (build['url'], step_number, l['name'])) + urls.append('%s/steps/%s/logs/%s' % (build['url'], step_number, l['name'].replace(" ", "_"))) if urls: urls = " ".join(urls) else: -- 2.31.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53898): https://lists.yoctoproject.org/g/yocto/message/53898 Mute This Topic: https://lists.yoctoproject.org/mt/83601310/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
