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/13 08:05:12 UTC

[lucene-jira-archive] branch do-not-convert-issue-url-query-params created (now 61643029)

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

tomoko pushed a change to branch do-not-convert-issue-url-query-params
in repository https://gitbox.apache.org/repos/asf/lucene-jira-archive.git


      at 61643029 don't convert Lucene issue urls with query parameters to GitHub issue mentions

This branch includes the following new commits:

     new 61643029 don't convert Lucene issue urls with query parameters to GitHub issue mentions

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: don't convert Lucene issue urls with query parameters to GitHub issue mentions

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

tomoko pushed a commit to branch do-not-convert-issue-url-query-params
in repository https://gitbox.apache.org/repos/asf/lucene-jira-archive.git

commit 616430296078b06914060f194040bd98adb5c835
Author: Tomoko Uchida <to...@gmail.com>
AuthorDate: Sat Aug 13 17:05:04 2022 +0900

    don't convert Lucene issue urls with query parameters to GitHub issue mentions
---
 migration/src/jira_util.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/migration/src/jira_util.py b/migration/src/jira_util.py
index 513a8100..c449bb61 100644
--- a/migration/src/jira_util.py
+++ b/migration/src/jira_util.py
@@ -419,8 +419,8 @@ def embed_gh_issue_link(text: str, issue_id_map: dict[str, int], gh_number_self:
 
     text = re.sub(r"(\s)(LUCENE-\d+)([\s,;:\?\!\.])", repl_simple, text)
     text = re.sub(r"(^)(LUCENE-\d+)([\s,;:\?\!\.])", repl_simple, text)
-    text = re.sub(r"(\s)https?://issues\.apache\.org/.+/(LUCENE-\d+)([\s,;:\?\!\.])", repl_simple, text)
-    text = re.sub(r"(^)https?://issues\.apache\.org/.+/(LUCENE-\d+)([\s,;:\?\!\.])", repl_simple, text)
+    text = re.sub(r"(\s)https?://issues\.apache\.org/.+/(LUCENE-\d+)([\s,;:\!\.])", repl_simple, text)
+    text = re.sub(r"(^)https?://issues\.apache\.org/.+/(LUCENE-\d+)([\s,;:\!\.])", repl_simple, text)
     text = re.sub(r"(\()(LUCENE-\d+)(\))", repl_paren, text)
     text = re.sub(r"(\[)(LUCENE-\d+)(\])(?!\()", repl_bracket, text)
     text = re.sub(r"\[(LUCENE-\d+)\]\(https?[^\)]+LUCENE-\d+\)", repl_md_link, text)