You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/07/13 12:42:25 UTC
[GitHub] [lucene-jira-archive] mikemccand opened a new pull request, #43: More polishing, add a link for each migrated comment back to the 'final inch' comment in Jira
mikemccand opened a new pull request, #43:
URL: https://github.com/apache/lucene-jira-archive/pull/43
More PNP polishing:
* Make Linked Issues more compact so it's just LUCENE-NNN as a link
* The "Legacy Jira" footer in each migrated comment is now a link back to the exact comment it came from in Jira
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-jira-archive] mikemccand commented on a diff in pull request #43: More polishing, add a link for each migrated comment back to the 'final inch' comment in Jira
Posted by GitBox <gi...@apache.org>.
mikemccand commented on code in PR #43:
URL: https://github.com/apache/lucene-jira-archive/pull/43#discussion_r920189990
##########
migration/src/jira2github_import.py:
##########
@@ -146,8 +146,10 @@ def comment_author(author_name, author_dispname):
logger.error(f"Failed to convert comment on {jira_issue_id(num)} due to above exception ({str(e)}); falling back to original Jira comment as code block.")
logger.error(f"Original text: {comment_body}")
comment_body = f"```\n{comment_body}```\n\n"
+
+ 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}'
Review Comment:
This looks maybe promising: https://confluence.atlassian.com/jirakb/link-to-a-comment-missing-after-an-upgrade-1081349970.html
It used to be a permalink, then Jira changed it to linking on the timestamp, yet they still seem to indicate (on the above page) that it is considered a "permalink".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-jira-archive] mikemccand commented on pull request #43: More polishing, add a link for each migrated comment back to the 'final inch' comment in Jira
Posted by GitBox <gi...@apache.org>.
mikemccand commented on PR #43:
URL: https://github.com/apache/lucene-jira-archive/pull/43#issuecomment-1183200274
Now the comment looks like this:

(where that link takes you to the actual corresponding comment on the Jira issue)
And linked issues look like this:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-jira-archive] mikemccand commented on a diff in pull request #43: More polishing, add a link for each migrated comment back to the 'final inch' comment in Jira
Posted by GitBox <gi...@apache.org>.
mikemccand commented on code in PR #43:
URL: https://github.com/apache/lucene-jira-archive/pull/43#discussion_r920071047
##########
migration/src/jira2github_import.py:
##########
@@ -146,8 +146,10 @@ def comment_author(author_name, author_dispname):
logger.error(f"Failed to convert comment on {jira_issue_id(num)} due to above exception ({str(e)}); falling back to original Jira comment as code block.")
logger.error(f"Original text: {comment_body}")
comment_body = f"```\n{comment_body}```\n\n"
+
+ 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}'
Review Comment:
Yeah that is a good question -- I'm not sure either. Maybe there is a more permanent entry point? I'll try to research a bit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-jira-archive] mikemccand merged pull request #43: More polishing, add a link for each migrated comment back to the 'final inch' comment in Jira
Posted by GitBox <gi...@apache.org>.
mikemccand merged PR #43:
URL: https://github.com/apache/lucene-jira-archive/pull/43
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-jira-archive] mocobeta commented on a diff in pull request #43: More polishing, add a link for each migrated comment back to the 'final inch' comment in Jira
Posted by GitBox <gi...@apache.org>.
mocobeta commented on code in PR #43:
URL: https://github.com/apache/lucene-jira-archive/pull/43#discussion_r920069683
##########
migration/src/jira2github_import.py:
##########
@@ -146,8 +146,10 @@ def comment_author(author_name, author_dispname):
logger.error(f"Failed to convert comment on {jira_issue_id(num)} due to above exception ({str(e)}); falling back to original Jira comment as code block.")
logger.error(f"Original text: {comment_body}")
comment_body = f"```\n{comment_body}```\n\n"
+
+ 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}'
Review Comment:
This is fine with me. I actually once thought the same thing, was not confident if this link is "permanent"...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org