Pochatkin opened a new pull request, #7829:
URL: https://github.com/apache/ignite-3/pull/7829

   ## Summary
   - ODBC distribution on Linux includes `libignite3-odbc.so` (symlink) and 
`libignite3-odbc.so.X.Y.Z` (real file). Gradle's Tar/Copy resolve symlinks, 
causing both entries to be full copies (doubling the archive size)
   - **distZip**: Exclude symlink files since ZIP format doesn't support 
symlinks natively
   - **distTar**: Disabled the default Gradle task. Added custom `odbcDistTar` 
task that stages files with `cp -P` (preserving symlinks) and creates the 
archive using system `tar`
   - Related to GG-45445 (C++ client has the same issue)
   
   ## Test plan
   - [ ] Build ODBC tar with `./gradlew :packaging-odbc:odbcDistTar 
-Pplatforms.enable` and verify symlinks are preserved in the archive (`tar 
-tvf` should show `->`)
   - [ ] Build ODBC zip with `./gradlew :packaging-odbc:distZip 
-Pplatforms.enable` and verify no duplicate files
   - [ ] Verify RPM/DEB packages are unaffected
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to