23 Mar
2021
23 Mar
'21
14:28
On 2021-03-23 15:03:36 +0100, Marcus Schäfer wrote:
please retrigger your failed services - I`m not able to find all broken services/caches - so users have to do it.
osc service remoterun --all ... that would be nice
anyway. I'm browsing through all service based projects now
You could "automate" this a bit: for i in $(osc api '/source/<PROJECT>?view=info&nofilename=1' \ | xmllint --xpath '//sourceinfo[contains(error/text(), "service error:")]/@package' - \ | sed -e 's/.*="//' -e 's/"$//'); do osc service remoterun <PROJECT> "$i" done (maybe you can use a more specific service error string). Marcus