Skip to content

aports/kde: test case for framework versions

Oliver Smith requested to merge feature/kde-version-test into master

This merge request adds a test case, which makes sure that the KDE framework and plasma framework version are always the same.

Additional changes

  • APKBUILD parser parses the URL now (that's the best way I found to categorize the KDE aports in frameworks and other)
  • Changed single quotes to double quotes in KDE APKBUILDs, so the parser doesn't include the single quotes in the parsed result
  • Added the test case to the gitlab CI config

How to test

  • change the pkgver of any plasma or kde package, then run the test case:
$ pytest test/test_aports_kde.py

Example output

---
KDE package category: plasma
Packages (15): breeze, kactivitymanagerd, kdecoration, kscreen, kscreenlocker, 
kwayland-integration, kwin, libkscreen, libksysguard, milou, plasma-nm, plasma-pa,
plasma-workspace, polkit-kde-agent, powerdevil
Reference pkgver: 5.13.3 (from 'polkit-kde-agent')
---
KDE package category: kde
Packages (64): attica-qt, baloo, breeze-icons, kactivities, kactivities-stats, karchive, kauth, 
kbookmarks, kcmutils, kcodecs, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kcrash,
kdbusaddons, kdeclarative, kded, kdelibs4support, kdesignerplugin, kdesu, kdoctools, kemoticons,
kfilemetadata, kglobalaccel, kguiaddons, khtml, ki18n, kiconthemes, kidletime, kimageformats,
kinit, kio, kirigami2, kitemmodels, kitemviews, kjobwidgets, kjs, kjsembed, knewstuff,
knotifications, knotifyconfig, kpackage, kparts, kpeople, kplotting, kpty, krunner, kservice,
ktexteditor, ktextwidgets, kunitconversion, kwallet, kwidgetsaddons, kwindowsystem, kxmlgui,
modemmanager-qt, networkmanager-qt, plasma-framework, prison, solid, sonnet,
syntax-highlighting, threadweaver
Reference pkgver: 5.48.0 (from 'sonnet')
ERROR: kcrash has version 5.40.0
---
KDE package category: other
Packages (15): elisa, extra-cmake-modules, falkon, konsole, ksysguard, kwayland, kxmlrpcclient, 
libdmtx, phonon-qt5, plasma-camera, plasma-phone-components, plasma-settings, polkit-qt,
qca-qt5, qmltermwidget

Merge request reports