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:13:39 UTC

[lucene-jira-archive] branch main updated: place github issue link first (#130)

This is an automated email from the ASF dual-hosted git repository.

tomoko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene-jira-archive.git


The following commit(s) were added to refs/heads/main by this push:
     new ac7e267c place github issue link first (#130)
ac7e267c is described below

commit ac7e267c007cbebc4b89816f234670c25cc5bcf8
Author: Tomoko Uchida <to...@gmail.com>
AuthorDate: Sat Aug 6 22:13:35 2022 +0900

    place github issue link first (#130)
---
 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