You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2015/08/12 20:21:26 UTC

[Lucene-java Wiki] Update of "ReleaseTodo" by NoblePaul

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "ReleaseTodo" page has been changed by NoblePaul:
https://wiki.apache.org/lucene-java/ReleaseTodo?action=diff&rev1=191&rev2=192

Comment:
ant1.8.x requirement

  
  If after the last day of the feature freeze phase no blocking issues are in JIRA with "Fix Version" X.Y then it's time to build the release artifacts.
  
-  1. It is recommended to clean your Ivy cache by executing {{{rm -rf ~/.ivy2/cache}}} before building the artifacts. This ensures that all Ivy dependencies are freshly downloaded, so we emulate a user that never used the Lucene build system before (this step ensures downloadability of all artifacts). If you have a ton of stuff in your ivy cache, it's a good idea to move the cache temporarily to another location and restore it after the RC has been built so you wouldn't have to download everything again.
+  1. It is recommended to clean your Ivy cache by executing {{{rm -rf ~/.ivy2/cache}}} before building the artifacts. This ensures that all Ivy dependencies are freshly downloaded, so we emulate a user that never used the Lucene build system before (this step ensures downloadability of all artifacts). If you have a ton of stuff in your ivy cache, it's a good idea to move the cache temporarily to another location and restore it after the RC has been built so you wouldn't have to download everything again. This expects you to use ant1.8.x to build the srtifacts. So, ensure that you have ant1.8.x is installed and that is there in the path when you run the following commands
   1. Option 1 (recommended): use {{{dev-tools/scripts/buildAndPushRelease.py}}} to build a release candidate and stage the results locally. Run {{{buildAndPushRelease.py}}} with {{{ --help }}} to learn the available options. Here's an example of what was done for the 5.1 release:
      a. Build the release candidate: {{{python3 -u dev-tools/scripts/buildAndPushRelease.py --push-local /tmp/releases/5.1 --rc-num 2 /complete/path/to/svn/checkout/of/releasebranch}}}
      a. Optionally, run the smoke test script against the local release candidate: {{{python3 -u dev-tools/scripts/smokeTestRelease.py /tmp/releases/5.1/lucene-solr-5.1.0-RC2-rev1672403}}}