-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOLR-17490: Check for existence of perl executable and skip if it doesnt exist #2753
Conversation
@patrbraun this one is for you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It skips the Perl now. Although it also skips and shows the warning even when Perl is installed.
I so want this; let's just require Java! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this. I actually made a stab at porting the perl script with ChatGPT, but it was too large for context window :) Would probably be a good candidate for a groovy script too, or simply a Java class..
Co-authored-by: Jan Høydahl <jh@cominvent.com>
@patrbraun would you mind taking another stab with the latest change? |
It's working for me now. |
No Changes.txt needed, this is not user facing. |
https://issues.apache.org/jira/browse/SOLR-17490
Description
Make the first time developer experience better with Solr. Today, everytime someone clones Solr for the first time, especially on Windows, they get bitten by the need to install perl.. just to product "Changes.html".
Solution
Add a check for the perl executable and log a warning if it isn't there, and continue on your Gradle process...
Tests
Manual