You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "sabi0 (via GitHub)" <gi...@apache.org> on 2024/02/09 22:04:48 UTC

[PR] Make `static final Map` constants immutable [lucene]

sabi0 opened a new pull request, #13092:
URL: https://github.com/apache/lucene/pull/13092

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss merged PR #13092:
URL: https://github.com/apache/lucene/pull/13092


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "sabi0 (via GitHub)" <gi...@apache.org>.
sabi0 commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1942196592

   I will happily do that. No problem.
   (Just need to figure out how to get the 9x branch into my fork..)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "sabi0 (via GitHub)" <gi...@apache.org>.
sabi0 commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1942257037

   PR#13100


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1941440581

   Wait until this is fixed, merge with main and then we'll take it from there. Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1943480107

   If the backport has been done already, I think it's good to merge it in. I'm sure something will pop up to warrant 9.11...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1943481155

   I'll move the changes entry, my bad.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "sabi0 (via GitHub)" <gi...@apache.org>.
sabi0 commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1940885691

   I see that `BackwardsCompatibilityTestBase` is failing after switching to the fresh 'main':
   ```
   AssertionError: Version: 9.11.0 missing [in thread "Test worker"]
                   at junit@4.13.1/org.junit.Assert.fail(Assert.java:89)
                   at junit@4.13.1/org.junit.Assert.assertTrue(Assert.java:42)
                   at org.apache.lucene.backward_index.BackwardsCompatibilityTestBase.<clinit>(BackwardsCompatibilityTestBase.java:81)
   ```
   
   Should I fix it? Or should I wait until it's fixed in 'main'?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1942211430

   Your fork should contain all the branches of the original repository. You should typically have two remotes - one to your fork (origin), one to lucene's upstream git. Let's say the upstream is called "upstream". This process should work to create a local branch_9x
   ```
   git fetch upstream
   git checkout upstream/branch_9x -b my_fix_on_9x
   # make changes
   git push origin HEAD -u
   ```
   then create a PR against branch_9x in Lucene. :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "uschindler (via GitHub)" <gi...@apache.org>.
uschindler commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1943350917

   Hi this won't go into 9.10 because the branch is already cut and the release started. Please move the entry to 9.11.
   
   I don't think we will have a 9.11 release anymore, as we want to go for 10.0, so I am not sure if it is worth to backport the changes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] Make `static final Map` constants immutable [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss commented on PR #13092:
URL: https://github.com/apache/lucene/pull/13092#issuecomment-1942131273

   I've applied this to main but it didn't backport cleanly to branch_9x. Would you have some time to go through the conflicts and create another PR that targets branch_9x, please? These are cosmetic changes but they're worth backporting, I think. Thank you (and sorry for not doing it myself).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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