feat: update rust-eza to 0.23.5-5 - #1
Conversation
|
TAG Bot TAG: 0.23.5-5deepin1 |
|
Skipping CI for Draft Pull Request. |
|
/integrate |
|
AutoIntegrationPr Bot |
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
|
/integrate |
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@deepin-community-bot[bot]: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
This pull request is requested by @Zeno-sole.
Basic Information
Old Version:
1.0-1New Version:
0.23.5-5Caution
DOWNGRADING
Patch series