The order of generated dictionary from yaml is incorrect
Somehow the current code generates the dependencies list in wrong order.
For example, in the ~/kde6/src/plasma-remotecontrollers/.kde-ci.yml
there is the following content:
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0
Dependencies:
- 'on': ['@all']
'require':
'frameworks/kcmutils': '@latest-kf6'
'frameworks/kcodecs': '@latest-kf6'
'frameworks/kcompletion': '@latest-kf6'
'frameworks/kconfig': '@latest-kf6'
'frameworks/kconfigwidgets': '@latest-kf6'
'frameworks/kcoreaddons': '@latest-kf6'
'frameworks/ki18n': '@latest-kf6'
'frameworks/kio': '@latest-kf6'
'frameworks/kjobwidgets': '@latest-kf6'
'frameworks/knotifications': '@latest-kf6'
'frameworks/kpackage': '@latest-kf6'
'frameworks/kservice': '@latest-kf6' // <- 1
'frameworks/kwidgetsaddons': '@latest-kf6' // <- 2
'frameworks/kwindowsystem': '@latest-kf6'
'frameworks/solid': '@latest-kf6'
'frameworks/kstatusnotifieritem': '@latest-kf6' // <- 3
'plasma/libplasma': '@same'
'plasma/plasma-workspace': '@same'
'third-party/wayland': '@latest'
The relevant piece of generated output (for kf5-qt5 branch group for example) is:
# plasma-bigscreen/plasma-remotecontrollers
# This data was autogenerated from the project's .kde-ci.yml file. DO NOT MODIFY. Add new dependencies to the .kde-ci.yml files instead.
kde/workspace/plasma-remotecontrollers: frameworks/kcmutils
kde/workspace/plasma-remotecontrollers: frameworks/kcodecs
kde/workspace/plasma-remotecontrollers: frameworks/kcompletion
kde/workspace/plasma-remotecontrollers: frameworks/kconfig
kde/workspace/plasma-remotecontrollers: frameworks/kconfigwidgets
kde/workspace/plasma-remotecontrollers: frameworks/kcoreaddons
kde/workspace/plasma-remotecontrollers: frameworks/ki18n
kde/workspace/plasma-remotecontrollers: frameworks/kio
kde/workspace/plasma-remotecontrollers: frameworks/kjobwidgets
kde/workspace/plasma-remotecontrollers: frameworks/knotifications
kde/workspace/plasma-remotecontrollers: frameworks/kpackage
kde/workspace/plasma-remotecontrollers: frameworks/kservice // <- 1
kde/workspace/plasma-remotecontrollers: frameworks/kstatusnotifieritem // <- ?? 3
kde/workspace/plasma-remotecontrollers: frameworks/kwidgetsaddons // <- 2
kde/workspace/plasma-remotecontrollers: frameworks/kwindowsystem
kde/workspace/plasma-remotecontrollers: frameworks/solid
kde/workspace/plasma-remotecontrollers: kde/workspace/libplasma
kde/workspace/plasma-remotecontrollers: kde/workspace/plasma-workspace
kde/workspace/plasma-remotecontrollers: third-party/wayland
And this is happening for very many other projects. I will name some for which it happened on my side:
- kde/workspace/plasma-remotecontrollers
- plasma/plasma-bigscreen
- plasma/plasma-integration
- plasma/kglobalacceld
- ...