kbendick opened a new pull request, #5186:
URL: https://github.com/apache/iceberg/pull/5186

   This PR adds a gradle task `createProperties`, which generates a properties 
file that is intended for access from 
`org.apache.iceberg.util.VersionPropertiesUtil`.
   
   The git build SHA (both short and full) and other useful information is 
accessible from that file.
   
   This information is useful for debugging, and can also be sent as a header 
or request property with various catalogs for debugging catalog interactions 
with external resources.
   
   The generated `version.properties` file is added to the runtime and test 
resources from within the `createProperties` task.
   
   **If anybody knows a cleaner way to do that so as not to pollute the git 
sources, please let me know**


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to