From 5892b4a6f902c39782258fb3d89cf66ab6ebd8e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 23 Aug 2023 09:10:40 +0200 Subject: [PATCH] Continued: - added "dynamic alias" for software type 'gnusocial' --- fba/helpers/software.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fba/helpers/software.py b/fba/helpers/software.py index 56aebce..8c77934 100644 --- a/fba/helpers/software.py +++ b/fba/helpers/software.py @@ -76,6 +76,9 @@ def alias(software: str) -> str: elif software == "gitdab": logger.debug("Setting forgejo: software='%s'", software) software = "forgejo" + elif "gnu social" in software: + logger.debug("Setting gnusocial: software='%s'", software) + software = "gnusocial" elif software.find("/") > 0: logger.warning("Spliting of slash: software='%s'", software) software = software.split("/")[-1] -- 2.39.5