[samsung-mobile] Add automation (#437)

Detect new models and aggregate EOL data for Samsung Mobile devices.

This script works cumulatively: when a model is not listed anymore on https://security.samsungmobile.com/workScope.smsb
it retains the date and use it as the model's EOL date.
This commit is contained in:
Marc Wrobel
2025-05-03 14:25:41 +02:00
parent 97790695ee
commit 6091ef55fe
6 changed files with 1883 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ for config in endoflife.list_configs(p_filter, METHOD, m_filter):
logging.warning(f"Failed to parse EOL date from '{li.get_text(strip=True)}'")
continue
version = match.group("release")
release_name = match.group("release")
date = dates.parse_date(match.group("date"))
releases = product_data.get_release(version)
releases.set_eol(date)
release = product_data.get_release(release_name)
release.set_eol(date)