Make the Wicket release artifacts reproducible

Đang mở
#1,941 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@dashorst đang làm issue này rồi.

Từ ngày 17/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Blocked by WICKET-7090.

Rebuilding a Wicket release from its source tag should produce the same bytes as the artifacts on Maven Central, so anyone can verify that a published jar was built from the published source.

WICKET-7090 set project.build.outputTimestamp in the root pom, so archive entries carry a fixed timestamp instead of the build time. That is the prerequisite, not the whole job. What remains:

  • Build twice and compare (mvn clean install -DskipTests, then mvn clean verify -DskipTests artifact:compare) and list what differs: jars, OSGi manifests, javadoc and sources jars, the minified JavaScript, the examples war. Nothing differs; 11.0.0 rebuilds identically to Central with umask 022.
  • Fix each difference in the build. None to fix.
  • Make sure every release sets project.build.outputTimestamp to its own date. release:prepare does this.
  • Consider registering Wicket at Reproducible Central, so releases are rebuilt and checked independently. Already registered: 10.1.0 to 11.0.0 are all reproducible.

Findings and an explanation of Reproducible Central are in the comments.

Ngôn ngữ chính
Java
Star
800
Fork
437
Merge trung bình
21 giờ 36 phút
Pull request đã merge (30 ngày)
167

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/wicket

Tất cả issue của apache/wicket

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.