# This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Use this script to check the latest version of the external libraries
import requests import sys import re from packaging.version import Version, parse import subprocess import argparse
if libName == "openssl": for idx, ver in enumerate(json['items'][item]['stable_versions']): if ver.startswith(openssl_branch):
latest_version = idx break
elif libName == "python": for idx, ver in enumerate(json['items'][item]['stable_versions']): if ver.startswith(python_branch):
latest_version = idx break
elif libName == "mariadb-connector-c": for idx, ver in enumerate(json['items'][item]['stable_versions']): if ver.startswith(mariadb_branch):
latest_version = idx break
for lib in libraryList: if lib.startswith("language-subtag-registry"):
print("CHECK https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry") continue
latestVersion, website = get_latest_version(lib)
currentVersion = get_current_version(lib) if latestVersion == Version("0.0.0"):
print("FAIL: " + lib + " not found in https://release-monitoring.org") elif currentVersion == Version("0.0.0"):
print("FAIL: " + lib + " version not detected") elif currentVersion != latestVersion:
print(lib + " is not updated: " + website)
print(" ----> The current version is " + str(currentVersion))
print(" ----> The latest version is " + str(latestVersion))
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.