macOS
brew install charmcraftlocal Homebrew formula metadata
安装
brew install charmcraftlocal Homebrew formula metadata
概览
Tool to build charms and publish them on Charmhub
历史
Charmcraft is Canonical's command-line tool for creating, packaging, and publishing charms, the operator packages used by Juju. In package-manager terms it is the build-and-release client for the Charmhub/Juju ecosystem rather than a general-purpose language package manager.
The upstream GitHub repository was created in April 2020, and its README describes Charmcraft as the tool for initializing charm projects, packing charms, registering names, uploading revisions, and releasing them through Charmhub. GitHub release metadata shows the first public release, 0.1.0, published in May 2020; current releases are in the 4.x line.
Charmcraft adoption follows Juju and Charmhub adoption: developers who build charmed operators use it to turn operator source trees into distributable charm artifacts. The README says the recommended Linux installation is the Snap package, while the input package-manager facts show a Homebrew formula for macOS users.
Typical use starts with `charmcraft init`, then `charmcraft pack` to build, `charmcraft register` to reserve a Charmhub name, and `charmcraft upload` to publish revisions. The documented `charmcraft.yaml` file declares project metadata consumed by Charmcraft.
Charmcraft matters to package nerds because it is an ecosystem-specific packaging frontend: it bridges source trees, declared package metadata, build isolation, and a central registry for Juju operators. It is also a Canonical example of packaging tooling aligned with Snap distribution and Ubuntu documentation.
安全态势
没有找到 charmcraft 的匹配本地密钥处理 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.
./charmcraft.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
charmcraft | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:charmcraft |
|---|---|
| 版本 | 4.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/charmcraft |
| 主页 | https://charmhub.io |
| 仓库 | https://github.com/canonical/charmcraft |
| 上游文档 | https://documentation.ubuntu.com/charmcraft/stable |
| 许可证 | Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/21/6c/e371c19234296adf715b5bc3c2910786dc718ef5c6d0e67fe3cfdbfff155/charmcraft-4.4.0.tar.gz |
| 最后更新 | 2026-07-22T21:23:16Z |
| Pulse | updated |
| 依赖 | certifi, cryptography, libsodium, libyaml, pydantic, pygit2, python@3.14, rpds-py |
| macOS 提供的库 | libxml2, libxslt |
| 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 | charmcraft |
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.