Skip to content

feat: update rust-eza to 0.23.5-5 - #1

Merged
Zeno-sole merged 2 commits into
masterfrom
dcbot/debian/0.23.5
Sep 4, 2026
Merged

feat: update rust-eza to 0.23.5-5#1
Zeno-sole merged 2 commits into
masterfrom
dcbot/debian/0.23.5

Conversation

@deepin-community-bot

Copy link
Copy Markdown
Contributor

This pull request is requested by @Zeno-sole.

Basic Information

Old Version: 1.0-1
New Version: 0.23.5-5

Caution

DOWNGRADING

Patch series

--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1,13 @@
+disable-vendored-openssl.diff
+disable-windows.diff
+disable-vendored-libgit2.diff
+relax-palette.diff
+relax-unicode.diff
+relax-serde.diff
+relax-dirs.diff
+relax-terminal-size.diff
+relax-phf.diff
+relax-criterion.patch
+relax-term-grid.diff
+git2-0.20.patch
+relax-trycmd.patch

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

TAG Bot

TAG: 0.23.5-5deepin1
EXISTED: no
DISTRIBUTION: unstable

@deepin-ci-robot

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@Zeno-sole

Copy link
Copy Markdown
Contributor

/integrate

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

AutoIntegrationPr Bot
auto integrate with pr url: deepin-community/Repository-Integration#4535
PrNumber: 4535
PrBranch: auto-integration-33753321275

Switch rust-eza to a fully vendored cargo build so the package no
longer needs the librust-*-dev / dh-cargo packaging stack.
- Run cargo vendor (Rust 1.95) and commit vendor/ (276M, 215 crates)
  with pruned .cargo-checksum file lists (Debian cargo-vendor style)
- Add .cargo/config.toml pointing crates-io at the vendored sources
- Build with the distro cargo-1.95/rustc-1.95 toolchain from
  Build-Depends, offline (CARGO_NET_OFFLINE), --locked against the
  pristine eza 0.23.5 manifest (no version-relaxing patches)
- Link libgit2 statically from vendored libgit2-sys 0.18.5+1.9.4 C
  sources (cc-built); system libgit2 1.7.2 is too old for git2 0.21
- Shrink debian/control to a single eza binary package: drop all
  librust-*-dev Build-Depends and the librust-eza-dev lib package,
  add git/gcc/libssl-dev/zlib1g-dev as native build dependencies
- Drop debian/patches (debcargo relax + git2 0.20 support patches,
  now unneeded) and debian/tests/control (dh-cargo autopkgtests)
- Verified with a full dpkg-buildpackage: eza 0.23.5-5deepin1 .deb
  built offline, eza binary + exa symlink + completions + man pages
  install and run correctly

Log: vendor all Rust dependencies for self-contained offline builds

Influence:
1. eza builds offline without librust-*-dev / dh-cargo
2. eza binary, man pages, bash/zsh/fish completions install correctly
3. eza --git still works (libgit2 now linked statically)
4. No regression on default feature set (git)

chore: 将 Rust 依赖全部 vendor 以实现离线构建

将 rust-eza 改为完全 vendor 的 cargo 构建,不再依赖
librust-*-dev / dh-cargo 打包栈。
- 用 cargo vendor(Rust 1.95)生成并提交 vendor/(276M, 215 个 crate),
  按 Debian cargo-vendor 惯例清空 .cargo-checksum 文件清单
- 新增 .cargo/config.toml 把 crates-io 指向 vendor 目录
- 使用 Build-Depends 提供的 cargo-1.95/rustc-1.95 工具链离线构建
  (CARGO_NET_OFFLINE), 按原始 eza 0.23.5 清单 --locked 锁定
- libgit2 改为静态链接 vendor 内 libgit2-sys 0.18.5+1.9.4 的 C 源码
  (cc 直接编译), 系统 libgit2 1.7.2 过旧不满足 git2 0.21
- 精简 debian/control 为单个 eza 二进制包: 删除全部 librust-*-dev
  构建依赖与 librust-eza-dev 库包, 增加 git/gcc/libssl-dev/zlib1g-dev
- 删除 debian/patches(relax 版本与 git2 0.20 支持补丁已不需要)
  和 debian/tests/control(dh-cargo autopkgtest)
- 已用 dpkg-buildpackage 完整验证: eza 0.23.5-5deepin1 .deb 离线
  构建成功, 二进制/exa 软链/补全/man 手册均正确安装并可用

Log: vendor 全部 Rust 依赖以实现自包含离线构建

Influence:
1. eza 可离线构建, 不再依赖 librust-*-dev / dh-cargo
2. eza 二进制、man 手册、bash/zsh/fish 补全正常安装
3. eza --git 功能正常(libgit2 已改为静态链接)
4. 默认特性(git)无回归

repo: rust-eza #dcbot/debian/0.23.5
@Zeno-sole

Copy link
Copy Markdown
Contributor

/integrate

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hudeng-go

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Zeno-sole
Zeno-sole marked this pull request as ready for review September 4, 2026 05:13
@Zeno-sole
Zeno-sole merged commit f3144db into master Sep 4, 2026
2 of 3 checks passed
@deepin-ci-robot

Copy link
Copy Markdown

@deepin-community-bot[bot]: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
hold-version-check 1a97501 link true /test hold-version-check

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants