Commit Graph

922 Commits

Author SHA1 Message Date
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