[sysadmin/ci-utilities] /: Mark kdewebkit for removal from all CI package archives.

Ben Cooksley null at kde.org
Sat Apr 22 21:01:56 BST 2023


Git commit a26ee80792b83e7937b375571d937d40d5174cfc by Ben Cooksley.
Committed on 22/04/2023 at 20:01.
Pushed by bcooksley into branch 'master'.

Mark kdewebkit for removal from all CI package archives.

CCMAIL: kde-frameworks-devel at kde.org

M  +12   -0    package-registry-cleanup.py

https://invent.kde.org/sysadmin/ci-utilities/commit/a26ee80792b83e7937b375571d937d40d5174cfc

diff --git a/package-registry-cleanup.py b/package-registry-cleanup.py
index a4afeec..cffa44d 100644
--- a/package-registry-cleanup.py
+++ b/package-registry-cleanup.py
@@ -50,6 +50,12 @@ projectsWithQt6OnlyMaster = [
     'kxmlgui', 'kxmlrpcclient', 'modemmanager-qt', 'networkmanager-qt', 'oxygen-icons5', 'plasma-framework', 'prison', 'purpose', 'qqc2-desktop-style',
     'solid', 'sonnet', 'syndication', 'syntax-highlighting', 'threadweaver',
 ]
+
+# Configuration - list of projects to always remove
+projectsToAlwaysRemove = [
+    # QtWebKit is no longer supported
+    'kdewebkit',
+]
         
 # Now that we have that setup, let's find out what packages our Gitlab package project knows about
 for package in remoteRegistry.packages.list( as_list=False ):
@@ -68,6 +74,12 @@ for package in remoteRegistry.packages.list( as_list=False ):
         'timestamp': int(timestamp)
     }
 
+    # Is this a project we should always be removing?
+    if package.name in projectsToAlwaysRemove:
+        # Then remove it
+        packagesToRemove.append( packageData['package'] )
+        continue
+
     # Is this a stale branch we can let go of?
     if branch in ['release-21.08', 'release-21.12', 'release-22.04', 'release-22.08', 'Plasma-5.24', 'Plasma-5.25', 'Plasma-5.26']:
         # Then mark it for removal


More information about the Kde-frameworks-devel mailing list