the-other-tim-brown opened a new pull request, #1008: URL: https://github.com/apache/incubator-xtable/pull/1008
### What The 0.5.0-incubating-rc1 source tarball has 1,506 entries, and 753 of them are macOS AppleDouble files (`._*`). One is at the top level, so extracting it on Linux leaves `._apache-xtable-0.5.0-incubating` next to the source directory. On macOS, `tar` is bsdtar. It stores each file's extended attributes (here `com.apple.provenance`, which macOS puts on the files of the fresh clone) as a `._*` entry, and also as `LIBARCHIVE.xattr.*` pax headers. macOS `tar` hides both again when it lists or extracts the archive, so neither the release manager nor `validate_staged_release.sh` on a Mac can see them. - `create_source_release.sh` builds the tarball with `COPYFILE_DISABLE=1 tar --no-xattrs`. `COPYFILE_DISABLE` alone drops the `._*` entries but keeps the xattr headers, and GNU tar warns about each of those. Both settings are harmless on Linux. - A new `validate_source_tarball_entries.sh` reads the archive with Python's `tarfile`, so it sees what Linux sees. It fails on `._*`, `.DS_Store` or xattr headers. `create_source_release.sh` runs it before signing, and `validate_staged_release.sh` runs it before extracting. ### Verification | Tarball | Entries | `._*` | GNU tar 1.35 extract | New check | |---|---|---|---|---| | rc1 as published | 1,506 | 753 | top-level `._apache-xtable-…`, 753 warnings | fails | | `COPYFILE_DISABLE` only | 753 | 0 | 753 warnings | fails | | patched script on macOS | 753 | 0 | clean | passes | | patched script on Linux (Ubuntu, GNU tar 1.35) | 753 | 0 | clean | passes | - The macOS-built and Linux-built tarballs match the rc1 contents exactly, minus the AppleDouble entries. File contents and modes are identical. - On Linux, the script signs with gpg's default key and the signature and sha512 verify. 🤖 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]
