Automic VaultAutomic Vault

brew

使用 Homebrew, dnf 安装 beakerlib

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install beakerlib

local Homebrew formula metadata

概览

软件包摘要

Shell-level integration testing library

命令和别名

  • beakerlib-deja-summarize
  • beakerlib-journalcmp
  • beakerlib-journalling
  • beakerlib-lsb_release
  • beakerlib-rlMemAvg
  • beakerlib-rlMemPeak
  • beakerlib-testwatcher

历史

项目历史与用法

BeakerLib is a shell-level integration testing library for writing, running, logging, and analyzing integration and black-box tests. It is especially associated with Fedora/RHEL-style test automation, where shell tests need consistent phases, assertions, journals, and result files.

项目历史

The current documentation says the project moved to its new official home after fedorahosted.org was shut down. The GitHub repository was created on 2017-03-01 and the README identifies it as the upstream project for a shell testing library with Fedora/RHEL distribution support.

BeakerLib's manual documents the long-lived shell API surface: tests source /usr/share/beakerlib/beakerlib.sh, start and end journals, divide work into phases, run commands, assert conditions, manage services and files, and emit journal.txt, journal.xml, and TestResults output.

采用历史

The README documents Fedora and RHEL packaging as the primary distribution path, with newer builds available through COPR. The batch package facts show Homebrew and Fedora packaging, which is narrower than Beads or bdftopcf but notable because the package carries Linux distribution QA practices into local developer environments.

The beakerlib GitHub organization also hosts many domain-specific shell libraries, showing that BeakerLib became more than one script: it is a shared testing vocabulary for distribution and system-integration tests.

使用方式

A BeakerLib test is usually a shell script that sources beakerlib.sh, opens a journal, runs setup/test/cleanup phases, records assertions and command results, then closes the journal. The official manual centers on repeatable logging and result reporting rather than unit-test style in-process assertions.

The library is used for integration and black-box tests where shell commands, packages, services, files, sockets, mounts, virtual X, performance metrics, reboot handling, and cleanup must be coordinated in a readable script.

为什么软件包爱好者会关心

BeakerLib is package-nerd significant because it is a packaged testing framework for the shell and the operating system, not just for an application language. It reflects the needs of distribution QA: tests must install from packages, manipulate services, survive real system state, and produce machine-readable logs for automation.

Its move from Fedora Hosted to GitHub/Read the Docs also marks a common infrastructure migration path for older Fedora-era projects after fedorahosted.org was retired.

时间线

  • Pre-2017: BeakerLib is hosted on fedorahosted.org according to the current docs.
  • 2017-03-01: beakerlib/beakerlib GitHub repository is created.
  • 2021-11-09: Documentation news lists BeakerLib 1.28 with new OS-detection and dependency-checking functions.
  • 2022-10-20: Documentation news lists BeakerLib 1.29.3.
  • 2026-04-07: GitHub lists beakerlib-1.33.3 as the latest release.

Related projects

  • Beaker is the broader Red Hat-origin automated test system whose ecosystem gives BeakerLib its name and context.
  • Fedora and RHEL packaging are the documented distribution channels.
  • The beakerlib GitHub organization hosts companion libraries for areas such as firewalld, database, yum, crypto, and distribution testing.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
beakerlib-deja-summarizecli全局可执行文件
beakerlib-journalcmpcli全局可执行文件
beakerlib-journallingcli全局可执行文件
beakerlib-lsb_releasecli全局可执行文件
beakerlib-rlMemAvgcli全局可执行文件
beakerlib-rlMemPeakcli全局可执行文件
beakerlib-testwatchercli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.33.3
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本1.33.3

https://github.com/beakerlib/beakerlib

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

安装元数据

软件包元数据

软件包键brew:beakerlib
版本1.33.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/beakerlib
主页https://github.com/beakerlib/beakerlib
仓库https://github.com/beakerlib/beakerlib
上游文档https://beakerlib.readthedocs.io/en/latest
许可证GPL-2.0-only
源码归档https://github.com/beakerlib/beakerlib/archive/refs/tags/1.33.3.tar.gz
最后更新2026-06-22T14:02:52-07:00
Pulseupdated
依赖coreutils, gnu-getopt
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

dnf95%

beakerlib 1.33.3-1.fc45

A shell-level integration testing library

https://github.com/beakerlib

sudo dnf install beakerlib
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: beakerlib
  • 15 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Beakerlib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: beakerlib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

beakerlib-vim-syntax 1.33.3-1.fc45

Files for syntax highlighting BeakerLib tests in VIM editor

https://github.com/beakerlib

sudo dnf install beakerlib-vim-syntax
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: beakerlib
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Beakerlib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: beakerlib-vim-syntax 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