Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, Nix, pacman 安装 add-determinism

查看 add-determinism 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install add-determinism

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install add-determinism

Fedora Rawhide package metadata · add-determinism · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#add-determinism

nixpkgs package indexes · pkgs/by-name/ad/add-determinism/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S add-determinism

Arch Linux sync databases · add-determinism · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Build postprocessor to reset metadata fields for build reproducibility

命令和别名

  • add-det
  • linkdupes

历史

项目历史与用法

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.

时间线

  • 2024-03: GitHub repository created.
  • 2024: v0.1.0 appears in the official tag list.
  • Current README: add-det and linkdupes are documented as build postprocessors for reproducible package builds.

Related projects

  • strip-nondeterminism is cited by the README as the inspiration.
  • redhat-rpm-config is cited by the README for RPM post-install integration.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
add-detcli全局可执行文件
linkdupescli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.7.3
管理器更新时间2026-06-09
本地数据OK
上游当前
检测到的最新版本v0.7.3

https://github.com/keszybz/add-determinism

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameadd-determinism
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

add-determinism

nix profile install nixpkgs#add-determinism
  • normalized package name match
  • 匹配方式:Add Determinism
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ad/add-determinism/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

add-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-determinism
  • License: GPL-3.0-or-later AND MIT AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-add-determinism
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Add Determinism
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: add-determinism from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

add-determinism 0.7.3-1

Build postprocessor to reset metadata fields for build reproducibility

https://github.com/keszybz/add-determinism

sudo pacman -S add-determinism
  • License: GPL-3.0-only
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Add Determinism
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: add-determinism from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
dnf92%

linkdupes 0.7.3-2.fc45

RPM buildroot helper to hardlink identical files

https://crates.io/crates/add-determinism

sudo dnf install linkdupes
  • License: GPL-3.0-or-later AND MIT AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-add-determinism
  • 4 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Linkdupes
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: linkdupes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment