You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2022/08/06 13:08:32 UTC
[lucene-jira-archive] 01/01: place github issue link first
This is an automated email from the ASF dual-hosted git repository.
tomoko pushed a commit to branch place-gh-link-first
in repository https://gitbox.apache.org/repos/asf/lucene-jira-archive.git
commit 5faa2615bac8f6073b03e5ddb7dab2496a064b48
Author: Tomoko Uchida <to...@gmail.com>
AuthorDate: Sat Aug 6 22:08:19 2022 +0900
place github issue link first
---
migration/src/jira_util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration/src/jira_util.py b/migration/src/jira_util.py
index 7f8174f6..9ee26826 100644
--- a/migration/src/jira_util.py
+++ b/migration/src/jira_util.py
@@ -330,7 +330,7 @@ def embed_gh_issue_link(text: str, issue_id_map: dict[str, int], gh_number_self:
res = m.group(0)
gh_number = issue_id_map.get(m.group(1))
if gh_number and gh_number != gh_number_self:
- res = f"{m.group(0)} (#{gh_number})"
+ res = f"#{gh_number} ({m.group(0)})"
# print(res)
return res