From 9be0c2ee15263c2e0317958711fe3b34ebb86983 Mon Sep 17 00:00:00 2001 From: "Commentator2.0" Date: Tue, 18 Nov 2025 21:04:46 +0100 Subject: [PATCH] releng: issue references are now lix issues by default After multiple cycles of deprecation, we now use the lix repositorty as a default, when no prefix is defined Change-Id: I29b445fee39fb20c0ff024e3b95402f459144b62 --- maintainers/build-release-notes.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/maintainers/build-release-notes.py b/maintainers/build-release-notes.py index a0f2a8a64..5b7933065 100644 --- a/maintainers/build-release-notes.py +++ b/maintainers/build-release-notes.py @@ -68,12 +68,10 @@ class AuthorInfoDB: def format_link(ident: str, gh_part: str, fj_part: str) -> str: - # FIXME: deprecate github as default if ident.isdigit(): - raise ValueError('Unprefixed issue numbers are disallowed until the Lix 2.95 cycle, when they will become Forgejo references instead of their previous state of CppNix GitHub issues.' - '\nIf you mean a Lix Forgejo reference, prefix with fj# or lix#' - '\nIf you mean a CppNix issue, prefix the number with gh# or nix#') - elif ident.startswith("gh#"): + ident = f"lix#{ident}" + + if ident.startswith("gh#"): num, link, base = int(ident[3:]), ident, f"{GH_REPO_BASE}/{gh_part}" elif ident.startswith("nix#"): num, link, base = int(ident[4:]), ident, f"{GH_REPO_BASE}/{gh_part}"