bin/checkExternalLibraries.py | 11 ----------- 1 file changed, 11 deletions(-)
New commits: commit 51c3e53796c9bbeae86bbb80e5b5c623f78d8394 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Jun 9 08:39:19 2025 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Jun 9 12:09:02 2025 +0200 Revert "checkExternalLibraries: check current libxml2 branch" This reverts commit 3874e6ef7d4e5fdb76e446ba1ba524a51572791f. it's not clear when libxml2 branches reach the end of life, so better to track the newest branches Change-Id: I41ec3fb2aedba6705cabcc924702ae83de428070 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186279 Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/bin/checkExternalLibraries.py b/bin/checkExternalLibraries.py index 3be1b7cf4319..623acc652fd0 100755 --- a/bin/checkExternalLibraries.py +++ b/bin/checkExternalLibraries.py @@ -19,7 +19,6 @@ python_branch = "" openssl_branch = "" postgres_branch = "" mariadb_branch = "" -libxml2_branch = "" libraryIds = { "openssl": 2, @@ -77,10 +76,6 @@ 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("libxml2"): - global libxml2_branch - libxml2_branch = ''.join(re.findall("\d{1,2}\.\d{1,2}", libraryName)[0]) - print("Libxml2 is on branch: " + str(libxml2_branch)) libraryList.append(libraryName.lower()) return libraryList @@ -155,12 +150,6 @@ def get_latest_version(libName): latest_version = idx break - elif libName == "libxml2": - for idx, ver in enumerate(json['items'][item]['stable_versions']): - if ver.startswith(libxml2_branch): - latest_version = idx - break - return Version(json['items'][item]['stable_versions'][latest_version].replace("_", ".").replace("-", ".")), json['items'][item]['homepage'] if __name__ == '__main__':