macOS
brew install osclocal Homebrew formula metadata
安装
brew install osclocal Homebrew formula metadata
sudo dnf install oscFedora Rawhide package metadata · osc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#oscnixpkgs package indexes · pkgs/by-name/os/osc/package.nix · 来源: api.github.com
sudo zypper install oscopenSUSE Tumbleweed package metadata · osc · 来源: download.opensuse.org
概览
Command-line interface to work with an Open Build Service
历史
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.
安全态势
没有找到 osc 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/osc/oscrc~/.oscrcCredential-bearing paths to review before unattended agent runs.
~/.config/osc/oscrc~/.oscrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-obs | cli | 全局可执行文件 | |
git-osc-precommit-hook | cli | 全局可执行文件 | |
osc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | cryptography, python@3.14, rpm |
| macOS 提供的库 | curl, libffi |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | osc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
osc 1.12.1-2
Open Build Service commander
https://en.opensuse.org/openSUSE:OSC
sudo apt install oscosc
nix profile install nixpkgs#oscosc 0.169.1-2
Open Build Service commander
http://en.opensuse.org/openSUSE:OSC
sudo apt install oscosc 1.27.1-479.1.2.fc45
Open Build Service Commander
https://github.com/openSUSE/osc
sudo dnf install oscosc 1.27.1-1.1
Command-line client for the Open Build Service
https://github.com/openSUSE/osc
sudo zypper install oscosc
sudo port install osc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.