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/07/17 05:01:29 UTC

[lucene-jira-archive] branch refine-comment-link created (now 37e7a98b)

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

tomoko pushed a change to branch refine-comment-link
in repository https://gitbox.apache.org/repos/asf/lucene-jira-archive.git


      at 37e7a98b mention to comment authors

This branch includes the following new commits:

     new 37e7a98b mention to comment authors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[lucene-jira-archive] 01/01: mention to comment authors

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 37e7a98be227029e18a04af11b366c44e6b399d0
Author: Tomoko Uchida <to...@gmail.com>
AuthorDate: Sun Jul 17 14:01:14 2022 +0900

    mention to comment authors
---
 migration/src/jira2github_import.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/src/jira2github_import.py b/migration/src/jira2github_import.py
index 9262d3e3..db6da816 100644
--- a/migration/src/jira2github_import.py
+++ b/migration/src/jira2github_import.py
@@ -143,7 +143,7 @@ def convert_issue(num: int, dump_dir: Path, output_dir: Path, account_map: dict[
 
             jira_comment_link = f'https://issues.apache.org/jira/browse/{jira_id}?focusedCommentId={comment_id}&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-{comment_id}'
                 
-            comment_body += f'[Legacy Jira: [{comment_author(comment_author_name, comment_author_dispname)} on {comment_time}]({jira_comment_link})]\n'
+            comment_body += f'[Legacy Jira: {comment_author(comment_author_name, comment_author_dispname)} on [{comment_time}]({jira_comment_link})]\n'
             data = {
                 "body": comment_body
             }