I created LUCENE-6380 for that and committed a fix. Here's
my successful trial run:

*********************************************************************
~/solr/release/branch_5x > python3 -u dev-tools/scripts/addVersion.py 5.2.0

Adding new version 5.2.0
  adding new section to lucene/CHANGES.txt...done
  adding new section to solr/CHANGES.txt...done
  adding constant LUCENE_5_2_0...done

Updating latest version
  changing version.base...done
  changing Version.LATEST to LUCENE_5_2_0...done
  updating example solrconfig.xml files
    solr/example/example-DIH/solr/db/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/mail/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/rss/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/solr/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/tika/conf/solrconfig.xml...done

Testing changes
  checking lucene version tests...ok
  checking solr version tests...ok

*********************************************************************

I'll also update the documentation to say *addVersion.py *instead of
*bumpVersion.py.*


On Mon, Mar 30, 2015 at 9:13 PM, Anshum Gupta <[email protected]>
wrote:

> I had similar issues but I got around that by changing a few things. The
> only reason I didn't commit those changes is because I wasn't sure if the
> way I'd changed things was a standard way or just a hack.
>
> I can help you with this and then commit it. irc ?
>
> On Mon, Mar 30, 2015 at 8:02 PM, Timothy Potter <[email protected]>
> wrote:
>
>> Trying to follow the directions here -
>> http://wiki.apache.org/lucene-java/ReleaseTodo
>>
>> But there's no bumpVersion.py script in dev-tools/scripts? Tried
>> addVersion.py but it's not cooperating???
>>
>> [~/dev/lw/projects/lucene_solr_5_1]$ python3 -u
>> dev-tools/scripts/addVersion.py
>> Traceback (most recent call last):
>>   File "dev-tools/scripts/addVersion.py", line 214, in <module>
>>     main()
>>   File "dev-tools/scripts/addVersion.py", line 185, in main
>>     c = read_config()
>>   File "dev-tools/scripts/addVersion.py", line 163, in read_config
>>     parser.add_argument('version', type=Version.parse)
>> NameError: global name 'Version' is not defined
>>
>> On Mon, Mar 30, 2015 at 7:57 PM, Timothy Potter <[email protected]>
>> wrote:
>> > The 5.1 branch has been created -
>> > https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_5_1/
>> >
>> > Here's a friendly reminder (from the wiki) on the agreed process for a
>> > minor release:
>> >
>> > * No new features may be committed to the branch.
>> >
>> > * Documentation patches, build patches and serious bug fixes may be
>> > committed to the branch. However, you should submit all patches you
>> > want to commit to Jira first to give others the chance to review and
>> > possibly vote against the patch. Keep in mind that it is our main
>> > intention to keep the branch as stable as possible.
>> >
>> > * All patches that are intended for the branch should first be
>> > committed to trunk, merged into the minor release branch, and then
>> > into the current release branch.
>> >
>> > * Normal trunk and minor release branch development may continue as
>> > usual. However, if you plan to commit a big change to the trunk while
>> > the branch feature freeze is in effect, think twice: can't the
>> > addition wait a couple more days? Merges of bug fixes into the branch
>> > may become more difficult.
>> >
>> > * Only Jira issues with Fix version "5.1" and priority "Blocker" will
>> > delay a release candidate build.
>> >
>> > FYI - We've already agreed that LUCENE-6303 should get committed to
>> > this branch when it is ready.
>> >
>> > On Mon, Mar 30, 2015 at 2:08 PM, Timothy Potter <[email protected]>
>> wrote:
>> >> I'd like to move ahead an create the 5.1 branch later today so that we
>> can
>> >> start locking down what's included in the release. I know this adds an
>> extra
>> >> merge step for you Adrien for LUCENE-6303, but I hope that's not too
>> much
>> >> trouble for you?
>> >>
>> >> Cheers,
>> >> Tim
>> >>
>> >> On Fri, Mar 27, 2015 at 5:24 PM, Adrien Grand <[email protected]>
>> wrote:
>> >>>
>> >>> Hi Timothy,
>> >>>
>> >>> We have an issue with auto caching in Lucene that uncovered some
>> >>> issues with using queries as cache keys since some of them are mutable
>> >>> (including major one like BooleanQuery and PhraseQuery). I reopened
>> >>> https://issues.apache.org/jira/browse/LUCENE-6303 and provided a
>> patch
>> >>> to disable this feature so that we can release. I can hopefully commit
>> >>> it early next week.
>> >>>
>> >>> On Wed, Mar 25, 2015 at 6:17 PM, Timothy Potter <[email protected]
>> >
>> >>> wrote:
>> >>> > Hi,
>> >>> >
>> >>> > I'd like to create the 5.1 branch soon'ish, thinking maybe late
>> tomorrow
>> >>> > or
>> >>> > early Friday.
>> >>> >
>> >>> > If I understand correctly, that implies that new features should
>> not be
>> >>> > added after that point without some agreement among the committers
>> about
>> >>> > whether it should be included?
>> >>> >
>> >>> > Let me know if this is too soon and when a more ideal date/time
>> would
>> >>> > be.
>> >>> >
>> >>> > Sincerely,
>> >>> >
>> >>> > Your friendly 5.1 release manager (aka thelabdude)
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Adrien
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: [email protected]
>> >>> For additional commands, e-mail: [email protected]
>> >>>
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
> --
> Anshum Gupta
>



-- 
Anshum Gupta

Reply via email to