Mailing List Archive

[VOTE] Release Lucene 9.0.0 RC3
Please vote for release candidate 3 for Lucene 9.0.0.

The artifacts can be downloaded from:
https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b

You can run the smoke tester directly with this command:

python3 -u dev-tools/scripts/smokeTestRelease.py \
https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b

The vote will be open until 2021-11-30 9:00 UTC.

[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)

Here is my +1.

--
Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
SUCCESS! [0:10:10.031522]

+1 from me

On Fri, Nov 26, 2021 at 9:31 AM Adrien Grand <jpountz@gmail.com> wrote:
>
> Please vote for release candidate 3 for Lucene 9.0.0.
>
> The artifacts can be downloaded from:
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> You can run the smoke tester directly with this command:
>
> python3 -u dev-tools/scripts/smokeTestRelease.py \
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> The vote will be open until 2021-11-30 9:00 UTC.
>
> [ ] +1 approve
> [ ] +0 no opinion
> [ ] -1 disapprove (and reason why)
>
> Here is my +1.
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
+1 (binding).
SUCCESS! [0:14:24.593226]

On Fri, Nov 26, 2021 at 11:23 AM Michael Sokolov <msokolov@gmail.com> wrote:

> SUCCESS! [0:10:10.031522]
>
> +1 from me
>
> On Fri, Nov 26, 2021 at 9:31 AM Adrien Grand <jpountz@gmail.com> wrote:
> >
> > Please vote for release candidate 3 for Lucene 9.0.0.
> >
> > The artifacts can be downloaded from:
> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > You can run the smoke tester directly with this command:
> >
> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > The vote will be open until 2021-11-30 9:00 UTC.
> >
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove (and reason why)
> >
> > Here is my +1.
> >
> > --
> > Adrien
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
+1 SUCCESS! [0:23:41.775448]

Only ran smoketester this time.

Jan

> 26. nov. 2021 kl. 15:31 skrev Adrien Grand <jpountz@gmail.com>:
>
> Please vote for release candidate 3 for Lucene 9.0.0.
>
> The artifacts can be downloaded from:
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> You can run the smoke tester directly with this command:
>
> python3 -u dev-tools/scripts/smokeTestRelease.py \
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> The vote will be open until 2021-11-30 9:00 UTC.
>
> [ ] +1 approve
> [ ] +0 no opinion
> [ ] -1 disapprove (and reason why)
>
> Here is my +1.
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
+1

SUCCESS! [0:17:28.435474]

On Sat, Nov 27, 2021 at 1:27 AM Jan Høydahl <jan.asf@cominvent.com> wrote:

> +1 SUCCESS! [0:23:41.775448]
>
> Only ran smoketester this time.
>
> Jan
>
> > 26. nov. 2021 kl. 15:31 skrev Adrien Grand <jpountz@gmail.com>:
> >
> > Please vote for release candidate 3 for Lucene 9.0.0.
> >
> > The artifacts can be downloaded from:
> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > You can run the smoke tester directly with this command:
> >
> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > The vote will be open until 2021-11-30 9:00 UTC.
> >
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove (and reason why)
> >
> > Here is my +1.
> >
> > --
> > Adrien
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
+1

SUCCESS! [0:06:46.020662]

What a crazy speedup to smoke tester!!



Mike McCandless

http://blog.mikemccandless.com


On Sat, Nov 27, 2021 at 3:42 AM Ignacio Vera <iverase@gmail.com> wrote:

> +1
>
> SUCCESS! [0:17:28.435474]
>
> On Sat, Nov 27, 2021 at 1:27 AM Jan Høydahl <jan.asf@cominvent.com> wrote:
>
>> +1 SUCCESS! [0:23:41.775448]
>>
>> Only ran smoketester this time.
>>
>> Jan
>>
>> > 26. nov. 2021 kl. 15:31 skrev Adrien Grand <jpountz@gmail.com>:
>> >
>> > Please vote for release candidate 3 for Lucene 9.0.0.
>> >
>> > The artifacts can be downloaded from:
>> >
>> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>> >
>> > You can run the smoke tester directly with this command:
>> >
>> > python3 -u dev-tools/scripts/smokeTestRelease.py \
>> >
>> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>> >
>> > The vote will be open until 2021-11-30 9:00 UTC.
>> >
>> > [ ] +1 approve
>> > [ ] +0 no opinion
>> > [ ] -1 disapprove (and reason why)
>> >
>> > Here is my +1.
>> >
>> > --
>> > Adrien
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: dev-help@lucene.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
+1

(with --test-java17)
SUCCESS! [0:26:01.193203]

On Sat, Nov 27, 2021 at 8:40 AM Michael McCandless
<lucene@mikemccandless.com> wrote:
>
> +1
>
> SUCCESS! [0:06:46.020662]
>
> What a crazy speedup to smoke tester!!
>
>
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Sat, Nov 27, 2021 at 3:42 AM Ignacio Vera <iverase@gmail.com> wrote:
>>
>> +1
>>
>> SUCCESS! [0:17:28.435474]
>>
>>
>> On Sat, Nov 27, 2021 at 1:27 AM Jan Høydahl <jan.asf@cominvent.com> wrote:
>>>
>>> +1 SUCCESS! [0:23:41.775448]
>>>
>>> Only ran smoketester this time.
>>>
>>> Jan
>>>
>>> > 26. nov. 2021 kl. 15:31 skrev Adrien Grand <jpountz@gmail.com>:
>>> >
>>> > Please vote for release candidate 3 for Lucene 9.0.0.
>>> >
>>> > The artifacts can be downloaded from:
>>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>>> >
>>> > You can run the smoke tester directly with this command:
>>> >
>>> > python3 -u dev-tools/scripts/smokeTestRelease.py \
>>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>>> >
>>> > The vote will be open until 2021-11-30 9:00 UTC.
>>> >
>>> > [ ] +1 approve
>>> > [ ] +0 no opinion
>>> > [ ] -1 disapprove (and reason why)
>>> >
>>> > Here is my +1.
>>> >
>>> > --
>>> > Adrien
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>> > For additional commands, e-mail: dev-help@lucene.apache.org
>>> >
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Luke app starts on both of Linux and Windows (with or without spaces
in the path) and works well for me.
Thanks everyone who took the time for it.

Tomoko

2021?11?27?(?) 23:57 Robert Muir <rcmuir@gmail.com>:
>
> +1
>
> (with --test-java17)
> SUCCESS! [0:26:01.193203]
>
> On Sat, Nov 27, 2021 at 8:40 AM Michael McCandless
> <lucene@mikemccandless.com> wrote:
> >
> > +1
> >
> > SUCCESS! [0:06:46.020662]
> >
> > What a crazy speedup to smoke tester!!
> >
> >
> >
> > Mike McCandless
> >
> > http://blog.mikemccandless.com
> >
> >
> > On Sat, Nov 27, 2021 at 3:42 AM Ignacio Vera <iverase@gmail.com> wrote:
> >>
> >> +1
> >>
> >> SUCCESS! [0:17:28.435474]
> >>
> >>
> >> On Sat, Nov 27, 2021 at 1:27 AM Jan Høydahl <jan.asf@cominvent.com> wrote:
> >>>
> >>> +1 SUCCESS! [0:23:41.775448]
> >>>
> >>> Only ran smoketester this time.
> >>>
> >>> Jan
> >>>
> >>> > 26. nov. 2021 kl. 15:31 skrev Adrien Grand <jpountz@gmail.com>:
> >>> >
> >>> > Please vote for release candidate 3 for Lucene 9.0.0.
> >>> >
> >>> > The artifacts can be downloaded from:
> >>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >>> >
> >>> > You can run the smoke tester directly with this command:
> >>> >
> >>> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >>> >
> >>> > The vote will be open until 2021-11-30 9:00 UTC.
> >>> >
> >>> > [ ] +1 approve
> >>> > [ ] +0 no opinion
> >>> > [ ] -1 disapprove (and reason why)
> >>> >
> >>> > Here is my +1.
> >>> >
> >>> > --
> >>> > Adrien
> >>> >
> >>> > ---------------------------------------------------------------------
> >>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >>> > For additional commands, e-mail: dev-help@lucene.apache.org
> >>> >
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >>> For additional commands, e-mail: dev-help@lucene.apache.org
> >>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
+1
SUCCESS! [0:08:46.711289]
(Java 11 JAVA_HOME=/home/gus/....../zulu11.48.21-ca-jdk11.0.11-linux_x64/)
Smoketester only

On Sat, Nov 27, 2021 at 10:57 AM Tomoko Uchida <tomoko.uchida.1111@gmail.com>
wrote:

> Luke app starts on both of Linux and Windows (with or without spaces
> in the path) and works well for me.
> Thanks everyone who took the time for it.
>
> Tomoko
>
> 2021?11?27?(?) 23:57 Robert Muir <rcmuir@gmail.com>:
> >
> > +1
> >
> > (with --test-java17)
> > SUCCESS! [0:26:01.193203]
> >
> > On Sat, Nov 27, 2021 at 8:40 AM Michael McCandless
> > <lucene@mikemccandless.com> wrote:
> > >
> > > +1
> > >
> > > SUCCESS! [0:06:46.020662]
> > >
> > > What a crazy speedup to smoke tester!!
> > >
> > >
> > >
> > > Mike McCandless
> > >
> > > http://blog.mikemccandless.com
> > >
> > >
> > > On Sat, Nov 27, 2021 at 3:42 AM Ignacio Vera <iverase@gmail.com>
> wrote:
> > >>
> > >> +1
> > >>
> > >> SUCCESS! [0:17:28.435474]
> > >>
> > >>
> > >> On Sat, Nov 27, 2021 at 1:27 AM Jan Høydahl <jan.asf@cominvent.com>
> wrote:
> > >>>
> > >>> +1 SUCCESS! [0:23:41.775448]
> > >>>
> > >>> Only ran smoketester this time.
> > >>>
> > >>> Jan
> > >>>
> > >>> > 26. nov. 2021 kl. 15:31 skrev Adrien Grand <jpountz@gmail.com>:
> > >>> >
> > >>> > Please vote for release candidate 3 for Lucene 9.0.0.
> > >>> >
> > >>> > The artifacts can be downloaded from:
> > >>> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> > >>> >
> > >>> > You can run the smoke tester directly with this command:
> > >>> >
> > >>> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> > >>> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> > >>> >
> > >>> > The vote will be open until 2021-11-30 9:00 UTC.
> > >>> >
> > >>> > [ ] +1 approve
> > >>> > [ ] +0 no opinion
> > >>> > [ ] -1 disapprove (and reason why)
> > >>> >
> > >>> > Here is my +1.
> > >>> >
> > >>> > --
> > >>> > Adrien
> > >>> >
> > >>> >
> ---------------------------------------------------------------------
> > >>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > >>> > For additional commands, e-mail: dev-help@lucene.apache.org
> > >>> >
> > >>>
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > >>> For additional commands, e-mail: dev-help@lucene.apache.org
> > >>>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

--
http://www.needhamsoftware.com (work)
http://www.the111shift.com (play)
RE: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Hi,

Policeman Jenkins ran smoke tester with JDK 11 and JDK 17 for me, log is here:
https://jenkins.thetaphi.de/job/Lucene-Release-Tester/7/console

The result was:
SUCCESS! [0:24:44.934189]

(AMD Ryzen 7 3700X 8-Core Processor, Linux 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux)

I also reviewed the Luke instance on Windows, started successfully this time with whitespace in my user name. I opened 2 backwards compatibility indexes to check codecs with Luke and investigated index contents:
- sorted 8.11.0
- index 8.0.0 nocfs

I checked the src.tgz file, I was only a bit confused about the "pax_global_header" file, looks as if it contains the commit hash. What's this?

There is a minor issue: When opening the documentation folder, the path of luke startup scripts is wrong:
Luke - Lucene Toolbox GUI tool: A Swing app for browsing documents, indexed terms and posting lists, searching an index, and so on. Type "/path/to/lucene-9.0.0/luke/luke.{sh|bat}" to launch Luke. (we should commit a fix to index.md file in documentation sources)

+1 to release

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Adrien Grand <jpountz@gmail.com>
> Sent: Friday, November 26, 2021 3:31 PM
> To: Lucene Dev <dev@lucene.apache.org>
> Subject: [VOTE] Release Lucene 9.0.0 RC3
>
> Please vote for release candidate 3 for Lucene 9.0.0.
>
> The artifacts can be downloaded from:
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> 1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> You can run the smoke tester directly with this command:
>
> python3 -u dev-tools/scripts/smokeTestRelease.py \
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> 1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> The vote will be open until 2021-11-30 9:00 UTC.
>
> [ ] +1 approve
> [ ] +0 no opinion
> [ ] -1 disapprove (and reason why)
>
> Here is my +1.
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Hi,

> Policeman Jenkins ran smoke tester with JDK 11 and JDK 17 for me, log is here:
> https://jenkins.thetaphi.de/job/Lucene-Release-Tester/7/console
>
> The result was:
> SUCCESS! [0:24:44.934189]
>
> (AMD Ryzen 7 3700X 8-Core Processor, Linux 5.11.0-40-generic #44~20.04.2-
> Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64
> GNU/Linux)
>
> I also reviewed the Luke instance on Windows, started successfully this time
> with whitespace in my user name. I opened 2 backwards compatibility indexes
> to check codecs with Luke and investigated index contents:
> - sorted 8.11.0
> - index 8.0.0 nocfs
>
> I checked the src.tgz file, I was only a bit confused about the
> "pax_global_header" file, looks as if it contains the commit hash. What's this?
>
> There is a minor issue: When opening the documentation folder, the path of
> luke startup scripts is wrong:
> Luke - Lucene Toolbox GUI tool: A Swing app for browsing documents, indexed
> terms and posting lists, searching an index, and so on. Type "/path/to/lucene-
> 9.0.0/luke/luke.{sh|bat}" to launch Luke. (we should commit a fix to index.md
> file in documentation sources)

I fixed the documentation typo in main und branch_9x.

> +1 to release
>
> Uwe
>
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> https://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: Adrien Grand <jpountz@gmail.com>
> > Sent: Friday, November 26, 2021 3:31 PM
> > To: Lucene Dev <dev@lucene.apache.org>
> > Subject: [VOTE] Release Lucene 9.0.0 RC3
> >
> > Please vote for release candidate 3 for Lucene 9.0.0.
> >
> > The artifacts can be downloaded from:
> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > You can run the smoke tester directly with this command:
> >
> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > The vote will be open until 2021-11-30 9:00 UTC.
> >
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove (and reason why)
> >
> > Here is my +1.
> >
> > --
> > Adrien
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
>
> I checked the src.tgz file, I was only a bit confused about the
> "pax_global_header" file, looks as if it contains the commit hash. What's
> this?
>

Seems like a file created by git export -

Kernel tar-archives created by git contain an extended header with the git
commit ID that was used to generate the tar-tree. If your tar is older
than 1.14 then this extended header will be extracted as a regular file
called pax_global_header. Patches should never be generated against this
file, so it should be listed in dontdiff.
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
I found that out, too.

Wasn't the src.tgz not created by Gradle? Was it done by using the git command line inside the release wizard?

I used 7zip on Windows to review file contents.

Uwe

Am 28. November 2021 08:29:55 UTC schrieb Dawid Weiss <dawid.weiss@gmail.com>:
>>
>> I checked the src.tgz file, I was only a bit confused about the
>> "pax_global_header" file, looks as if it contains the commit hash. What's
>> this?
>>
>
>Seems like a file created by git export -
>
>Kernel tar-archives created by git contain an extended header with the git
>commit ID that was used to generate the tar-tree. If your tar is older
>than 1.14 then this extended header will be extracted as a regular file
>called pax_global_header. Patches should never be generated against this
>file, so it should be listed in dontdiff.

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
>
>
> Wasn't the src.tgz not created by Gradle? Was it done by using the git
> command line inside the release wizard?
>

No - we use external git because it simplifies excludes/ includes (git will
only compress versioned files).
https://github.com/apache/lucene/blob/main/lucene/distribution/source-release.gradle


> I used 7zip on Windows to review file contents.
>

It's interesting because this file needs to be marked as ignored/excluded
somehow - I don't see it when I unpack the source archive with cygwin (or
total commander's plugin):

$ tar -ztvf lucene-9.0.0-src.tgz | grep "pax" | wc -l
0

D.

>
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
On Sun, Nov 28, 2021 at 5:15 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:
>>
>>
>> Wasn't the src.tgz not created by Gradle? Was it done by using the git command line inside the release wizard?
>
>
> No - we use external git because it simplifies excludes/ includes (git will only compress versioned files).
> https://github.com/apache/lucene/blob/main/lucene/distribution/source-release.gradle
>
>>
>> I used 7zip on Windows to review file contents.
>
>
> It's interesting because this file needs to be marked as ignored/excluded somehow - I don't see it when I unpack the source archive with cygwin (or total commander's plugin):
>
> $ tar -ztvf lucene-9.0.0-src.tgz | grep "pax" | wc -l
> 0
>
> D.

I see the same results on my linux system, no such file. Probably just
something strange about 7zip?

$ gzip -V
gzip 1.11
Copyright (C) 2018 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.
$ tar --version
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
https://sourceforge.net/p/sevenzip/bugs/2116/

Basically, it seems to me this 7zip doesn't support the posix pax
extensions used by lots of software (read the comments on the bug
report for an idea). So it treats them as ordinary tar files and
that's why Uwe sees these files.

On Sun, Nov 28, 2021 at 9:09 AM Robert Muir <rcmuir@gmail.com> wrote:
>
> On Sun, Nov 28, 2021 at 5:15 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:
> >>
> >>
> >> Wasn't the src.tgz not created by Gradle? Was it done by using the git command line inside the release wizard?
> >
> >
> > No - we use external git because it simplifies excludes/ includes (git will only compress versioned files).
> > https://github.com/apache/lucene/blob/main/lucene/distribution/source-release.gradle
> >
> >>
> >> I used 7zip on Windows to review file contents.
> >
> >
> > It's interesting because this file needs to be marked as ignored/excluded somehow - I don't see it when I unpack the source archive with cygwin (or total commander's plugin):
> >
> > $ tar -ztvf lucene-9.0.0-src.tgz | grep "pax" | wc -l
> > 0
> >
> > D.
>
> I see the same results on my linux system, no such file. Probably just
> something strange about 7zip?
>
> $ gzip -V
> gzip 1.11
> Copyright (C) 2018 Free Software Foundation, Inc.
> Copyright (C) 1993 Jean-loup Gailly.
> This is free software. You may redistribute copies of it under the terms of
> the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Jean-loup Gailly.
> $ tar --version
> tar (GNU tar) 1.34
> Copyright (C) 2021 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by John Gilmore and Jay Fenlason.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Thanks Robert!

This is of course not a problem, but 7zip is the defacto unzipper used on windows nowadays, so we should be prepared because of questions.

It's not an issue at all, the hidden file contains useful information (commit hash), so I don't care. I was more wondering why it was created from beginning, as the binary artifact doesn't have it. Dawid explained it (we create the archive with "git archive" command). All fine!

????

Uwe

Am 28. November 2021 14:30:18 UTC schrieb Robert Muir <rcmuir@gmail.com>:
>https://sourceforge.net/p/sevenzip/bugs/2116/
>
>Basically, it seems to me this 7zip doesn't support the posix pax
>extensions used by lots of software (read the comments on the bug
>report for an idea). So it treats them as ordinary tar files and
>that's why Uwe sees these files.
>
>On Sun, Nov 28, 2021 at 9:09 AM Robert Muir <rcmuir@gmail.com> wrote:
>>
>> On Sun, Nov 28, 2021 at 5:15 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:
>> >>
>> >>
>> >> Wasn't the src.tgz not created by Gradle? Was it done by using the git command line inside the release wizard?
>> >
>> >
>> > No - we use external git because it simplifies excludes/ includes (git will only compress versioned files).
>> > https://github.com/apache/lucene/blob/main/lucene/distribution/source-release.gradle
>> >
>> >>
>> >> I used 7zip on Windows to review file contents.
>> >
>> >
>> > It's interesting because this file needs to be marked as ignored/excluded somehow - I don't see it when I unpack the source archive with cygwin (or total commander's plugin):
>> >
>> > $ tar -ztvf lucene-9.0.0-src.tgz | grep "pax" | wc -l
>> > 0
>> >
>> > D.
>>
>> I see the same results on my linux system, no such file. Probably just
>> something strange about 7zip?
>>
>> $ gzip -V
>> gzip 1.11
>> Copyright (C) 2018 Free Software Foundation, Inc.
>> Copyright (C) 1993 Jean-loup Gailly.
>> This is free software. You may redistribute copies of it under the terms of
>> the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> Written by Jean-loup Gailly.
>> $ tar --version
>> tar (GNU tar) 1.34
>> Copyright (C) 2021 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> Written by John Gilmore and Jay Fenlason.

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
On Sun, Nov 28, 2021 at 11:12 AM Uwe Schindler <uwe@thetaphi.de> wrote:
>
> Thanks Robert!
>
> This is of course not a problem, but 7zip is the defacto unzipper used on windows nowadays, so we should be prepared because of questions.
>
> It's not an issue at all, the hidden file contains useful information (commit hash), so I don't care. I was more wondering why it was created from beginning, as the binary artifact doesn't have it. Dawid explained it (we create the archive with "git archive" command). All fine!
>
> ????
>

Yeah, I'm curious if we can 7-unzip the artifacts and compile them and
stuff? Does it cause conflicts/problems like it does for other
projects? E.G. if you extract it with 7zip, does it build and work? Is
that how you tested the RC?

If our minimal use of pax features just create an "unnecessary file",
then it is nothing to worry about. I really do like the "git" approach
because the previous ant build had complicated logic to basically
reproduce what git "already knows".

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
The pax file is only in the root of the tar file next to the folder named "lucene-9.0.0/".

This is why I have seen it. You open the tar file and it shows up next to the root folder, so it was impossible to ignore. Same after extraction.

Am 28. November 2021 20:58:52 UTC schrieb Robert Muir <rcmuir@gmail.com>:
>On Sun, Nov 28, 2021 at 11:12 AM Uwe Schindler <uwe@thetaphi.de> wrote:
>>
>> Thanks Robert!
>>
>> This is of course not a problem, but 7zip is the defacto unzipper used on windows nowadays, so we should be prepared because of questions.
>>
>> It's not an issue at all, the hidden file contains useful information (commit hash), so I don't care. I was more wondering why it was created from beginning, as the binary artifact doesn't have it. Dawid explained it (we create the archive with "git archive" command). All fine!
>>
>> ????
>>
>
>Yeah, I'm curious if we can 7-unzip the artifacts and compile them and
>stuff? Does it cause conflicts/problems like it does for other
>projects? E.G. if you extract it with 7zip, does it build and work? Is
>that how you tested the RC?
>
>If our minimal use of pax features just create an "unnecessary file",
>then it is nothing to worry about. I really do like the "git" approach
>because the previous ant build had complicated logic to basically
>reproduce what git "already knows".

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
RE: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
FYI,

looks like this:





I also tried to compile, test and assemble. All works. Only the src.tgz can’t be built from itsself, because the extracted folder is no git repository ????:



> Task :checkWorkingCopyClean

WARNING: Directory is not a valid git checkout (won't check dirty files): C:\Users\Uwe Schindler\Desktop\lucene-9.0.0



> Task :lucene:distribution:assembleSourceTgz FAILED

fatal: not a git repository (or any of the parent directories): .git



So all fine, unless you really, really want to have an infinite recursion building src.tgz from itsself. ????



Uwe



-----

Uwe Schindler

Achterdiek 19, D-28357 Bremen

https://www.thetaphi.de

eMail: uwe@thetaphi.de



From: Uwe Schindler <uwe@thetaphi.de>
Sent: Sunday, November 28, 2021 10:51 PM
To: Robert Muir <rcmuir@gmail.com>
Cc: dev@lucene.apache.org
Subject: Re: [VOTE] Release Lucene 9.0.0 RC3



The pax file is only in the root of the tar file next to the folder named "lucene-9.0.0/".

This is why I have seen it. You open the tar file and it shows up next to the root folder, so it was impossible to ignore. Same after extraction.

Am 28. November 2021 20:58:52 UTC schrieb Robert Muir <rcmuir@gmail.com <mailto:rcmuir@gmail.com> >:

On Sun, Nov 28, 2021 at 11:12 AM Uwe Schindler <uwe@thetaphi.de <mailto:uwe@thetaphi.de> > wrote:


Thanks Robert!

This is of course not a problem, but 7zip is the defacto unzipper used on windows nowadays, so we should be prepared because of questions.

It's not an issue at all, the hidden file contains useful information (commit hash), so I don't care. I was more wondering why it was created from beginning, as the binary artifact doesn't have it. Dawid explained it (we create the archive with "git archive" command). All fine!

????


Yeah, I'm curious if we can 7-unzip the artifacts and compile them and
stuff? Does it cause conflicts/problems like it does for other
projects? E.G. if you extract it with 7zip, does it build and work? Is
that how you tested the RC?

If our minimal use of pax features just create an "unnecessary file",
then it is nothing to worry about. I really do like the "git" approach
because the previous ant build had complicated logic to basically
reproduce what git "already knows".

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
On Sun, Nov 28, 2021 at 6:24 PM Uwe Schindler <uwe@thetaphi.de> wrote:

> FYI,
>
> looks like this:
>
>
>
> I also tried to compile, test and assemble. All works. Only the src.tgz
> can’t be built from itsself, because the extracted folder is no git
> repository ????:
>
>
>
> > Task :checkWorkingCopyClean
>
> WARNING: Directory is not a valid git checkout (won't check dirty files):
> C:\Users\Uwe Schindler\Desktop\lucene-9.0.0
>
>
>
> > Task :lucene:distribution:assembleSourceTgz FAILED
>
> fatal: not a git repository (or any of the parent directories): .git
>
>
>
> So all fine, unless you really, really want to have an infinite recursion
> building src.tgz from itsself. ????
>
>
>
> Uwe
>
>
>

Well I'm fine with adding some note that 7z isn't recommended due to this
bug, but it seems the extra file from this non-POSIX-compliant tool is
harmless, so I don't think it is worth the confusion.

Also fine with some note that, if you want to fork lucene and make your own
source release, you can use our packaging build infrastructure, but you
need to git clone. We are giving you a source release, not a git clone
(shallow or deep). If you want to fork and make your own customized source
releases, use git to clone. It will probably be easier on you in the long
run to use version control for your fork, because then you can merge
upstream changes too.
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
> Also fine with some note that, if you want to fork lucene and make your
> own source release, you can use our packaging build infrastructure, but you
> need to git clone. We are giving you a source release, not a git clone
> (shallow or deep). If you want to fork and make your own customized source
> releases, use git to clone. It will probably be easier on you in the long
> run to use version control for your fork, because then you can merge
> upstream changes too.
>

It's actually quite simple to make it compilable from sources by adding a
"fake" git hash stored with the source distribution - I played with it. In
the end, I decided the value of this is so marginal that it's not worth the
extra maintenance cost. The build itself still works (git version is set to
'unknown', as far as I remember) - it is the "distribution" targets that
fail and I'm fine with it.

Dawid
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
+1 SUCCESS! [0:22:43.58483]

On Sat, Nov 27, 2021 at 8:30 PM Robert Muir <rcmuir@gmail.com> wrote:
>
> +1
>
> (with --test-java17)
> SUCCESS! [0:26:01.193203]
>
> On Sat, Nov 27, 2021 at 8:40 AM Michael McCandless
> <lucene@mikemccandless.com> wrote:
> >
> > +1
> >
> > SUCCESS! [0:06:46.020662]
> >
> > What a crazy speedup to smoke tester!!
> >
> >
> >
> > Mike McCandless
> >
> > http://blog.mikemccandless.com
> >
> >
> > On Sat, Nov 27, 2021 at 3:42 AM Ignacio Vera <iverase@gmail.com> wrote:
> >>
> >> +1
> >>
> >> SUCCESS! [0:17:28.435474]
> >>
> >>
> >> On Sat, Nov 27, 2021 at 1:27 AM Jan Høydahl <jan.asf@cominvent.com> wrote:
> >>>
> >>> +1 SUCCESS! [0:23:41.775448]
> >>>
> >>> Only ran smoketester this time.
> >>>
> >>> Jan
> >>>
> >>> > 26. nov. 2021 kl. 15:31 skrev Adrien Grand <jpountz@gmail.com>:
> >>> >
> >>> > Please vote for release candidate 3 for Lucene 9.0.0.
> >>> >
> >>> > The artifacts can be downloaded from:
> >>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >>> >
> >>> > You can run the smoke tester directly with this command:
> >>> >
> >>> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >>> >
> >>> > The vote will be open until 2021-11-30 9:00 UTC.
> >>> >
> >>> > [ ] +1 approve
> >>> > [ ] +0 no opinion
> >>> > [ ] -1 disapprove (and reason why)
> >>> >
> >>> > Here is my +1.
> >>> >
> >>> > --
> >>> > Adrien
> >>> >
> >>> > ---------------------------------------------------------------------
> >>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >>> > For additional commands, e-mail: dev-help@lucene.apache.org
> >>> >
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >>> For additional commands, e-mail: dev-help@lucene.apache.org
> >>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>


--
Regards,

Atri
Apache Concerted

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
SUCCESS! [0:17:23.949074]

+1.

D.

On Fri, Nov 26, 2021 at 3:31 PM Adrien Grand <jpountz@gmail.com> wrote:
>
> Please vote for release candidate 3 for Lucene 9.0.0.
>
> The artifacts can be downloaded from:
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> You can run the smoke tester directly with this command:
>
> python3 -u dev-tools/scripts/smokeTestRelease.py \
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> The vote will be open until 2021-11-30 9:00 UTC.
>
> [ ] +1 approve
> [ ] +0 no opinion
> [ ] -1 disapprove (and reason why)
>
> Here is my +1.
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Seems to me the details for how to turn a src tarball into something that
can be compiled should go in a BUILDING.txt file?

On Mon, Nov 29, 2021 at 3:00 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:

> SUCCESS! [0:17:23.949074]
>
> +1.
>
> D.
>
> On Fri, Nov 26, 2021 at 3:31 PM Adrien Grand <jpountz@gmail.com> wrote:
> >
> > Please vote for release candidate 3 for Lucene 9.0.0.
> >
> > The artifacts can be downloaded from:
> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > You can run the smoke tester directly with this command:
> >
> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >
> > The vote will be open until 2021-11-30 9:00 UTC.
> >
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove (and reason why)
> >
> > Here is my +1.
> >
> > --
> > Adrien
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

--
http://www.needhamsoftware.com (work)
http://www.the111shift.com (play)
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
I don't think it's a showstopper. This applies to any 9x branch -
perhaps starting from main. We can extract these instructions into a
separate document. On the other hand, it wouldn't be shown up there on
github front-page then... and times have changed - this is where most
folks would probably end up reading the instructions, not the source
bundle?

D.

On Mon, Nov 29, 2021 at 1:01 PM Gus Heck <gus.heck@gmail.com> wrote:
>
> Seems to me the details for how to turn a src tarball into something that can be compiled should go in a BUILDING.txt file?
>
> On Mon, Nov 29, 2021 at 3:00 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:
>>
>> SUCCESS! [0:17:23.949074]
>>
>> +1.
>>
>> D.
>>
>> On Fri, Nov 26, 2021 at 3:31 PM Adrien Grand <jpountz@gmail.com> wrote:
>> >
>> > Please vote for release candidate 3 for Lucene 9.0.0.
>> >
>> > The artifacts can be downloaded from:
>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>> >
>> > You can run the smoke tester directly with this command:
>> >
>> > python3 -u dev-tools/scripts/smokeTestRelease.py \
>> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-1ddce848cf3d5067efcafc6569d5f8203e56af0b
>> >
>> > The vote will be open until 2021-11-30 9:00 UTC.
>> >
>> > [ ] +1 approve
>> > [ ] +0 no opinion
>> > [ ] -1 disapprove (and reason why)
>> >
>> > Here is my +1.
>> >
>> > --
>> > Adrien
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: dev-help@lucene.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
>
> --
> http://www.needhamsoftware.com (work)
> http://www.the111shift.com (play)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Hi,

The same applies for the historical time. It was never possible to do a full release with only the source tarball.

The only thing that does not work is: assembleSourceRelease, because it requires "git archive" to build the src.tgz. But why should anybody do this? You have a src.tgz already why create another one from itsself?

You can create a binary release without problems (at least that worked yesterday), it will just not have a git hash in the metadata of JAR files (and so on). But the version number is always "SNAPSHOT" unless you define your own (we do this to prevent "unauthorized artifacts created accidentally). If somebody wants to release a custom Lucene with patches, one can pass -Dversion.suffix="Ubuntu20.04-foobar" to make a customized release.

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Dawid Weiss <dawid.weiss@gmail.com>
> Sent: Monday, November 29, 2021 1:33 PM
> To: Lucene Dev <dev@lucene.apache.org>
> Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
>
> I don't think it's a showstopper. This applies to any 9x branch -
> perhaps starting from main. We can extract these instructions into a
> separate document. On the other hand, it wouldn't be shown up there on
> github front-page then... and times have changed - this is where most
> folks would probably end up reading the instructions, not the source
> bundle?
>
> D.
>
> On Mon, Nov 29, 2021 at 1:01 PM Gus Heck <gus.heck@gmail.com> wrote:
> >
> > Seems to me the details for how to turn a src tarball into something that can
> be compiled should go in a BUILDING.txt file?
> >
> > On Mon, Nov 29, 2021 at 3:00 AM Dawid Weiss <dawid.weiss@gmail.com>
> wrote:
> >>
> >> SUCCESS! [0:17:23.949074]
> >>
> >> +1.
> >>
> >> D.
> >>
> >> On Fri, Nov 26, 2021 at 3:31 PM Adrien Grand <jpountz@gmail.com> wrote:
> >> >
> >> > Please vote for release candidate 3 for Lucene 9.0.0.
> >> >
> >> > The artifacts can be downloaded from:
> >> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >> >
> >> > You can run the smoke tester directly with this command:
> >> >
> >> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >> >
> >> > The vote will be open until 2021-11-30 9:00 UTC.
> >> >
> >> > [ ] +1 approve
> >> > [ ] +0 no opinion
> >> > [ ] -1 disapprove (and reason why)
> >> >
> >> > Here is my +1.
> >> >
> >> > --
> >> > Adrien
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: dev-help@lucene.apache.org
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: dev-help@lucene.apache.org
> >>
> >
> >
> > --
> > http://www.needhamsoftware.com (work)
> > http://www.the111shift.com (play)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Not suggesting it's a show stopper, just that this would be an easily found
and consumed way to document the information revealed in this discussion.

On Mon, Nov 29, 2021 at 8:13 AM Uwe Schindler <uwe@thetaphi.de> wrote:

> Hi,
>
> The same applies for the historical time. It was never possible to do a
> full release with only the source tarball.
>
> The only thing that does not work is: assembleSourceRelease, because it
> requires "git archive" to build the src.tgz. But why should anybody do
> this? You have a src.tgz already why create another one from itsself?
>
> You can create a binary release without problems (at least that worked
> yesterday), it will just not have a git hash in the metadata of JAR files
> (and so on). But the version number is always "SNAPSHOT" unless you define
> your own (we do this to prevent "unauthorized artifacts created
> accidentally). If somebody wants to release a custom Lucene with patches,
> one can pass -Dversion.suffix="Ubuntu20.04-foobar" to make a customized
> release.
>
> Uwe
>
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> https://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: Dawid Weiss <dawid.weiss@gmail.com>
> > Sent: Monday, November 29, 2021 1:33 PM
> > To: Lucene Dev <dev@lucene.apache.org>
> > Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
> >
> > I don't think it's a showstopper. This applies to any 9x branch -
> > perhaps starting from main. We can extract these instructions into a
> > separate document. On the other hand, it wouldn't be shown up there on
> > github front-page then... and times have changed - this is where most
> > folks would probably end up reading the instructions, not the source
> > bundle?
> >
> > D.
> >
> > On Mon, Nov 29, 2021 at 1:01 PM Gus Heck <gus.heck@gmail.com> wrote:
> > >
> > > Seems to me the details for how to turn a src tarball into something
> that can
> > be compiled should go in a BUILDING.txt file?
> > >
> > > On Mon, Nov 29, 2021 at 3:00 AM Dawid Weiss <dawid.weiss@gmail.com>
> > wrote:
> > >>
> > >> SUCCESS! [0:17:23.949074]
> > >>
> > >> +1.
> > >>
> > >> D.
> > >>
> > >> On Fri, Nov 26, 2021 at 3:31 PM Adrien Grand <jpountz@gmail.com>
> wrote:
> > >> >
> > >> > Please vote for release candidate 3 for Lucene 9.0.0.
> > >> >
> > >> > The artifacts can be downloaded from:
> > >> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> > >> >
> > >> > You can run the smoke tester directly with this command:
> > >> >
> > >> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> > >> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> > >> >
> > >> > The vote will be open until 2021-11-30 9:00 UTC.
> > >> >
> > >> > [ ] +1 approve
> > >> > [ ] +0 no opinion
> > >> > [ ] -1 disapprove (and reason why)
> > >> >
> > >> > Here is my +1.
> > >> >
> > >> > --
> > >> > Adrien
> > >> >
> > >> >
> ---------------------------------------------------------------------
> > >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > >> > For additional commands, e-mail: dev-help@lucene.apache.org
> > >> >
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > >> For additional commands, e-mail: dev-help@lucene.apache.org
> > >>
> > >
> > >
> > > --
> > > http://www.needhamsoftware.com (work)
> > > http://www.the111shift.com (play)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

--
http://www.needhamsoftware.com (work)
http://www.the111shift.com (play)
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
The basic build steps are included in the readme, Gus -
https://github.com/apache/lucene/#building-with-gradle

Is your comment about moving it to a separate file or about the
instructions to build the package in general? If it's the latter then
I think it's fine?

Dawid

On Mon, Nov 29, 2021 at 2:16 PM Gus Heck <gus.heck@gmail.com> wrote:
>
> Not suggesting it's a show stopper, just that this would be an easily found and consumed way to document the information revealed in this discussion.
>
> On Mon, Nov 29, 2021 at 8:13 AM Uwe Schindler <uwe@thetaphi.de> wrote:
>>
>> Hi,
>>
>> The same applies for the historical time. It was never possible to do a full release with only the source tarball.
>>
>> The only thing that does not work is: assembleSourceRelease, because it requires "git archive" to build the src.tgz. But why should anybody do this? You have a src.tgz already why create another one from itsself?
>>
>> You can create a binary release without problems (at least that worked yesterday), it will just not have a git hash in the metadata of JAR files (and so on). But the version number is always "SNAPSHOT" unless you define your own (we do this to prevent "unauthorized artifacts created accidentally). If somebody wants to release a custom Lucene with patches, one can pass -Dversion.suffix="Ubuntu20.04-foobar" to make a customized release.
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> Achterdiek 19, D-28357 Bremen
>> https://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>> > -----Original Message-----
>> > From: Dawid Weiss <dawid.weiss@gmail.com>
>> > Sent: Monday, November 29, 2021 1:33 PM
>> > To: Lucene Dev <dev@lucene.apache.org>
>> > Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
>> >
>> > I don't think it's a showstopper. This applies to any 9x branch -
>> > perhaps starting from main. We can extract these instructions into a
>> > separate document. On the other hand, it wouldn't be shown up there on
>> > github front-page then... and times have changed - this is where most
>> > folks would probably end up reading the instructions, not the source
>> > bundle?
>> >
>> > D.
>> >
>> > On Mon, Nov 29, 2021 at 1:01 PM Gus Heck <gus.heck@gmail.com> wrote:
>> > >
>> > > Seems to me the details for how to turn a src tarball into something that can
>> > be compiled should go in a BUILDING.txt file?
>> > >
>> > > On Mon, Nov 29, 2021 at 3:00 AM Dawid Weiss <dawid.weiss@gmail.com>
>> > wrote:
>> > >>
>> > >> SUCCESS! [0:17:23.949074]
>> > >>
>> > >> +1.
>> > >>
>> > >> D.
>> > >>
>> > >> On Fri, Nov 26, 2021 at 3:31 PM Adrien Grand <jpountz@gmail.com> wrote:
>> > >> >
>> > >> > Please vote for release candidate 3 for Lucene 9.0.0.
>> > >> >
>> > >> > The artifacts can be downloaded from:
>> > >> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
>> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
>> > >> >
>> > >> > You can run the smoke tester directly with this command:
>> > >> >
>> > >> > python3 -u dev-tools/scripts/smokeTestRelease.py \
>> > >> > https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
>> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
>> > >> >
>> > >> > The vote will be open until 2021-11-30 9:00 UTC.
>> > >> >
>> > >> > [ ] +1 approve
>> > >> > [ ] +0 no opinion
>> > >> > [ ] -1 disapprove (and reason why)
>> > >> >
>> > >> > Here is my +1.
>> > >> >
>> > >> > --
>> > >> > Adrien
>> > >> >
>> > >> > ---------------------------------------------------------------------
>> > >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > >> > For additional commands, e-mail: dev-help@lucene.apache.org
>> > >> >
>> > >>
>> > >> ---------------------------------------------------------------------
>> > >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > >> For additional commands, e-mail: dev-help@lucene.apache.org
>> > >>
>> > >
>> > >
>> > > --
>> > > http://www.needhamsoftware.com (work)
>> > > http://www.the111shift.com (play)
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
>
> --
> http://www.needhamsoftware.com (work)
> http://www.the111shift.com (play)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Re-reading I think I misunderstood. I thought somewhere it was said that
git repo was needed to build which I would consider important, but I guess
that was just re-building the src tarball itself that required it.

If the existing src tarball is sufficient to produce a working server based
solely on instructions in the README.md I have no further concerns.

On Mon, Nov 29, 2021 at 11:03 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:

> The basic build steps are included in the readme, Gus -
> https://github.com/apache/lucene/#building-with-gradle
>
> Is your comment about moving it to a separate file or about the
> instructions to build the package in general? If it's the latter then
> I think it's fine?
>
> Dawid
>
> On Mon, Nov 29, 2021 at 2:16 PM Gus Heck <gus.heck@gmail.com> wrote:
> >
> > Not suggesting it's a show stopper, just that this would be an easily
> found and consumed way to document the information revealed in this
> discussion.
> >
> > On Mon, Nov 29, 2021 at 8:13 AM Uwe Schindler <uwe@thetaphi.de> wrote:
> >>
> >> Hi,
> >>
> >> The same applies for the historical time. It was never possible to do a
> full release with only the source tarball.
> >>
> >> The only thing that does not work is: assembleSourceRelease, because it
> requires "git archive" to build the src.tgz. But why should anybody do
> this? You have a src.tgz already why create another one from itsself?
> >>
> >> You can create a binary release without problems (at least that worked
> yesterday), it will just not have a git hash in the metadata of JAR files
> (and so on). But the version number is always "SNAPSHOT" unless you define
> your own (we do this to prevent "unauthorized artifacts created
> accidentally). If somebody wants to release a custom Lucene with patches,
> one can pass -Dversion.suffix="Ubuntu20.04-foobar" to make a customized
> release.
> >>
> >> Uwe
> >>
> >> -----
> >> Uwe Schindler
> >> Achterdiek 19, D-28357 Bremen
> >> https://www.thetaphi.de
> >> eMail: uwe@thetaphi.de
> >>
> >> > -----Original Message-----
> >> > From: Dawid Weiss <dawid.weiss@gmail.com>
> >> > Sent: Monday, November 29, 2021 1:33 PM
> >> > To: Lucene Dev <dev@lucene.apache.org>
> >> > Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
> >> >
> >> > I don't think it's a showstopper. This applies to any 9x branch -
> >> > perhaps starting from main. We can extract these instructions into a
> >> > separate document. On the other hand, it wouldn't be shown up there on
> >> > github front-page then... and times have changed - this is where most
> >> > folks would probably end up reading the instructions, not the source
> >> > bundle?
> >> >
> >> > D.
> >> >
> >> > On Mon, Nov 29, 2021 at 1:01 PM Gus Heck <gus.heck@gmail.com> wrote:
> >> > >
> >> > > Seems to me the details for how to turn a src tarball into
> something that can
> >> > be compiled should go in a BUILDING.txt file?
> >> > >
> >> > > On Mon, Nov 29, 2021 at 3:00 AM Dawid Weiss <dawid.weiss@gmail.com>
> >> > wrote:
> >> > >>
> >> > >> SUCCESS! [0:17:23.949074]
> >> > >>
> >> > >> +1.
> >> > >>
> >> > >> D.
> >> > >>
> >> > >> On Fri, Nov 26, 2021 at 3:31 PM Adrien Grand <jpountz@gmail.com>
> wrote:
> >> > >> >
> >> > >> > Please vote for release candidate 3 for Lucene 9.0.0.
> >> > >> >
> >> > >> > The artifacts can be downloaded from:
> >> > >> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> >> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >> > >> >
> >> > >> > You can run the smoke tester directly with this command:
> >> > >> >
> >> > >> > python3 -u dev-tools/scripts/smokeTestRelease.py \
> >> > >> >
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> >> > 1ddce848cf3d5067efcafc6569d5f8203e56af0b
> >> > >> >
> >> > >> > The vote will be open until 2021-11-30 9:00 UTC.
> >> > >> >
> >> > >> > [ ] +1 approve
> >> > >> > [ ] +0 no opinion
> >> > >> > [ ] -1 disapprove (and reason why)
> >> > >> >
> >> > >> > Here is my +1.
> >> > >> >
> >> > >> > --
> >> > >> > Adrien
> >> > >> >
> >> > >> >
> ---------------------------------------------------------------------
> >> > >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> > >> > For additional commands, e-mail: dev-help@lucene.apache.org
> >> > >> >
> >> > >>
> >> > >>
> ---------------------------------------------------------------------
> >> > >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> > >> For additional commands, e-mail: dev-help@lucene.apache.org
> >> > >>
> >> > >
> >> > >
> >> > > --
> >> > > http://www.needhamsoftware.com (work)
> >> > > http://www.the111shift.com (play)
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: dev-help@lucene.apache.org
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: dev-help@lucene.apache.org
> >>
> >
> >
> > --
> > http://www.needhamsoftware.com (work)
> > http://www.the111shift.com (play)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

--
http://www.needhamsoftware.com (work)
http://www.the111shift.com (play)
RE: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Hi,

there's one thing which was done without a public announcement (at least not public like "here on mailing list". In one of the commits regarding to Luke, there was made the decision to assign a Java 9 Jigsaw module name to all JAR files. I did not notice this because it was somehow hidden.

There were already lengthy discussions on Maven and OpenJDK mailing list on "how to name a module". If you define a module name though "automatic-module-name" in the JAR manifest or by an explicit module-info.java (see https://issues.apache.org/jira/browse/LUCENE-10255, which is draft) the module name must be well thought. Christian Stein (Member of the OpenJDK group and also Junit committer, also well involved in development of Apache Maven) wrote some blog post about how a module name should look like, so any code downstream can import it into their own modules. The names must be valid Java identifiers: https://sormuras.github.io/blog/2019-08-04-maven-coordinates-and-java-module-names.html

It concludes this very well:
- The Java module name should have the Maven Group ID as prefix, followed by "." and then a local module descriptor. E.g., "org.apache.lucene.core"
- The prefix of exported package names inside each module *should* be prefixed by the module name (we can't do this foe Lucene, but we should at least share the same prefix: "org.apache.lucene").
- The version name inside the module should follow module system syntax (so at least "9.0.0", no prefix/suffix => parseable by ModuleDescriptor.Version)

Unfortunately I only noticed this too late (because of Luke Dawid and Tomoko added automatic module names), so I would like to revoke my +1 vote for the release. I'd really like to make a decision with the whole committers about the official module names as written to JAR files, because they affect how Java 11 users will have to import the Lucene modules in their builds (if they use the Java Module System). The Module names should either be a metadata property for each Gradle module (like the Maven coordinate in each build.gradle) or we should add module-info.java now (which is impossible, will come later). At least it should NOT be some regex replace on the Gradle project path.

Current module name of lucene-core.jar is "lucene.core", which does not conform to any standard like we do for package names. Don't come with "In the JDK you java modules named "java.base": This is a different story. You also have a package name "java.lang". Same for modules named "jdk." (with package names "jdk.") This is because that's the root of Java and the "java" and "jdk" names are reserved in the spec. But any third party module should be following the above rules and use reverse domain names (like suggested in older versions of the Java Language Spec, nowadays it just says "globally unique"). "lucene" is not globally unique. And our packages in the source code are also named "org.apache.lucene".

Here is a statistic of module names used on Maven by different artifacts: https://github.com/sormuras/modules/blob/main/doc/Top1000-2020.txt.md

For my arguments see the discussion here (comments following this one): <https://issues.apache.org/jira/browse/LUCENE-10255?focusedCommentId=17450327&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17450327>

In short:
-1 to release before we have valid and explicitely declared module names (or remove the Automatic Module Manifest at all until we have a decission)

My proposal is to do the following before release:

In every build.gradle file define the module name explicit using an ext property for the "Automatic Module Name" JAR manifest, don't use regex replace on the filesystem path of the gradle build. Use fully qualified names according the Apache wide rule for Maven artifacts and Java packages. The current gradle code would cause a backwards break for Java module system users (e.g., Elasticsearch as far as I have figured out from following their discussions about converting to module system): If you remove the "lucene/" directory from the gradle build, the module name changes. This is not acceptable!

Later for 9.x replace the automatic module name by a real module-info.java (see above PR).

Sorry,
Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Adrien Grand <jpountz@gmail.com>
> Sent: Friday, November 26, 2021 3:31 PM
> To: Lucene Dev <dev@lucene.apache.org>
> Subject: [VOTE] Release Lucene 9.0.0 RC3
>
> Please vote for release candidate 3 for Lucene 9.0.0.
>
> The artifacts can be downloaded from:
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> 1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> You can run the smoke tester directly with this command:
>
> python3 -u dev-tools/scripts/smokeTestRelease.py \
> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.0.0-RC3-rev-
> 1ddce848cf3d5067efcafc6569d5f8203e56af0b
>
> The vote will be open until 2021-11-30 9:00 UTC.
>
> [ ] +1 approve
> [ ] +0 no opinion
> [ ] -1 disapprove (and reason why)
>
> Here is my +1.
>
> --
> Adrien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Dear Uwe,

> I did not notice this because it was somehow hidden.

It was not hidden, Uwe. It was right there in the issue that
introduced it, along with a comment that it was a deliberate decision
(mine).

> In every build.gradle file define the module name explicit using an ext property for the "Automatic Module Name" JAR manifest, don't use regex replace on the filesystem path of the gradle build.

I disagree with you - convention over configuration. If you derive the
module name from the project path, it's simpler and easier to use. And
nothing will break -- if you change the layout of folders, you'd break
compilation and you'd have to alter the naming convention in that
(one!) place as well. The simpler it is, the better. I would even
insist on renaming module folders to what the package structure
already uses (underscore instead of the dash) so that it's consistent
everywhere.

> If you remove the "lucene/" directory from the gradle build, the module name changes. This is not acceptable!

If you do that, everything will break and you'd have to change a lot
more than just module names...

I'll provide a patch adding org.apache. prefix but I don't agree on
scattering module names in each and every module - this is irrelevant
and unnecessary duplication of what can be done in a simple way (and
we already do it for JAR names, Maven artifacts, etc...).

D.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Here is the change adding the 'org.apache.*' prefix, Uwe:
https://github.com/apache/lucene/pull/487

I verified that Luke starts in the rebuilt distribution and that
module names show org.apache.* prefixes. Dashes are not allowed in
modules so Lucene artifacts using them (spatial-extras,
test-framework, backward-codecs) use an underscore in place of the
dash.

Dawid

On Mon, Nov 29, 2021 at 7:23 PM Dawid Weiss <dawid.weiss@gmail.com> wrote:
>
> Dear Uwe,
>
> > I did not notice this because it was somehow hidden.
>
> It was not hidden, Uwe. It was right there in the issue that
> introduced it, along with a comment that it was a deliberate decision
> (mine).
>
> > In every build.gradle file define the module name explicit using an ext property for the "Automatic Module Name" JAR manifest, don't use regex replace on the filesystem path of the gradle build.
>
> I disagree with you - convention over configuration. If you derive the
> module name from the project path, it's simpler and easier to use. And
> nothing will break -- if you change the layout of folders, you'd break
> compilation and you'd have to alter the naming convention in that
> (one!) place as well. The simpler it is, the better. I would even
> insist on renaming module folders to what the package structure
> already uses (underscore instead of the dash) so that it's consistent
> everywhere.
>
> > If you remove the "lucene/" directory from the gradle build, the module name changes. This is not acceptable!
>
> If you do that, everything will break and you'd have to change a lot
> more than just module names...
>
> I'll provide a patch adding org.apache. prefix but I don't agree on
> scattering module names in each and every module - this is irrelevant
> and unnecessary duplication of what can be done in a simple way (and
> we already do it for JAR names, Maven artifacts, etc...).
>
> D.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
> > In every build.gradle file define the module name explicit using an ext
> property for the "Automatic Module Name" JAR manifest, don't use regex
> replace on the filesystem path of the gradle build.
>
> I disagree with you - convention over configuration. If you derive the
> module name from the project path, it's simpler and easier to use. And
> nothing will break -- if you change the layout of folders, you'd break
> compilation and you'd have to alter the naming convention in that
> (one!) place as well. The simpler it is, the better. I would even
> insist on renaming module folders to what the package structure
> already uses (underscore instead of the dash) so that it's consistent
> everywhere.

At some point we have to hardcode them into the module-info.java.

But OK, it is fine, if we do it like that:
https://github.com/apache/lucene/blob/main/gradle/maven/publications-maven.gradle#L59-L60

I don't think we need the "archivesBaseName", because this repeats "lucene" prefix, but the project name and project group should be appended with "." and al dashes replaced by "_".

Uwe


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
Hi,

Dawid and I changed the gradle build to change the module names to be according to above. With the new gradle task the automatically assigned module names from the gradle projects are now:

> Task :showModuleNames
lucene-benchmark-10.0.0-SNAPSHOT.jar -> org.apache.lucene.benchmark
lucene-backward-codecs-10.0.0-SNAPSHOT.jar -> org.apache.lucene.backward_codecs
lucene-classification-10.0.0-SNAPSHOT.jar -> org.apache.lucene.classification
lucene-codecs-10.0.0-SNAPSHOT.jar -> org.apache.lucene.codecs
lucene-core-10.0.0-SNAPSHOT.jar -> org.apache.lucene.core
lucene-demo-10.0.0-SNAPSHOT.jar -> org.apache.lucene.demo
lucene-expressions-10.0.0-SNAPSHOT.jar -> org.apache.lucene.expressions
lucene-facet-10.0.0-SNAPSHOT.jar -> org.apache.lucene.facet
lucene-grouping-10.0.0-SNAPSHOT.jar -> org.apache.lucene.grouping
lucene-highlighter-10.0.0-SNAPSHOT.jar -> org.apache.lucene.highlighter
lucene-join-10.0.0-SNAPSHOT.jar -> org.apache.lucene.join
lucene-luke-10.0.0-SNAPSHOT.jar -> org.apache.lucene.luke
lucene-memory-10.0.0-SNAPSHOT.jar -> org.apache.lucene.memory
lucene-misc-10.0.0-SNAPSHOT.jar -> org.apache.lucene.misc
lucene-monitor-10.0.0-SNAPSHOT.jar -> org.apache.lucene.monitor
lucene-queries-10.0.0-SNAPSHOT.jar -> org.apache.lucene.queries
lucene-queryparser-10.0.0-SNAPSHOT.jar -> org.apache.lucene.queryparser
lucene-replicator-10.0.0-SNAPSHOT.jar -> org.apache.lucene.replicator
lucene-sandbox-10.0.0-SNAPSHOT.jar -> org.apache.lucene.sandbox
lucene-spatial-extras-10.0.0-SNAPSHOT.jar -> org.apache.lucene.spatial_extras
lucene-spatial3d-10.0.0-SNAPSHOT.jar -> org.apache.lucene.spatial3d
lucene-suggest-10.0.0-SNAPSHOT.jar -> org.apache.lucene.suggest
lucene-test-framework-10.0.0-SNAPSHOT.jar -> org.apache.lucene.test_framework
lucene-analysis-common-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.common
lucene-analysis-icu-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.icu
lucene-analysis-kuromoji-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.kuromoji
lucene-analysis-morfologik-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.morfologik
lucene-analysis-nori-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.nori
lucene-analysis-opennlp-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.opennlp
lucene-analysis-phonetic-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.phonetic
lucene-analysis-smartcn-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.smartcn
lucene-analysis-stempel-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.stempel

The module names on the right can now be used in Java source code to refer in Java 11 to the module. Those are now "automatic module names" (because the lucene behind is not completely modularized). In later Lucene 9.x versions we will add full module support and only expose APIs for external consumption and hide all internal lucene packages.

The 9.0 relese should make sure that the module names are at least "defined", so we can use them later in module-info.java,

Should I send a vote thread about this to the mailing list separately?

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Dawid Weiss <dawid.weiss@gmail.com>
> Sent: Monday, November 29, 2021 7:36 PM
> To: Lucene Dev <dev@lucene.apache.org>
> Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
>
> Here is the change adding the 'org.apache.*' prefix, Uwe:
> https://github.com/apache/lucene/pull/487
>
> I verified that Luke starts in the rebuilt distribution and that
> module names show org.apache.* prefixes. Dashes are not allowed in
> modules so Lucene artifacts using them (spatial-extras,
> test-framework, backward-codecs) use an underscore in place of the
> dash.
>
> Dawid
>
> On Mon, Nov 29, 2021 at 7:23 PM Dawid Weiss <dawid.weiss@gmail.com>
> wrote:
> >
> > Dear Uwe,
> >
> > > I did not notice this because it was somehow hidden.
> >
> > It was not hidden, Uwe. It was right there in the issue that
> > introduced it, along with a comment that it was a deliberate decision
> > (mine).
> >
> > > In every build.gradle file define the module name explicit using an ext
> property for the "Automatic Module Name" JAR manifest, don't use regex
> replace on the filesystem path of the gradle build.
> >
> > I disagree with you - convention over configuration. If you derive the
> > module name from the project path, it's simpler and easier to use. And
> > nothing will break -- if you change the layout of folders, you'd break
> > compilation and you'd have to alter the naming convention in that
> > (one!) place as well. The simpler it is, the better. I would even
> > insist on renaming module folders to what the package structure
> > already uses (underscore instead of the dash) so that it's consistent
> > everywhere.
> >
> > > If you remove the "lucene/" directory from the gradle build, the module
> name changes. This is not acceptable!
> >
> > If you do that, everything will break and you'd have to change a lot
> > more than just module names...
> >
> > I'll provide a patch adding org.apache. prefix but I don't agree on
> > scattering module names in each and every module - this is irrelevant
> > and unnecessary duplication of what can be done in a simple way (and
> > we already do it for JAR names, Maven artifacts, etc...).
> >
> > D.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
You could send a heads up to dev@ to make this more visible but I don't
think we need a vote.

Thanks Uwe and Dawid for taking care of this.

Le lun. 29 nov. 2021 à 22:25, Uwe Schindler <uwe@thetaphi.de> a écrit :

> Hi,
>
> Dawid and I changed the gradle build to change the module names to be
> according to above. With the new gradle task the automatically assigned
> module names from the gradle projects are now:
>
> > Task :showModuleNames
> lucene-benchmark-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.benchmark
> lucene-backward-codecs-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.backward_codecs
> lucene-classification-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.classification
> lucene-codecs-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.codecs
> lucene-core-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.core
> lucene-demo-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.demo
> lucene-expressions-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.expressions
> lucene-facet-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.facet
> lucene-grouping-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.grouping
> lucene-highlighter-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.highlighter
> lucene-join-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.join
> lucene-luke-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.luke
> lucene-memory-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.memory
> lucene-misc-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.misc
> lucene-monitor-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.monitor
> lucene-queries-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.queries
> lucene-queryparser-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.queryparser
> lucene-replicator-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.replicator
> lucene-sandbox-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.sandbox
> lucene-spatial-extras-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.spatial_extras
> lucene-spatial3d-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.spatial3d
> lucene-suggest-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.suggest
> lucene-test-framework-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.test_framework
> lucene-analysis-common-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.common
> lucene-analysis-icu-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.icu
> lucene-analysis-kuromoji-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.kuromoji
> lucene-analysis-morfologik-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.morfologik
> lucene-analysis-nori-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.nori
> lucene-analysis-opennlp-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.opennlp
> lucene-analysis-phonetic-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.phonetic
> lucene-analysis-smartcn-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.smartcn
> lucene-analysis-stempel-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.stempel
>
> The module names on the right can now be used in Java source code to refer
> in Java 11 to the module. Those are now "automatic module names" (because
> the lucene behind is not completely modularized). In later Lucene 9.x
> versions we will add full module support and only expose APIs for external
> consumption and hide all internal lucene packages.
>
> The 9.0 relese should make sure that the module names are at least
> "defined", so we can use them later in module-info.java,
>
> Should I send a vote thread about this to the mailing list separately?
>
> Uwe
>
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> https://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: Dawid Weiss <dawid.weiss@gmail.com>
> > Sent: Monday, November 29, 2021 7:36 PM
> > To: Lucene Dev <dev@lucene.apache.org>
> > Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
> >
> > Here is the change adding the 'org.apache.*' prefix, Uwe:
> > https://github.com/apache/lucene/pull/487
> >
> > I verified that Luke starts in the rebuilt distribution and that
> > module names show org.apache.* prefixes. Dashes are not allowed in
> > modules so Lucene artifacts using them (spatial-extras,
> > test-framework, backward-codecs) use an underscore in place of the
> > dash.
> >
> > Dawid
> >
> > On Mon, Nov 29, 2021 at 7:23 PM Dawid Weiss <dawid.weiss@gmail.com>
> > wrote:
> > >
> > > Dear Uwe,
> > >
> > > > I did not notice this because it was somehow hidden.
> > >
> > > It was not hidden, Uwe. It was right there in the issue that
> > > introduced it, along with a comment that it was a deliberate decision
> > > (mine).
> > >
> > > > In every build.gradle file define the module name explicit using an
> ext
> > property for the "Automatic Module Name" JAR manifest, don't use regex
> > replace on the filesystem path of the gradle build.
> > >
> > > I disagree with you - convention over configuration. If you derive the
> > > module name from the project path, it's simpler and easier to use. And
> > > nothing will break -- if you change the layout of folders, you'd break
> > > compilation and you'd have to alter the naming convention in that
> > > (one!) place as well. The simpler it is, the better. I would even
> > > insist on renaming module folders to what the package structure
> > > already uses (underscore instead of the dash) so that it's consistent
> > > everywhere.
> > >
> > > > If you remove the "lucene/" directory from the gradle build, the
> module
> > name changes. This is not acceptable!
> > >
> > > If you do that, everything will break and you'd have to change a lot
> > > more than just module names...
> > >
> > > I'll provide a patch adding org.apache. prefix but I don't agree on
> > > scattering module names in each and every module - this is irrelevant
> > > and unnecessary duplication of what can be done in a simple way (and
> > > we already do it for JAR names, Maven artifacts, etc...).
> > >
> > > D.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
If we're going to respin, I'd like to propose we pick up the bug fix
in https://issues.apache.org/jira/browse/LUCENE-10232. I certainly
wouldn't respin just to get this fix, but if we're going to anyway, it
would be nice to grab it.

Here's a PR to do so if the group thinks it makes sense:
https://github.com/apache/lucene/pull/495

Cheers,
-Greg

On Mon, Nov 29, 2021 at 2:02 PM Adrien Grand <jpountz@gmail.com> wrote:
>
> You could send a heads up to dev@ to make this more visible but I don't think we need a vote.
>
> Thanks Uwe and Dawid for taking care of this.
>
> Le lun. 29 nov. 2021 à 22:25, Uwe Schindler <uwe@thetaphi.de> a écrit :
>>
>> Hi,
>>
>> Dawid and I changed the gradle build to change the module names to be according to above. With the new gradle task the automatically assigned module names from the gradle projects are now:
>>
>> > Task :showModuleNames
>> lucene-benchmark-10.0.0-SNAPSHOT.jar -> org.apache.lucene.benchmark
>> lucene-backward-codecs-10.0.0-SNAPSHOT.jar -> org.apache.lucene.backward_codecs
>> lucene-classification-10.0.0-SNAPSHOT.jar -> org.apache.lucene.classification
>> lucene-codecs-10.0.0-SNAPSHOT.jar -> org.apache.lucene.codecs
>> lucene-core-10.0.0-SNAPSHOT.jar -> org.apache.lucene.core
>> lucene-demo-10.0.0-SNAPSHOT.jar -> org.apache.lucene.demo
>> lucene-expressions-10.0.0-SNAPSHOT.jar -> org.apache.lucene.expressions
>> lucene-facet-10.0.0-SNAPSHOT.jar -> org.apache.lucene.facet
>> lucene-grouping-10.0.0-SNAPSHOT.jar -> org.apache.lucene.grouping
>> lucene-highlighter-10.0.0-SNAPSHOT.jar -> org.apache.lucene.highlighter
>> lucene-join-10.0.0-SNAPSHOT.jar -> org.apache.lucene.join
>> lucene-luke-10.0.0-SNAPSHOT.jar -> org.apache.lucene.luke
>> lucene-memory-10.0.0-SNAPSHOT.jar -> org.apache.lucene.memory
>> lucene-misc-10.0.0-SNAPSHOT.jar -> org.apache.lucene.misc
>> lucene-monitor-10.0.0-SNAPSHOT.jar -> org.apache.lucene.monitor
>> lucene-queries-10.0.0-SNAPSHOT.jar -> org.apache.lucene.queries
>> lucene-queryparser-10.0.0-SNAPSHOT.jar -> org.apache.lucene.queryparser
>> lucene-replicator-10.0.0-SNAPSHOT.jar -> org.apache.lucene.replicator
>> lucene-sandbox-10.0.0-SNAPSHOT.jar -> org.apache.lucene.sandbox
>> lucene-spatial-extras-10.0.0-SNAPSHOT.jar -> org.apache.lucene.spatial_extras
>> lucene-spatial3d-10.0.0-SNAPSHOT.jar -> org.apache.lucene.spatial3d
>> lucene-suggest-10.0.0-SNAPSHOT.jar -> org.apache.lucene.suggest
>> lucene-test-framework-10.0.0-SNAPSHOT.jar -> org.apache.lucene.test_framework
>> lucene-analysis-common-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.common
>> lucene-analysis-icu-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.icu
>> lucene-analysis-kuromoji-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.kuromoji
>> lucene-analysis-morfologik-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.morfologik
>> lucene-analysis-nori-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.nori
>> lucene-analysis-opennlp-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.opennlp
>> lucene-analysis-phonetic-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.phonetic
>> lucene-analysis-smartcn-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.smartcn
>> lucene-analysis-stempel-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.stempel
>>
>> The module names on the right can now be used in Java source code to refer in Java 11 to the module. Those are now "automatic module names" (because the lucene behind is not completely modularized). In later Lucene 9.x versions we will add full module support and only expose APIs for external consumption and hide all internal lucene packages.
>>
>> The 9.0 relese should make sure that the module names are at least "defined", so we can use them later in module-info.java,
>>
>> Should I send a vote thread about this to the mailing list separately?
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> Achterdiek 19, D-28357 Bremen
>> https://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>> > -----Original Message-----
>> > From: Dawid Weiss <dawid.weiss@gmail.com>
>> > Sent: Monday, November 29, 2021 7:36 PM
>> > To: Lucene Dev <dev@lucene.apache.org>
>> > Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
>> >
>> > Here is the change adding the 'org.apache.*' prefix, Uwe:
>> > https://github.com/apache/lucene/pull/487
>> >
>> > I verified that Luke starts in the rebuilt distribution and that
>> > module names show org.apache.* prefixes. Dashes are not allowed in
>> > modules so Lucene artifacts using them (spatial-extras,
>> > test-framework, backward-codecs) use an underscore in place of the
>> > dash.
>> >
>> > Dawid
>> >
>> > On Mon, Nov 29, 2021 at 7:23 PM Dawid Weiss <dawid.weiss@gmail.com>
>> > wrote:
>> > >
>> > > Dear Uwe,
>> > >
>> > > > I did not notice this because it was somehow hidden.
>> > >
>> > > It was not hidden, Uwe. It was right there in the issue that
>> > > introduced it, along with a comment that it was a deliberate decision
>> > > (mine).
>> > >
>> > > > In every build.gradle file define the module name explicit using an ext
>> > property for the "Automatic Module Name" JAR manifest, don't use regex
>> > replace on the filesystem path of the gradle build.
>> > >
>> > > I disagree with you - convention over configuration. If you derive the
>> > > module name from the project path, it's simpler and easier to use. And
>> > > nothing will break -- if you change the layout of folders, you'd break
>> > > compilation and you'd have to alter the naming convention in that
>> > > (one!) place as well. The simpler it is, the better. I would even
>> > > insist on renaming module folders to what the package structure
>> > > already uses (underscore instead of the dash) so that it's consistent
>> > > everywhere.
>> > >
>> > > > If you remove the "lucene/" directory from the gradle build, the module
>> > name changes. This is not acceptable!
>> > >
>> > > If you do that, everything will break and you'd have to change a lot
>> > > more than just module names...
>> > >
>> > > I'll provide a patch adding org.apache. prefix but I don't agree on
>> > > scattering module names in each and every module - this is irrelevant
>> > > and unnecessary duplication of what can be done in a simple way (and
>> > > we already do it for JAR names, Maven artifacts, etc...).
>> > >
>> > > D.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
I'm good with getting safe bug fixes in as we respin, +1 to backport this
fix to 9.0.

On Tue, Nov 30, 2021 at 10:25 PM Greg Miller <gsmiller@gmail.com> wrote:

> If we're going to respin, I'd like to propose we pick up the bug fix
> in https://issues.apache.org/jira/browse/LUCENE-10232. I certainly
> wouldn't respin just to get this fix, but if we're going to anyway, it
> would be nice to grab it.
>
> Here's a PR to do so if the group thinks it makes sense:
> https://github.com/apache/lucene/pull/495
>
> Cheers,
> -Greg
>
> On Mon, Nov 29, 2021 at 2:02 PM Adrien Grand <jpountz@gmail.com> wrote:
> >
> > You could send a heads up to dev@ to make this more visible but I don't
> think we need a vote.
> >
> > Thanks Uwe and Dawid for taking care of this.
> >
> > Le lun. 29 nov. 2021 à 22:25, Uwe Schindler <uwe@thetaphi.de> a écrit :
> >>
> >> Hi,
> >>
> >> Dawid and I changed the gradle build to change the module names to be
> according to above. With the new gradle task the automatically assigned
> module names from the gradle projects are now:
> >>
> >> > Task :showModuleNames
> >> lucene-benchmark-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.benchmark
> >> lucene-backward-codecs-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.backward_codecs
> >> lucene-classification-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.classification
> >> lucene-codecs-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.codecs
> >> lucene-core-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.core
> >> lucene-demo-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.demo
> >> lucene-expressions-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.expressions
> >> lucene-facet-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.facet
> >> lucene-grouping-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.grouping
> >> lucene-highlighter-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.highlighter
> >> lucene-join-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.join
> >> lucene-luke-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.luke
> >> lucene-memory-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.memory
> >> lucene-misc-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.misc
> >> lucene-monitor-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.monitor
> >> lucene-queries-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.queries
> >> lucene-queryparser-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.queryparser
> >> lucene-replicator-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.replicator
> >> lucene-sandbox-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.sandbox
> >> lucene-spatial-extras-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.spatial_extras
> >> lucene-spatial3d-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.spatial3d
> >> lucene-suggest-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.suggest
> >> lucene-test-framework-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.test_framework
> >> lucene-analysis-common-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.common
> >> lucene-analysis-icu-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.icu
> >> lucene-analysis-kuromoji-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.kuromoji
> >> lucene-analysis-morfologik-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.morfologik
> >> lucene-analysis-nori-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.nori
> >> lucene-analysis-opennlp-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.opennlp
> >> lucene-analysis-phonetic-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.phonetic
> >> lucene-analysis-smartcn-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.smartcn
> >> lucene-analysis-stempel-10.0.0-SNAPSHOT.jar ->
> org.apache.lucene.analysis.stempel
> >>
> >> The module names on the right can now be used in Java source code to
> refer in Java 11 to the module. Those are now "automatic module names"
> (because the lucene behind is not completely modularized). In later Lucene
> 9.x versions we will add full module support and only expose APIs for
> external consumption and hide all internal lucene packages.
> >>
> >> The 9.0 relese should make sure that the module names are at least
> "defined", so we can use them later in module-info.java,
> >>
> >> Should I send a vote thread about this to the mailing list separately?
> >>
> >> Uwe
> >>
> >> -----
> >> Uwe Schindler
> >> Achterdiek 19, D-28357 Bremen
> >> https://www.thetaphi.de
> >> eMail: uwe@thetaphi.de
> >>
> >> > -----Original Message-----
> >> > From: Dawid Weiss <dawid.weiss@gmail.com>
> >> > Sent: Monday, November 29, 2021 7:36 PM
> >> > To: Lucene Dev <dev@lucene.apache.org>
> >> > Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
> >> >
> >> > Here is the change adding the 'org.apache.*' prefix, Uwe:
> >> > https://github.com/apache/lucene/pull/487
> >> >
> >> > I verified that Luke starts in the rebuilt distribution and that
> >> > module names show org.apache.* prefixes. Dashes are not allowed in
> >> > modules so Lucene artifacts using them (spatial-extras,
> >> > test-framework, backward-codecs) use an underscore in place of the
> >> > dash.
> >> >
> >> > Dawid
> >> >
> >> > On Mon, Nov 29, 2021 at 7:23 PM Dawid Weiss <dawid.weiss@gmail.com>
> >> > wrote:
> >> > >
> >> > > Dear Uwe,
> >> > >
> >> > > > I did not notice this because it was somehow hidden.
> >> > >
> >> > > It was not hidden, Uwe. It was right there in the issue that
> >> > > introduced it, along with a comment that it was a deliberate
> decision
> >> > > (mine).
> >> > >
> >> > > > In every build.gradle file define the module name explicit using
> an ext
> >> > property for the "Automatic Module Name" JAR manifest, don't use regex
> >> > replace on the filesystem path of the gradle build.
> >> > >
> >> > > I disagree with you - convention over configuration. If you derive
> the
> >> > > module name from the project path, it's simpler and easier to use.
> And
> >> > > nothing will break -- if you change the layout of folders, you'd
> break
> >> > > compilation and you'd have to alter the naming convention in that
> >> > > (one!) place as well. The simpler it is, the better. I would even
> >> > > insist on renaming module folders to what the package structure
> >> > > already uses (underscore instead of the dash) so that it's
> consistent
> >> > > everywhere.
> >> > >
> >> > > > If you remove the "lucene/" directory from the gradle build, the
> module
> >> > name changes. This is not acceptable!
> >> > >
> >> > > If you do that, everything will break and you'd have to change a lot
> >> > > more than just module names...
> >> > >
> >> > > I'll provide a patch adding org.apache. prefix but I don't agree on
> >> > > scattering module names in each and every module - this is
> irrelevant
> >> > > and unnecessary duplication of what can be done in a simple way (and
> >> > > we already do it for JAR names, Maven artifacts, etc...).
> >> > >
> >> > > D.
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> > For additional commands, e-mail: dev-help@lucene.apache.org
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: dev-help@lucene.apache.org
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

--
Adrien
Re: [VOTE] Release Lucene 9.0.0 RC3 [ In reply to ]
OK, thanks Adrien. I went ahead and backported to 9.0.

Cheers,
-Greg

On Tue, Nov 30, 2021 at 1:33 PM Adrien Grand <jpountz@gmail.com> wrote:
>
> I'm good with getting safe bug fixes in as we respin, +1 to backport this fix to 9.0.
>
> On Tue, Nov 30, 2021 at 10:25 PM Greg Miller <gsmiller@gmail.com> wrote:
>>
>> If we're going to respin, I'd like to propose we pick up the bug fix
>> in https://issues.apache.org/jira/browse/LUCENE-10232. I certainly
>> wouldn't respin just to get this fix, but if we're going to anyway, it
>> would be nice to grab it.
>>
>> Here's a PR to do so if the group thinks it makes sense:
>> https://github.com/apache/lucene/pull/495
>>
>> Cheers,
>> -Greg
>>
>> On Mon, Nov 29, 2021 at 2:02 PM Adrien Grand <jpountz@gmail.com> wrote:
>> >
>> > You could send a heads up to dev@ to make this more visible but I don't think we need a vote.
>> >
>> > Thanks Uwe and Dawid for taking care of this.
>> >
>> > Le lun. 29 nov. 2021 à 22:25, Uwe Schindler <uwe@thetaphi.de> a écrit :
>> >>
>> >> Hi,
>> >>
>> >> Dawid and I changed the gradle build to change the module names to be according to above. With the new gradle task the automatically assigned module names from the gradle projects are now:
>> >>
>> >> > Task :showModuleNames
>> >> lucene-benchmark-10.0.0-SNAPSHOT.jar -> org.apache.lucene.benchmark
>> >> lucene-backward-codecs-10.0.0-SNAPSHOT.jar -> org.apache.lucene.backward_codecs
>> >> lucene-classification-10.0.0-SNAPSHOT.jar -> org.apache.lucene.classification
>> >> lucene-codecs-10.0.0-SNAPSHOT.jar -> org.apache.lucene.codecs
>> >> lucene-core-10.0.0-SNAPSHOT.jar -> org.apache.lucene.core
>> >> lucene-demo-10.0.0-SNAPSHOT.jar -> org.apache.lucene.demo
>> >> lucene-expressions-10.0.0-SNAPSHOT.jar -> org.apache.lucene.expressions
>> >> lucene-facet-10.0.0-SNAPSHOT.jar -> org.apache.lucene.facet
>> >> lucene-grouping-10.0.0-SNAPSHOT.jar -> org.apache.lucene.grouping
>> >> lucene-highlighter-10.0.0-SNAPSHOT.jar -> org.apache.lucene.highlighter
>> >> lucene-join-10.0.0-SNAPSHOT.jar -> org.apache.lucene.join
>> >> lucene-luke-10.0.0-SNAPSHOT.jar -> org.apache.lucene.luke
>> >> lucene-memory-10.0.0-SNAPSHOT.jar -> org.apache.lucene.memory
>> >> lucene-misc-10.0.0-SNAPSHOT.jar -> org.apache.lucene.misc
>> >> lucene-monitor-10.0.0-SNAPSHOT.jar -> org.apache.lucene.monitor
>> >> lucene-queries-10.0.0-SNAPSHOT.jar -> org.apache.lucene.queries
>> >> lucene-queryparser-10.0.0-SNAPSHOT.jar -> org.apache.lucene.queryparser
>> >> lucene-replicator-10.0.0-SNAPSHOT.jar -> org.apache.lucene.replicator
>> >> lucene-sandbox-10.0.0-SNAPSHOT.jar -> org.apache.lucene.sandbox
>> >> lucene-spatial-extras-10.0.0-SNAPSHOT.jar -> org.apache.lucene.spatial_extras
>> >> lucene-spatial3d-10.0.0-SNAPSHOT.jar -> org.apache.lucene.spatial3d
>> >> lucene-suggest-10.0.0-SNAPSHOT.jar -> org.apache.lucene.suggest
>> >> lucene-test-framework-10.0.0-SNAPSHOT.jar -> org.apache.lucene.test_framework
>> >> lucene-analysis-common-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.common
>> >> lucene-analysis-icu-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.icu
>> >> lucene-analysis-kuromoji-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.kuromoji
>> >> lucene-analysis-morfologik-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.morfologik
>> >> lucene-analysis-nori-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.nori
>> >> lucene-analysis-opennlp-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.opennlp
>> >> lucene-analysis-phonetic-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.phonetic
>> >> lucene-analysis-smartcn-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.smartcn
>> >> lucene-analysis-stempel-10.0.0-SNAPSHOT.jar -> org.apache.lucene.analysis.stempel
>> >>
>> >> The module names on the right can now be used in Java source code to refer in Java 11 to the module. Those are now "automatic module names" (because the lucene behind is not completely modularized). In later Lucene 9.x versions we will add full module support and only expose APIs for external consumption and hide all internal lucene packages.
>> >>
>> >> The 9.0 relese should make sure that the module names are at least "defined", so we can use them later in module-info.java,
>> >>
>> >> Should I send a vote thread about this to the mailing list separately?
>> >>
>> >> Uwe
>> >>
>> >> -----
>> >> Uwe Schindler
>> >> Achterdiek 19, D-28357 Bremen
>> >> https://www.thetaphi.de
>> >> eMail: uwe@thetaphi.de
>> >>
>> >> > -----Original Message-----
>> >> > From: Dawid Weiss <dawid.weiss@gmail.com>
>> >> > Sent: Monday, November 29, 2021 7:36 PM
>> >> > To: Lucene Dev <dev@lucene.apache.org>
>> >> > Subject: Re: [VOTE] Release Lucene 9.0.0 RC3
>> >> >
>> >> > Here is the change adding the 'org.apache.*' prefix, Uwe:
>> >> > https://github.com/apache/lucene/pull/487
>> >> >
>> >> > I verified that Luke starts in the rebuilt distribution and that
>> >> > module names show org.apache.* prefixes. Dashes are not allowed in
>> >> > modules so Lucene artifacts using them (spatial-extras,
>> >> > test-framework, backward-codecs) use an underscore in place of the
>> >> > dash.
>> >> >
>> >> > Dawid
>> >> >
>> >> > On Mon, Nov 29, 2021 at 7:23 PM Dawid Weiss <dawid.weiss@gmail.com>
>> >> > wrote:
>> >> > >
>> >> > > Dear Uwe,
>> >> > >
>> >> > > > I did not notice this because it was somehow hidden.
>> >> > >
>> >> > > It was not hidden, Uwe. It was right there in the issue that
>> >> > > introduced it, along with a comment that it was a deliberate decision
>> >> > > (mine).
>> >> > >
>> >> > > > In every build.gradle file define the module name explicit using an ext
>> >> > property for the "Automatic Module Name" JAR manifest, don't use regex
>> >> > replace on the filesystem path of the gradle build.
>> >> > >
>> >> > > I disagree with you - convention over configuration. If you derive the
>> >> > > module name from the project path, it's simpler and easier to use. And
>> >> > > nothing will break -- if you change the layout of folders, you'd break
>> >> > > compilation and you'd have to alter the naming convention in that
>> >> > > (one!) place as well. The simpler it is, the better. I would even
>> >> > > insist on renaming module folders to what the package structure
>> >> > > already uses (underscore instead of the dash) so that it's consistent
>> >> > > everywhere.
>> >> > >
>> >> > > > If you remove the "lucene/" directory from the gradle build, the module
>> >> > name changes. This is not acceptable!
>> >> > >
>> >> > > If you do that, everything will break and you'd have to change a lot
>> >> > > more than just module names...
>> >> > >
>> >> > > I'll provide a patch adding org.apache. prefix but I don't agree on
>> >> > > scattering module names in each and every module - this is irrelevant
>> >> > > and unnecessary duplication of what can be done in a simple way (and
>> >> > > we already do it for JAR names, Maven artifacts, etc...).
>> >> > >
>> >> > > D.
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> >> > For additional commands, e-mail: dev-help@lucene.apache.org
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> >> For additional commands, e-mail: dev-help@lucene.apache.org
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
>
> --
> Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org