Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AEB40200B26 for ; Mon, 27 Jun 2016 22:33:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ADB52160A54; Mon, 27 Jun 2016 20:33:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F1CDE160A6F for ; Mon, 27 Jun 2016 22:33:36 +0200 (CEST) Received: (qmail 53510 invoked by uid 500); 27 Jun 2016 20:33:35 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 53126 invoked by uid 99); 27 Jun 2016 20:33:35 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 20:33:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8A079E9423; Mon, 27 Jun 2016 20:33:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sarowe@apache.org To: commits@lucene.apache.org Date: Mon, 27 Jun 2016 20:33:39 -0000 Message-Id: <05d2a8f2eb4f45958b0079c16fa236ea@git.apache.org> In-Reply-To: <37c20def7e314945b171f8b792319ddb@git.apache.org> References: <37c20def7e314945b171f8b792319ddb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [5/6] lucene-solr:branch_5x: releasedJirasRegex.py: fixed comment about the limitations of the script archived-at: Mon, 27 Jun 2016 20:33:37 -0000 releasedJirasRegex.py: fixed comment about the limitations of the script Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9efad5a2 Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9efad5a2 Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9efad5a2 Branch: refs/heads/branch_5x Commit: 9efad5a2c0e780eda89615736c4e08d699858c28 Parents: 4fd61c6 Author: Steve Rowe Authored: Mon Jun 27 16:32:33 2016 -0400 Committer: Steve Rowe Committed: Mon Jun 27 16:33:12 2016 -0400 ---------------------------------------------------------------------- dev-tools/scripts/releasedJirasRegex.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9efad5a2/dev-tools/scripts/releasedJirasRegex.py ---------------------------------------------------------------------- diff --git a/dev-tools/scripts/releasedJirasRegex.py b/dev-tools/scripts/releasedJirasRegex.py index 3ed57a5..dc5e1b3 100644 --- a/dev-tools/scripts/releasedJirasRegex.py +++ b/dev-tools/scripts/releasedJirasRegex.py @@ -24,9 +24,10 @@ import re # under the given version in the given CHANGES.txt file # and prints a regular expression that will match all of them # -# Caveat: only works with modern CHANGES releases that use bullets -# ('*' or '-') - other list item mechanisms (numbers or letters) -# are not handled properly. +# Caveat: In ancient versions (Lucene v1.9 and older; Solr v1.1 and older), +# does not find Bugzilla bugs or JIRAs not mentioned at the beginning of +# bullets or numbered entries. +# def print_released_jiras_regex(version, filename): release_boundary_re = re.compile(r'\s*====*\s+(.*)\s+===') version_re = re.compile(r'%s(?:$|[^-])' % version)