Commit Graph

286 Commits

Author SHA1 Message Date
Steve Rowe 8c47d20d23 releasedJirasRegex.py: fixed comment about the limitations of the script 2016-06-27 16:32:33 -04:00
Steve Rowe ac473a9fac Renamed manageRelease.py to releasedJirasRegex.py, cleaned it up a bit, fixed a bug (matching JIRAs not at the beginning of bullets), and added the ability to match older releases' numbered bullets. 2016-06-27 16:10:44 -04:00
Steve Rowe 1e182d81db Simplify backcompat index file name creation 2016-06-27 12:57:40 -04:00
Steve Rowe 46c827e31a Handle adding versions that are no longer supported 2016-06-25 14:49:28 -04:00
Steve Rowe 0018003b7c Handle adding back compat indexes for versions that are no longer supported 2016-06-25 14:26:42 -04:00
Steve Rowe 60fac6c177 Switch is-latest-version check from whether the branch types match to directly comparing the new version against the current version 2016-06-25 13:11:16 -04:00
Steve Rowe 8830c0ae6a Add script to host release management tools. Currently performs a single task: makes regexes for all JIRAs included in a release by parsing the CHANGES.txt files 2016-06-24 19:13:16 -04:00
Steve Rowe 843adfb7ba Address Solr Changes.html problems: 1) In solr/CHANGES.txt, add a 'Versions of Major Components' section to the 6.2.0 and 6.1.0 releases; 2) In addVersion.py: when adding a new version to solr/CHANGES.txt, add a line referring to LUCENE_CHANGES.txt, and add a 'Versions of Major Components' section with versions interpolated from ivy-versions.properties; and 3) In changes2html.pl: allow section names to have up to 6 words (to handle 'Upgrading from Solr any prior release') 2016-06-13 20:13:14 -04:00
Steve Rowe 78ed1ca879 LUCENE-7308: checkJavaDocs.py (called from documentation-lint): checkClassDetails(): reimplement detail item chunking to align with actual item boundaries, and to test the final item. 2016-06-01 13:39:07 -04:00
Steve Rowe 02346be64f - Modernize example usage
- Fail if script version is incompatible with release version
2016-05-25 16:09:22 -04:00
Steve Rowe a4de634aaf fix smokeTestRelease.py directory interpolation 2016-05-24 00:18:57 -04:00
Steve Rowe 532d07f1f5 Hide 'git --version' output 2016-05-24 00:18:47 -04:00
Steve Rowe dbb1fc688f - In help text, show default RC number.
- In help text, state that the default --root value is '.' (the current directory)
2016-05-24 00:18:18 -04:00
Steve Rowe 6c85a1d759 When there are unpushed commits, print out the full command used to show the commits 2016-05-24 00:17:48 -04:00
Steve Rowe 51f7574d2f Fix current branch detection 2016-05-24 00:17:31 -04:00
Steve Rowe ed893b3d7a Check for unpushed commits only on the current branch 2016-05-24 00:17:15 -04:00
Steve Rowe 54143f5dcb os.isdir => os.path.isdir 2016-05-24 00:16:54 -04:00
Steve Rowe 8cb2773dc7 - Fail if there are unpushed commits in the Git working tree
- Drop obsolete "--push-remote" param
- Drop obsolete "--smoke-test" param
- Update example RM cmdline usage
- Support relative working tree root directory
- Convert "root" positional cmdline arg into an optional "--root" arg defaulting to '.'
- Use sys.executable instead of $PYTHON_EXEC when printing smoke tester cmdline
- Add new fail-fast checks:
   - Check for a functional "git" executable
   - Ensure "ant" version is 1.8.X
   - Ensure working tree is under Git control, and contains 'lucene/', 'solr/' and 'dev-tools/' dirs
2016-05-24 00:16:10 -04:00
Uwe Schindler b9caf83bfa LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation 2016-05-20 22:20:39 +02:00
Steve Rowe 5fb11323b6 SOLR-9109: add missing comma in smokeTestRelease.py extras list 2016-05-16 19:31:18 -04:00
Steve Rowe e545c696c3 SOLR-9109: tell the smoke tester and the check-lib-versions target about the renamed Ivy settings files 2016-05-16 18:51:12 -04:00
Steve Rowe a9cc7b63d7 LUCENE-7265: Pull change id related code out of addVersion.py; rename 'major' BranchType to 'unstable' 2016-05-13 18:43:12 -04:00
Steve Rowe 1ec6a886f6 addVersion.py (via scriptutil.py): fix name of the running script in error message 2016-05-13 17:25:58 -04:00
Steve Rowe 04a133f9cc Improve addVersion.py: in Version.java, remove 'Use this to get the latest...' from the previous LATEST, and add it to the new LATEST 2016-05-13 17:25:53 -04:00
Steve Rowe 97ca679d4b Revert "LUCENE-7265: Fix addVersion to cherry-pick downstream changes by using the change id"
This reverts commit 54b873c2f9.
2016-05-13 16:33:06 -04:00
anshum 54b873c2f9 LUCENE-7265: Fix addVersion to cherry-pick downstream changes by using the change id 2016-04-28 17:33:49 -07:00
Jan Høydahl 10c7757852 LUCENE-7155: Detect master/major branch using enum, abort on more errors 2016-04-11 23:22:40 +02:00
nknize 7263491d8e replace svn up with git pull in buildAndPushRelease.py 2016-03-31 13:40:04 -05:00
Jan Høydahl 6e446c0b92 LUCENE-7155: Script addVersion.py does not detect the new naming convention for bugfix branches 2016-03-31 15:35:48 +02:00
David Smiley e490b329b3 SOLR-6926: fix smokeTestRelease.py to stop calling ant example. 2016-03-08 14:36:04 -05:00
Mike McCandless 9617d3d400 fix smoke tester to understand newly old index 2016-03-07 10:38:04 -05:00
Uwe Schindler 6ce6c01318 Update URL to Lucene's KEYS file 2016-03-07 11:21:12 +01:00
nknize 89db4950b9 LUCENE-7015: Refactor spatial module to spatial-extras
Refactors non GeoPoint* classes from existing spatial module to a new spatial-extras module. dev-tools, build, and project files are updated to include new spatial-extras module.
2016-02-29 16:18:39 -06:00
Steve Rowe ef965661ab LUCENE-7024, LUCENE-6938: fix smoke tester to pull pom.xml.template files from the Solr source distribution instead of from svn
(cherry-picked branch_5_5 commit f6a1bbf)
2016-02-14 19:27:26 -05:00
Mike McCandless 4d094975d9 LUCENE-6938: fix some places in smoke tester to accept git commit hash instead of svn revison
Conflicts:
	dev-tools/scripts/smokeTestRelease.py
2016-02-11 15:22:22 -05:00
Mike McCandless 83ebd1bb71 fix usage line 2016-02-11 10:24:09 -05:00
Mike McCandless 7509b9c969 LUCENE-6938: add TODO that we should also detect unpushed commits 2016-02-11 10:24:09 -05:00
Mike McCandless de9d4ac3b7 LUCENE-6938: fix buggy detection of dirty git checkout 2016-02-11 10:24:09 -05:00
Mike McCandless f8be973b94 LUCENE-6938: switch from svn to git 2016-02-11 09:55:54 -05:00
Mike McCandless 2514521b55 LUCENE-6938: addVersion can no longer do a --reord-only merge with git 2016-02-11 04:19:15 -05:00
Mike McCandless 70e61fd9e0 LUCENE-6938: switch from svn to git 2016-02-10 17:56:39 -05:00
Steven Rowe 5db6df0ca2 LUCENE-6955: The release smoke tester inappropriately requires back compat index testing for versions not less than the one being smoke tested
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723956 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 19:42:37 +00:00
Michael McCandless 57ed15678c LUCENE-6922: more improvements in the svn to git mirror workaround tool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723747 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:53:36 +00:00
Michael McCandless 3972c0e9eb LUCENE-6922: latest version of svn to git mirror workaround script, from Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720686 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 22:32:39 +00:00
Upayavira db65c81526 Fix smoke test to handle HTTPS dist URLs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718469 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 21:21:05 +00:00
Varun Thacker 4a4f2a00e7 SOLR-8363: Fix luceneMatchVersion check and update in build scripts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717898 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 06:13:46 +00:00
Michael McCandless 160cf90742 INFRA-9182: improvements from Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715951 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 21:03:46 +00:00
Michael McCandless 3f27ae0877 INFRA-9182: some improvements from Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711816 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 15:27:43 +00:00
Michael McCandless 4d79124a84 INFRA-9182: add Paul Elschot's workaround script for when the svn -> github mirror is broken
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710698 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 21:07:03 +00:00
Michael McCandless 8760269fcf HTMLParserError is gone as of Python 3.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704918 13f79535-47bb-0310-9956-ffa450edef68
2015-09-23 19:17:19 +00:00