Skip to content

Include Jieba plugin in source tarball and improve reproducibility - #1483

Merged
frankslin merged 1 commit into
BYVoid:masterfrom
delphij:master
Aug 23, 2026
Merged

frankslin merged 1 commit into
BYVoid:masterfrom
delphij:master

Conversation

@delphij

@delphij delphij commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Merge the opencc-jieba profile into opencc so the release source tarball includes the Jieba segmentation plugin by default. Repack the CPack output for reproducible archives: normalize ownership to root:root, set timestamps to epoch 0, sort entries by name, and strip gzip metadata. Also produce .tar.xz alongside .tar.gz and exclude .gitattributes/.gitmodules from source packages.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Jieba 內容尚未納入封包冒煙測試,且相關文件仍描述舊 profile。

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

此 PR 將 Jieba 插件納入精簡原始碼封包,並產生可重現的 gzip、xz 封存檔。

Changes:

  • 合併原始碼封包 profile。
  • 正規化封存檔中繼資料與排序。
  • 同時發佈 .tar.gz、.tar.xz。
File summaries
File Description
CMakeLists.txt 調整 profile 與排除規則。
.github/workflows/release-source.yml 重封裝、測試並上傳兩種格式。
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CMakeLists.txt
Comment thread CMakeLists.txt
Merge the opencc-jieba profile into opencc so the release source
tarball includes the Jieba segmentation plugin by default.  Repack
the CPack output for reproducible archives: normalize ownership to
root:root, set timestamps to epoch 0, sort entries by name, and
strip gzip metadata.  Also produce .tar.xz alongside .tar.gz and
exclude .gitattributes/.gitmodules from source packages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@frankslin
frankslin merged commit b8bf091 into BYVoid:master Aug 23, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants