Pack and check the release tarballs with GNU tar in a Linux container (#852)

stage packs the source and binary tarballs with tools/releasing/linux-tar.sh, which runs GNU tar
in a pinned Linux image instead of the host's tar, and unpacks each with GNU tar in that image
before signing it, stopping on any tar warning or any AppleDouble `._*` file. The Maven build and
the signing stay on the host. The tar, gpg and shasum lines move from the Makefile's `dist`
target, which only stage used, into stage, which now runs `make build`. Preflight requires Docker
with its daemon running.

The 9.8.0 tarballs were packed on macOS. COPYFILE_DISABLE=1 (#828) kept the `._*` entries out, but
tar still stored each file's com.apple.provenance attribute as a pax header, on all 217 entries of
the binary tarball and all 13,705 of the source tarball, and GNU tar prints "Ignoring unknown
extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'" once per entry
(apache/skywalking#14271). The container does not see macOS attributes and GNU tar creates no
`._*` entries, so there is no host flag left to forget.

linux-tar.sh is one file, kept identical in the release scripts of skywalking, skywalking-java,
skywalking-mcp, skywalking-swck, skywalking-helm, skywalking-client-js and skywalking-nodejs.
5 files changed
tree: daac8ea397432a845ae3ddf4a24972c4a85df793
  1. .claude/
  2. .github/
  3. .mvn/
  4. apm-application-toolkit/
  5. apm-checkstyle/
  6. apm-commons/
  7. apm-protocol/
  8. apm-sniffer/
  9. changes/
  10. dist-material/
  11. docs/
  12. test/
  13. tools/
  14. .asf.yaml
  15. .dlc.json
  16. .dockerignore
  17. .gitignore
  18. .gitmodules
  19. .licenserc.yaml
  20. CHANGES.md
  21. CLAUDE.md
  22. codeStyle.xml
  23. CONTRIBUTING.md
  24. Dockerfile
  25. HEADER
  26. LICENSE
  27. lombok.config
  28. Makefile
  29. mvnw
  30. mvnw.cmd
  31. NOTICE
  32. pom.xml
  33. README.md
README.md

Apache SkyWalking Java Agent

GitHub stars Twitter Follow

Maven Central CI

SkyWalking-Java: The Java Agent for Apache SkyWalking, which provides the native tracing/metrics/logging abilities for Java projects.

SkyWalking: an APM(application performance monitor) system, especially designed for microservices, cloud native and container-based (Docker and Kubernetes) architectures.

Documentation

Downloads

Please head to the releases page to download a release of Apache SkyWalking.

Code of conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please follow the REPORTING GUIDELINES to report unacceptable behavior.

Live Demo

Find the demo and screenshots on our website.

Contact Us

  • Mail list: dev@skywalking.apache.org. Mail to dev-subscribe@skywalking.apache.org, follow the reply to subscribe the mail list.
  • Send Request to join SkyWalking slack mail to the mail list(dev@skywalking.apache.org), we will invite you in.
  • For Chinese speaker, send [CN] Request to join SkyWalking slack mail to the mail list(dev@skywalking.apache.org), we will invite you in.
  • Twitter, ASFSkyWalking
  • bilibili B站 视频

License

Apache 2.0 License.