Skip to content

Commit

Permalink
Backport apache#854 to branch_9x
Browse files Browse the repository at this point in the history
  • Loading branch information
mocobeta committed May 2, 2022
1 parent 046991a commit bf69a47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/documentation/changes-to-html/changes2html.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
use warnings;

my $jira_url_prefix = 'http://issues.apache.org/jira/browse/';
my $github_pull_request_prefix = 'https://github.com/apache/lucene-solr/pull/';
my $github_pull_request_prefix = 'https://github.com/apache/lucene/pull/';
my $month_regex = &setup_month_regex;
my %month_nums = &setup_month_nums;
my %lucene_bugzilla_jira_map = &setup_lucene_bugzilla_jira_map;
Expand Down Expand Up @@ -572,7 +572,7 @@
$item =~ s{((LUCENE|SOLR|INFRA)\s+(\d{3,}))}
{<a href="${jira_url_prefix}\U$2\E-$3">$1</a>}gi;
# Link "[ github | gh ] pull request [ # ] X+" to Github pull request
$item =~ s{((?:(?:(?:github|gh)\s+)?pull\s+request\s*(?:\#?\s*)?|gh-)(\d+))}
$item =~ s{((?:(?:(?:github|gh)\s+)?pull\s+request\s*(?:\#?\s*)?|gh-|github#)(\d+))}
{<a href="${github_pull_request_prefix}$2">$1</a>}gi;
# Link "LUCENE_CHANGES.txt" to Lucene's same-release Changes.html
if ($product eq 'SOLR') {
Expand Down
2 changes: 2 additions & 0 deletions lucene/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ Other
* LUCENE-10541: Test-framework: limit the default length of MockTokenizer tokens to 255.
(Robert Muir, Uwe Schindler, Tomoko Uchida, Dawid Weiss)

* GITHUB#854: Allow to link to GitHub pull request from CHANGES. (Tomoko Uchida, Jan Høydahl)

======================= Lucene 9.1.0 =======================

API Changes
Expand Down

0 comments on commit bf69a47

Please sign in to comment.