bin/checkExternalLibraries.py |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit 395aa8c70ff3e1a8fb577f39a611dbf6e49f7e4f
Author:     Xisco Fauli <[email protected]>
AuthorDate: Thu Dec 4 12:31:50 2025 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Thu Dec 4 14:07:24 2025 +0100

    checkExternalLibraries: keep rhino on branch 1.7
    
    Change-Id: Ie1d28fc43e5266782663c4431a948aea074f7fd0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194987
    Reviewed-by: Xisco Fauli <[email protected]>
    Tested-by: Jenkins

diff --git a/bin/checkExternalLibraries.py b/bin/checkExternalLibraries.py
index 772f33046a5d..c323aeaf375b 100755
--- a/bin/checkExternalLibraries.py
+++ b/bin/checkExternalLibraries.py
@@ -19,6 +19,7 @@ python_branch = ""
 openssl_branch = ""
 postgres_branch = ""
 mariadb_branch = ""
+rhino_branch = ""
 
 libraryIds = {
     "openssl": 2,
@@ -106,6 +107,10 @@ def get_library_list(fileName):
             global mariadb_branch
             mariadb_branch = ''.join(re.findall("\d{1,2}\.\d{1,2}", 
libraryName)[0])
             print("MariaDB is on branch: " + str(mariadb_branch))
+        elif libraryName.startswith("rhino"):
+            global rhino_branch
+            rhino_branch = ''.join(re.findall("\d{1,2}\.\d{1,2}", 
libraryName)[0])
+            print("Rhino is on branch: " + str(rhino_branch))
         libraryList.append(libraryName.lower())
     return libraryList
 
@@ -155,6 +160,12 @@ def get_latest_version(libName):
                 latest_version = idx
                 break
 
+    elif libName == "rhino":
+        for idx, ver in enumerate(json['items'][item]['stable_versions']):
+            if ver.startswith(rhino_branch):
+                latest_version = idx
+                break
+
     return 
Version(json['items'][item]['stable_versions'][latest_version].replace("_", 
".").replace("-", ".")), json['items'][item]['homepage']
 
 if __name__ == '__main__':

Reply via email to