[samsung-security] Generify samsung-mobile method (#439)

- Make section and inclusions/exclusions configurable,
- Remove Galaxy Tabs from samsung-mobile data (following https://github.com/endoflife-date/endoflife.date/pull/7513),
- Initialize Galaxy Tabs dataset (following https://github.com/endoflife-date/endoflife.date/pull/7513).
This commit is contained in:
Marc Wrobel
2025-05-19 15:58:58 +02:00
parent 89df7b98f6
commit c2a22dd150
5 changed files with 388 additions and 409 deletions

View File

@@ -47,6 +47,9 @@ class AutoConfig:
return None
def is_excluded(self, version: str) -> bool:
return self.first_match(version) is None
def render(self, match: re.Match) -> str:
return self.version_template.render(**match.groupdict())