You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2026/09/11 16:59:12 UTC
(opendal) branch main updated: fix(release): ship root CHANGELOG in source archives (#8281)
This is an automated email from the ASF dual-hosted git repository.
Xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 01e50c8a5 fix(release): ship root CHANGELOG in source archives (#8281)
01e50c8a5 is described below
commit 01e50c8a5d549bea10a8cc9c0675385384342f72
Author: Fatorin <sk...@gmail.com>
AuthorDate: Sat Sep 12 00:59:06 2026 +0800
fix(release): ship root CHANGELOG in source archives (#8281)
---
dev/src/release/mod.rs | 11 ++++++++++-
website/community/release/reproducible-source.md | 4 ++--
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/dev/src/release/mod.rs b/dev/src/release/mod.rs
index 41b4bdda4..0247dc106 100644
--- a/dev/src/release/mod.rs
+++ b/dev/src/release/mod.rs
@@ -121,7 +121,16 @@ pub fn archive_package(sign: bool) -> anyhow::Result<()> {
let packages = package::all_packages();
for package in packages {
let mut cmd = find_command("git", &workspace_dir);
- cmd.args(["ls-files", "--stage", "-z", "--", "LICENSE", "NOTICE"]);
+ // Package symlinks point at these root files, so every archive ships them.
+ cmd.args([
+ "ls-files",
+ "--stage",
+ "-z",
+ "--",
+ "LICENSE",
+ "NOTICE",
+ "CHANGELOG.md",
+ ]);
cmd.arg(package.name());
for dep in package.dependencies() {
cmd.arg(dep.name());
diff --git a/website/community/release/reproducible-source.md b/website/community/release/reproducible-source.md
index 82d19f161..ffa386997 100644
--- a/website/community/release/reproducible-source.md
+++ b/website/community/release/reproducible-source.md
@@ -21,8 +21,8 @@ local source edits therefore change the release bytes. It does not regenerate
source files as part of packaging.
The source package inventory comes from `dev/src/release/package.rs`. Each archive
-includes the package, its declared source dependencies, and the root LICENSE and
-NOTICE files. Paths are sorted. Tar entries use timestamp zero, numeric owner and
+includes the package, its declared source dependencies, and the root LICENSE,
+NOTICE and CHANGELOG.md files. Paths are sorted. Tar entries use timestamp zero, numeric owner and
group zero, empty owner/group names, and Git's regular/executable file modes.
Symlinks retain their link target and are not followed. Gzip includes neither a
filename nor a timestamp. The checked-in `dev/Cargo.lock` fixes the compression