Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, zypper 安装 osc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install osc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install osc

MacPorts ports tree · devel/osc/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install osc

Debian stable package indexes · osc · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install osc

Fedora Rawhide package metadata · osc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#osc

nixpkgs package indexes · pkgs/by-name/os/osc/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install osc

openSUSE Tumbleweed package metadata · osc · 来源: download.opensuse.org

概览

软件包摘要

Command-line interface to work with an Open Build Service

命令和别名

  • git-obs
  • git-osc-precommit-hook
  • osc

历史

项目历史与用法

osc, the openSUSE Commander, is the command-line client for Open Build Service. It gives packagers and release engineers a Subversion-like working-copy interface for OBS projects, packages, metadata, build results, and submit workflows.

项目历史

GitHub records openSUSE/osc as created on 2011-09-23, but the tool's history is tied to the longer-running Open Build Service packaging workflow. The README identifies osc as the command-line interface to OBS and documents installation from openSUSE:Tools, from Git, and as Python-built artifacts.

The openSUSE wiki describes osc as written in Python and usable both as a command-line interface and as a Python module. It also characterizes the client as having network behavior in the style of Subversion, which explains its checkout/update/commit vocabulary and its fit for package source trees.

采用历史

osc is part of the working culture around OBS: the official OBS user guide tells users to install osc from their distribution or from openSUSE:Tools, and notes availability for distributions including CentOS, Debian, Fedora, SLE, and openSUSE. Homebrew and other package managers also package it, which makes the tool reachable outside openSUSE systems.

Its adoption is less about casual CLI popularity and more about being the standard local tool for an OBS-backed packaging workflow. Packagers use it to manage package sources, trigger builds, inspect logs, and submit changes to projects served by OBS instances.

使用方式

Typical osc workflows include listing projects and packages, checking out package sources, updating local working copies, committing changes, viewing diffs, querying build results, reading build logs, editing metadata, and running local builds. The README's examples include osc ls, osc co, osc up, osc ci, osc diff, osc results, osc log, osc meta, and osc build.

First-time configuration stores credentials in ~/.config/osc/oscrc, with optional keyring integration. That config location matters because osc is both a package-management workflow tool and a credentialed API client for OBS.

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

osc is important to package nerds because it is a CLI frontend to a multi-distribution build farm. It bridges source package maintenance, metadata, repository targets, build logs, submit requests, and local build reproduction in one command namespace.

The package also shows how distro tooling differs from application package managers: osc is not resolving app dependencies for one project, it is operating against remote build infrastructure that produces RPMs and other distribution artifacts across targets.

时间线

  • 2011-09-23: GitHub repository created.
  • The OBS user guide documents osc as the command-line tool for working with Open Build Service.
  • The openSUSE wiki documents osc's Python implementation, Subversion-style network behavior, and role as client for OBS source repositories.

Related projects

  • Open Build Service is the server-side build and repository platform. The openSUSE:Tools repository distributes osc packages for users who want stable packaged builds, while OBS:Server:Unstable carries builds from the development branch.

安全态势

尚未找到受保护工具覆盖

没有找到 osc 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/osc/oscrc~/.oscrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/osc/oscrc~/.oscrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-obscli全局可执行文件
git-osc-precommit-hookcli全局可执行文件
osccli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-26
管理器版本1.27.2
管理器更新时间2026-07-02
本地数据OK
上游not checked
检测到的最新版本未检测到

https://openbuildservice.org

安装元数据

软件包元数据

软件包键brew:osc
版本1.27.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/osc
主页https://openbuildservice.org
仓库https://github.com/openSUSE/osc
上游文档https://en.opensuse.org/openSUSE:OSC
许可证GPL-2.0-or-later
源码归档https://files.pythonhosted.org/packages/cd/33/14c536856b1f4b05716818e6210901798f403b76cd2592ab6214fb29c413/osc-1.27.2.tar.gz
最后更新2026-07-02T12:53:46Z
Pulseupdated
依赖cryptography, python@3.14, rpm
macOS 提供的库curl, libffi
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

osc 1.12.1-2

Open Build Service commander

https://en.opensuse.org/openSUSE:OSC

sudo apt install osc
  • Section: devel
  • Architecture: all
  • 6 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Osc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: osc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

osc

nix profile install nixpkgs#osc
  • normalized package name match
  • 匹配方式:Osc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/os/osc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

osc 0.169.1-2

Open Build Service commander

http://en.opensuse.org/openSUSE:OSC

sudo apt install osc
  • Section: universe/devel
  • Architecture: all
  • 4 依赖
  • 7 可选依赖
  • normalized package name match
  • 匹配方式:Osc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: osc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

osc 1.27.1-479.1.2.fc45

Open Build Service Commander

https://github.com/openSUSE/osc

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

osc 1.27.1-1.1

Command-line client for the Open Build Service

https://github.com/openSUSE/osc

sudo zypper install osc
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: osc
  • 7 依赖
  • 8 提供
  • normalized package name match
  • 匹配方式:Osc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: osc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

osc

sudo port install osc
  • normalized package name match
  • 匹配方式:Osc
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/osc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment