macOS
brew install add-determinismlocal Homebrew formula metadata
安装
brew install add-determinismlocal Homebrew formula metadata
sudo dnf install add-determinismFedora Rawhide package metadata · add-determinism · 来源: dl.fedoraproject.org
nix profile install nixpkgs#add-determinismnixpkgs package indexes · pkgs/by-name/ad/add-determinism/package.nix · 来源: api.github.com
sudo pacman -S add-determinismArch Linux sync databases · add-determinism · 来源: geo.mirror.pkgbuild.com
概览
Build postprocessor to reset metadata fields for build reproducibility
历史
add-determinism is a Rust package-build postprocessor for removing common sources of nondeterminism after a build has produced files. Its two command-line programs, add-det and linkdupes, are aimed at reproducible package builds rather than general end-user file cleanup.
The GitHub repository was created in March 2024, and the official README presents the project as a from-scratch Rust implementation inspired by Debian's strip-nondeterminism. The README explains the Fedora/RHEL motivation directly: the author wanted tooling suitable for RPM buildroots without pulling Perl into all build environments, and with behavior tuned for Fedora-style artifacts such as Python bytecode.
The project quickly grew beyond a single timestamp scrubber. add-det rewrites supported archive and generated-file formats in place while preserving safety on failures; linkdupes handles duplicate files in build trees while accounting for SOURCE_DATE_EPOCH and SELinux contexts.
The README documents intended integration with RPM build-root postprocessing through --brp mode and links to redhat-rpm-config pull requests adding add-det and linkdupes to %__os_install_post. The supplied package-manager metadata also shows packaging in Homebrew, Fedora/DNF, Nix, and Arch/pacman.
Package maintainers run add-det over files or directories to clamp or strip metadata in ar, jar, javadoc HTML, gzip, pyc, and zip outputs. In check mode it reports files that would be modified without rewriting them, which makes it useful in reproducibility tests.
linkdupes walks build output trees and hardlinks files with identical content and compatible metadata. Its package-build angle is that it can clamp mtimes against SOURCE_DATE_EPOCH and avoid unsafe hardlinking across mismatched SELinux contexts.
This is a small but very package-manager-native tool: it encodes distro build-root concerns, reproducible-build conventions, and RPM macro integration in one binary crate. For package nerds, the interesting part is not a new file format but a practical attempt to make post-build cleanup deterministic, portable across builders, and cheap to add to packaging pipelines.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
add-det | cli | 全局可执行文件 | |
linkdupes | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/keszybz/add-determinism
安装元数据
| 软件包键 | brew:add-determinism |
|---|---|
| 版本 | 0.7.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/add-determinism |
| 主页 | https://github.com/keszybz/add-determinism |
| 仓库 | https://github.com/keszybz/add-determinism |
| 上游文档 | https://github.com/keszybz/add-determinism#readme |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/keszybz/add-determinism/archive/refs/tags/v0.7.3.tar.gz |
| 最后更新 | 2026-06-09T00:53:04Z |
| Pulse | updated |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | add-determinism |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
add-determinism
nix profile install nixpkgs#add-determinismadd-determinism 0.7.3-2.fc45
RPM buildroot helper to strip nondeterministic bits in files
https://crates.io/crates/add-determinism
sudo dnf install add-determinismadd-determinism 0.7.3-1
Build postprocessor to reset metadata fields for build reproducibility
https://github.com/keszybz/add-determinism
sudo pacman -S add-determinismlinkdupes 0.7.3-2.fc45
RPM buildroot helper to hardlink identical files
https://crates.io/crates/add-determinism
sudo dnf install linkdupes来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.