You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2016/06/27 20:33:38 UTC

[4/6] lucene-solr:branch_6_0: releasedJirasRegex.py: fixed comment about the limitations of the script

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/4ad0683b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/4ad0683b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/4ad0683b

Branch: refs/heads/branch_6_0
Commit: 4ad0683bc421af5d718b40bbf05e7947d2e2fcc4
Parents: f814b0a
Author: Steve Rowe <sa...@apache.org>
Authored: Mon Jun 27 16:32:33 2016 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Mon Jun 27 16:33:05 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/4ad0683b/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)