Commit Graph

350 Commits

Author SHA1 Message Date
Steve Rowe d60849f377 LUCENE-7748: buildAndPushRelease.py should fail if the project DOAP files are missing releases that are less than the release being produced 2017-03-18 15:09:43 -04:00
Cao Manh Dat faeb1fe8c1 SOLR-8045: Fix smokeTestRelease.py from precommit 2017-03-14 08:30:38 +07:00
Cao Manh Dat 0fb386a864 SOLR-8045: Deploy V2 API at /v2 instead of /solr/v2 2017-03-11 10:30:52 +07:00
Ishan Chattopadhyaya a6e14ec6d2 LUCENE-7718: buildAndPushRelease.py script should refer to working tree instead of directory 2017-03-08 01:49:13 +05:30
Steve Rowe 98f75723f3 LUCENE-7542: Remove debug printing of parsed versions 2016-11-30 17:07:48 -05:00
Steve Rowe 7d7e362d6f LUCENE-7542: Release smoker should fail when CHANGES.txt has a release section for a future release 2016-11-17 12:58:59 -05:00
Mikhail Khludnev a209c4e8c2 LUCENE-7534: fix smokeTestRelease.py to work on Cygwin 2016-11-11 19:37:16 +00:00
Jan Høydahl d146354457 SOLR-6871: Fix precommit - accept /solr/downloads.html as valid link 2016-09-22 10:52:20 +02:00
Steve Rowe cd8592c850 LUCENE-7446: don't ask about version back-compatibility when we know it's not applicable (i.e., the version to be added is greater than the latest on the branch) 2016-09-13 11:25:00 -04:00
Steve Rowe 541a8fa13d LUCENE-7425: Port -path and -details options from the Perl version, and a couple other minor cleanups 2016-09-12 15:51:33 -04:00
Mike McCandless d44e7315b4 LUCENE-7425: change from Perl to Python for our script to polling mirrors during the release process 2016-08-25 19:48:44 -04:00
Mike McCandless 2a337c3994 also accept ant 1.9.x in JAR manifest 2016-08-21 04:50:02 -04:00
Mike McCandless ca1ce0b255 allow ant 1.9.x as well 2016-08-20 04:32:13 -04:00
Mike McCandless d19ecc0e65 try to fix back compat version check again 2016-08-20 04:14:01 -04:00
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
Timothy Potter 7e5ef2da07 SOLR-7923: Rework the smoke tester to the techproducts example using bin/solr script to do all the work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695934 13f79535-47bb-0310-9956-ffa450edef68
2015-08-14 16:00:12 +00:00
Uwe Schindler 3e406606ed SOLR-7227: Don't create the WAR file at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693143 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 19:04:21 +00:00
Timothy Potter 2eb704ef50 SOLR-7227: Solr distribution archive should have the WAR file extracted already
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692925 13f79535-47bb-0310-9956-ffa450edef68
2015-07-27 18:12:45 +00:00
Michael McCandless 270f11cfed expect spatial3d module too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691213 13f79535-47bb-0310-9956-ffa450edef68
2015-07-15 13:52:07 +00:00
Michael McCandless a886c663d3 LUCENE-6675: improve spatial3d javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690784 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 18:10:56 +00:00
Anshum Gupta 22a358ffbd Fix buildAndPushRelease.py to echo the correct command for running smokeTester after completion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684739 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 19:04:43 +00:00
Michael McCandless 0b5cefb394 don't recurse into dist when diffing sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682831 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 08:17:30 +00:00
Michael McCandless 9e6353843c fix smoke tester to pass again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682481 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 14:17:04 +00:00
Timothy Potter 1e83e33962 SOLR-7487: Fix check-example-lucene-match-version Ant task to check luceneMatchVersion in solr/server/solr/configsets instead of example and harden error checking / validation logic.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677228 13f79535-47bb-0310-9956-ffa450edef68
2015-05-01 20:55:28 +00:00
Shalin Shekhar Mangar 9464d2afb7 SOLR-4839: Make our jetty configs resemble stock Jetty 9.3 configs more closely. Thread pool and common config goes to jetty.xml. All property names are prefixed with solr.jetty. SSL keystore paths are now absolute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675337 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:35:31 +00:00
Steven Rowe 01a4c97273 Backcompat index generation: add docs, and point to usage information on the wiki: http://wiki.apache.org/lucene-java/ReleaseTodo#Generate_Backcompat_Indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673962 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 21:36:00 +00:00
Steven Rowe 3e12747138 LUCENE-6403: make maven artifact crawl seed URLs end with slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671737 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 03:46:42 +00:00
Robert Muir 8353523f30 ignore .settings when doing diffs too (another eclipse IDE folder)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670676 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:29:10 +00:00
Robert Muir 1614df8195 ignore eclipse IDE files in this script too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670671 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:22:26 +00:00
Anshum Gupta 03f4970074 LUCENE-6380: Fix imports in addVersion.py for the release process
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670251 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 04:45:25 +00:00
Ryan Ernst 9b112b58d4 adding bwc test indexes for 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661609 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 06:50:47 +00:00
Steven Rowe cc20881d28 LUCENE-6231: retry all downloads in smokeTestRelease.py
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658772 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 18:09:53 +00:00
Steven Rowe 0b4cdec6ac LUCENE-6231: smokeTestRelease.py should retry failed downloads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658723 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 14:40:27 +00:00
Michael McCandless 68b6d00cba fix missing javadocs checker to work with Java 1.8 generated javadocs too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657805 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 13:37:07 +00:00
Anshum Gupta 753fd599d0 SOLR-7028: Fix buildAndPushRelease.py to use the correct variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654569 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 19:12:00 +00:00
Michael McCandless 3941b3f266 handle default annotations; remove workaround for now fixed javadoc bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654004 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 18:53:21 +00:00
Erik Hatcher 22d0422663 Fix Solr smoke tests: SYSTEM_REQUIREMENTS no longer exists where it was testing for it (merged from r1652718)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652721 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 10:02:59 +00:00
Adrien Grand 8a15a5c544 SOLR-6870: Add http://lucene.apache.org/solr/resources.html to the whitelist.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651986 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 09:06:19 +00:00
Erik Hatcher 806e227b59 Fix doc build issues with new Solr quickstart
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651938 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 02:45:57 +00:00
Timothy Potter c36180cdf8 SOLR-6952: bin/solr create action should copy configset directory instead of reusing an existing configset in ZooKeeper by default; commit also includes fix for SOLR-6933 - create alias
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651231 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 23:33:34 +00:00
Steven Rowe 975dbe134e LUCENE-6134: fix typos: wether->whether, neccessary->necessary, initalize->initialize, specifed->specified, etc. (thanks Ahmet Arslan\!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647795 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 14:33:59 +00:00
Steven Rowe 2189b7a761 LUCENE-6134: fix typos: it's->its, its->it's, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +00:00
Ryan Ernst 5e17f315d4 LUCENE-5950: Move to Java 8 as minimum Java version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640833 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 22:47:21 +00:00
Timothy Potter ad79399db1 SOLR-6708: wrap the kill existing Solr command in a try/except block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640419 13f79535-47bb-0310-9956-ffa450edef68
2014-11-18 20:30:37 +00:00
Ryan Ernst 8339fd8cfc One more fix for patch tool to make paths relative to checkouts work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1639925 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 21:26:07 +00:00
Ryan Ernst ea90e4021f Fix patch tool to better compare svn vs git checkouts, and not require comparing roots of checkouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1639914 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 21:01:33 +00:00
Timothy Potter 71735447bc SOLR-6708: stop orphaned Solr nodes before starting another one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637980 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:57:39 +00:00
Timothy Potter 6d827b409a SOLR-3619: get the smoke tester working with the bin/solr script and server directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635887 13f79535-47bb-0310-9956-ffa450edef68
2014-11-01 01:22:01 +00:00
Michael McCandless 73ec0f28cc improve error reporting when this tool finds javadocs problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629157 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 09:20:09 +00:00
Michael McCandless 3d0fc4eefe get smoke tester properly parsing versions from TestBackCompat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627496 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 09:56:14 +00:00
Ryan Ernst 1db06937d1 LUCENE-5902: rename to addVersion.py
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627439 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 00:06:31 +00:00