rmuir commented on issue #14598:
URL: https://github.com/apache/lucene/issues/14598#issuecomment-2843104515

   I looked into this, there's a `gradle/wrapper/gradle-wrapper.jar.sha256` but 
it is not in the standard format. How is this currently being generated/used? I 
would propose:
   
   Generation:
   ```console
   $ sha256sum gradle-wrapper.jar > gradle-wrapper.jar.256
   ```
   
   Validation:
   ```console
   $ sha256sum -c gradle-wrapper.jar.sha256
   ```
   
   This will work with both GNU coreutils `sha256sum` and the BSD `sha256sum` 
present on the macs. command works exactly the same as it is "basic" and 
required for many purposes.
   ```console
   $ sha256sum -c gradle-wrapper.jar.sha256
   gradle-wrapper.jar: OK
   $ gsha256sum -c gradle-wrapper.jar.sha256
   gradle-wrapper.jar: OK
   ```
   
   I would happy to help make the changes to the `./gradlew`. It would prevent 
issues on both linux and macos operating systems. The `./gradlew.bat` might 
need a different solution, but it is its own file.
   
   Just would like to understand where this existing .sha256 file is coming 
from so that we can fix the output to be 'standard'. 


-- 
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-unsubscr...@lucene.apache.org

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


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

Reply via email to