You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2011/06/12 13:43:19 UTC
svn commit: r1134918 - in /lucene/dev/trunk: ./
dev-tools/idea/lucene/contrib/ lucene/ lucene/backwards/
lucene/contrib/queries/src/test/org/apache/lucene/search/regex/
lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/
solr...
Author: uschindler
Date: Sun Jun 12 11:43:18 2011
New Revision: 1134918
URL: http://svn.apache.org/viewvc?rev=1134918&view=rev
Log:
update backwards instructions
Modified:
lucene/dev/trunk/ (props changed)
lucene/dev/trunk/dev-tools/idea/lucene/contrib/ (props changed)
lucene/dev/trunk/lucene/ (props changed)
lucene/dev/trunk/lucene/backwards/backwards-readme.txt
lucene/dev/trunk/lucene/contrib/queries/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java (props changed)
lucene/dev/trunk/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/TestNumericRangeFilterBuilder.java (props changed)
lucene/dev/trunk/solr/ (props changed)
lucene/dev/trunk/solr/CHANGES.txt (props changed)
lucene/dev/trunk/solr/LICENSE.txt (props changed)
lucene/dev/trunk/solr/NOTICE.txt (props changed)
lucene/dev/trunk/solr/README.txt (props changed)
lucene/dev/trunk/solr/build.xml (props changed)
lucene/dev/trunk/solr/client/ (props changed)
lucene/dev/trunk/solr/common-build.xml (props changed)
lucene/dev/trunk/solr/contrib/ (props changed)
lucene/dev/trunk/solr/example/ (props changed)
lucene/dev/trunk/solr/lib/ (props changed)
lucene/dev/trunk/solr/site/ (props changed)
lucene/dev/trunk/solr/src/ (props changed)
lucene/dev/trunk/solr/testlogging.properties (props changed)
Modified: lucene/dev/trunk/lucene/backwards/backwards-readme.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/backwards/backwards-readme.txt?rev=1134918&r1=1134917&r2=1134918&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/backwards/backwards-readme.txt (original)
+++ lucene/dev/trunk/lucene/backwards/backwards-readme.txt Sun Jun 12 11:43:18 2011
@@ -1,18 +1,21 @@
-* This is a placeholder for 4.1, when 4.0 will be branched *
-
-============== DISABLED =============================================================================
-
This folder contains the src/ folder of the previous Lucene major version.
The test-backwards ANT task compiles the previous version's tests (bundled) against the
previous released lucene-core.jar file (bundled). After that the compiled test classes
are run against the new lucene-core.jar file, created by ANT before.
-After branching a new Lucene major version (branch name "lucene_X_Y") do the following:
+After tagging a new Lucene *major* version (tag name "lucene_solr_X_Y_0") do the following
+(for minor versions never do this); also always use the x.y.0 version for the backwards folder,
+later bugfix releases should not be tested (the reason is that the new version must be backwards
+compatible to the last base version, bugfixes should not taken into account):
-* svn rm backwards/src/test
-* svn cp https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_X_Y/lucene/src/test backwards/src/test
-* Copy the lucene-core.jar from the last release tarball to backwards/lib and delete old one.
+* cd lucene/backwards
+* svn rm src/test src/test-framework lib/lucene-core*.jar
+* svn commit (1st commit; you must do this, else you will corrupt your checkout)
+* svn cp https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_X_Y_0/lucene/src/test-framework src
+* svn cp https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_X_Y_0/lucene/src/test src
+* Copy the lucene-core.jar from the last release tarball to lib.
* Check that everything is correct: The backwards folder should contain a src/ folder
- that now contains "test". The files should be the ones from the branch.
+ that now contains "test" and "test-framework". The files should be the ones from the last version.
* Run "ant test-backwards"
+* Commit the stuff again (2nd commit)