Commit Graph

974 Commits

Author SHA1 Message Date
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
Christine Poerschke 1a78cab1fa Make the eclipse setup fail on comparingIdentical and noEffectAssignment like precommit does. 2016-06-20 11:54:53 +01:00
Adrien Grand 7d296fe286 Make the eclipse setup fail on unused imports like precommit does. 2016-06-20 11:07:08 +02:00
Uwe Schindler 0179b3fb2d LUCENE-7346: Update forbiddenapis to version 2.2 2016-06-19 21:27:34 +02:00
Steve Rowe a4455a4b14 LUCENE-6439: IntelliJ config 2016-06-16 12:58:40 -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 3fb69edead LUCENE-7296, SOLR-9147: Fix Maven build 2016-05-23 00:47:20 +02: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 6942fe2d20 SOLR-8970: IntelliJ config: add src/resources/ as a java-resource dir to the solr-test-framework module, so that resources there get copied into the compilation output dir. 2016-05-16 20:55:32 -04: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
Scott Blum af92294b0c SOLR-8929: Add an idea module for solr/server to enable launching start.jar 2016-04-19 21:06:15 -04:00
Robert Muir 72cb73c6b9 LUCENE-7170: move BaseGeoPointTestCase to test-framework 2016-04-17 08:52:59 -04:00
Steve Rowe b513df6c41 IntelliJ config: remove obsolete 'Ant' library; remove non-existent 'Solr analytics library' from the Solr analytics contrib 2016-04-15 13:10:40 -04:00
Shalin Shekhar Mangar 67f6283ce4 LUCENE-7196: Add dependency on grouping and misc modules to avoid compile failures in IntelliJ IDEA 2016-04-13 12:45:33 +05:30
Jan Høydahl 10c7757852 LUCENE-7155: Detect master/major branch using enum, abort on more errors 2016-04-11 23:22:40 +02:00
Steve Rowe 65bfc19f98 LUCENE-7174: IntelliJ config: remove trailing slashes on dir names to make IntelliJ happy 2016-04-08 12:28:19 -04:00
Steve Rowe 0cf6c55119 LUCENE-7174: IntelliJ config: switch JUnit library to include all jars under lucene/test-framework/lib/, rather than using the exact jar names, which is brittle, and causes trouble when people forget to update when jars are upgraded (like on this issue) 2016-04-08 12:28:19 -04: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
Uwe Schindler 3a4e1d1142 SOLR-8874: Update Maven config to correctly set tests.disableHdfs 2016-03-20 13:25:38 +01:00
Tommaso Teofili 5801caab6c SOLR-7739 - applied patch from Alessandro Benedetti for integrating Lucene classification into Solr 2016-03-15 12:29:07 +01: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 eeee1c3f40 SOLR-8692: Deal with the new solr/core/src/resources/ dir: 1) add Maven config; and 2) improve IntelliJ config by using a new content root in solr-core module pointing to the resources dir, rather than using module-library declarations in the solr-core, solr-core-tests and solrj modules. 2016-02-22 18:19:00 -05:00
Noble Paul 8bcac81a21 SOLR-8692 moved the embedded json out to resources dir 2016-02-18 14:59:09 -08: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
Steve Rowe 8e0f7ff7bb LUCENE-6997: Maven config: build a spatial module test-jar, and add a test dependency on it to the sandbox module 2016-02-11 06:21:18 -08: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
nknize 665041c52f LUCENE-6997: refactor sandboxed GeoPointField and query classes to lucene-spatial module 2016-02-05 10:58:39 -06:00
Steve Rowe 61fae32f5f LUCENE-7012: IntelliJ config: when creating new Java files, place the license header before the package declaration 2016-02-03 14:39:03 -05:00
Shai Erera 7c72c6a891 LUCENE-7012: change license header location in new Java files 2016-02-03 21:08:53 +02:00
Dawid Weiss c6ec006e24 A few links with git resources and tutorials. 2016-02-03 11:38:17 +01:00
Steve Rowe 7f41c65ae9 LUCENE-6938: Maven build: Switch SCM descriptors from svn to git; buildnumber-maven-plugin's buildNumberPropertyName property (used in Maven-built artifact manifests) renamed from svn.revision to checkoutid; removed Subversion-specific stuff from README.maven 2016-01-24 17:53:12 +01:00
Steven Rowe 1ad51f30ae SOLR-8567: Maven build: Add solr-core test dependency on the lucene queryparser test-jar, required for SOLR-839
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725866 13f79535-47bb-0310-9956-ffa450edef68
2016-01-21 05:33:53 +00:00
Steven Rowe 58102fa671 IntelliJ config: Add lucene-core module test dependency to the DIH-extras module (required for access to o.a.l.util.Constants); and remove obsolete test-lib/*.jar test dependencies from several modules.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725594 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 19:08:10 +00: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
Shai Erera 556202dfca SOLR-8475: Some refactoring to SolrIndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723910 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 08:30:26 +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
Dawid Weiss 35758f62c8 LUCENE-6924: Upgrade randomizedtesting to 2.3.2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718345 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 13:12:45 +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
David Wayne Smiley a649775350 remove -XX:MaxPermSize from maven test build on trunk (deprecated in java 8).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717273 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 15:20:01 +00:00
David Wayne Smiley c6bcc54e40 LUCENE-6833: maven build: add test-files/ to morfologik pom
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717271 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 15:16:10 +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
Dawid Weiss d07124ef6f LUCENE-6899: upgrade randomizedtesting to version 2.3.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714945 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 07:50:02 +00:00
Robert Muir 994cfa1259 LUCENE-6877: eclipse generated try/catch discards exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712316 13f79535-47bb-0310-9956-ffa450edef68
2015-11-03 16:03:55 +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
Dawid Weiss 295b9972f4 LUCENE-6862: Upgrade of RandomizedRunner to version 2.2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711203 13f79535-47bb-0310-9956-ffa450edef68
2015-10-29 09:38:20 +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
Uwe Schindler 294b30a66e LUCENE-6594: Update forbiddenapis to 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706128 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 18:54:29 +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
Dawid Weiss 4c27e2b374 LUCENE-6812: Upgrade RandomizedTesting to 2.1.17
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704600 13f79535-47bb-0310-9956-ffa450edef68
2015-09-22 12:29:23 +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
Dawid Weiss 02c3836095 LUCENE-6174: Improve 'ant eclipse' to select right JRE for building.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695442 13f79535-47bb-0310-9956-ffa450edef68
2015-08-12 08:07:55 +00:00
Uwe Schindler 1331a57e3d LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +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
Steven Rowe 33d18a0c59 LUCENE-6607: Fix spatial3d module's Maven config - include dependency interpolation sites, make packaging jar instead of pom, don't skip deploy phase, etc.; and fix GetMavenDependenciesTask to exclude a module's build artifacts only if the build dir fully matches, rather than a prefix (this bug caused lucene-spatial's test dependency on the lucene-spatial3d jar to be left out of the generated POM, because lucene/build/spatial3d matched the regex for lucene-spatial's build output dir: 'lucene/build/spatial', i.e. with no dir separator)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690842 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 23:45:20 +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
Steven Rowe cb8cb08894 LUCENE-6607: spatial3d IntelliJ config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690681 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 14:40:41 +00:00
Michael McCandless ccda4cd527 LUCENE-6607: attempt to add pom.xml for new spatial3d module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690614 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 09:52:49 +00:00
Steven Rowe 47f434d191 LUCENE-6539: Intellij config: add sandbox module dependency to solr-core and solr-analysis-extras modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685597 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 15:28:08 +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
Steven Rowe dad3395af3 Maven config: exclude .java files under test resource directory solr/core/src/test-files/ - Maven was attempting to compile runtimecode/RuntimeLibSearchComponent.java under the test module (solr/core/src/test/pom.xml)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683201 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 00:26:27 +00:00
Steven Rowe 99e54ab044 LUCENE-6514: IntelliJ config: fix code style settings for IntelliJ v14+
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682948 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 16:29:23 +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
David Wayne Smiley 736a9b6934 LUCENE-6445: Highlighter TokenSources simplification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676540 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 14:11:54 +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
Shai Erera 8c2c3f0609 LUCENE-6441: Change default formatting settings to break lines at 120 characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675056 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 07:31:25 +00:00
Uwe Schindler fae5b46a20 LUCENE-6439: enable support fors test-framework-tests on Maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674990 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 21:32:12 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00