← 返回
开发者工具 Key 中文

diffmanifests

Compare manifest XML files via Gerrit and Gitiles APIs, producing JSON/txt/xlsx reports. Use when comparing Android or repo manifest versions, diffing manife...
通过 Gerrit 和 Gitiles API 对比 manifest XML 文件,生成 JSON/txt/xlsx 报告。适用于对比 Android 或 repo manifest 版本及差异分析。
craftslab craftslab 来源
开发者工具 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 508
下载
💾 36
安装
1
版本
#latest

概述

diffmanifests Skill (OpenClaw)

Use the diffmanifests CLI to compare two manifest XML files and get detailed commit/change reports. Install with pip install diffmanifests. Configuration lives in a JSON file; all four CLI arguments are required.

Installation

pip install diffmanifests

Upgrade: pip install diffmanifests --upgrade

Configuration

Configuration is read from a JSON file. Bundled config (packed with this skill for OpenClaw hub): use config.json in this skill directory. Reference structure:

SectionParameterTypeDescription
----------------------------------------------
gerriturlstringGerrit instance URL
userstringAuth username
passstringPassword or API token
query.optionarraye.g. ["CURRENT_REVISION"]
gitilesurlstringGitiles instance URL
userstringAuth username
passstringPassword or API token
retryintegerRetry attempts (default: 1)
timeoutintegerTimeout in seconds (-1 = no timeout)

Example config.json:

{
  "gerrit": {
    "url": "https://android-review.googlesource.com",
    "user": "",
    "pass": "",
    "query": { "option": ["CURRENT_REVISION"] }
  },
  "gitiles": {
    "url": "https://android.googlesource.com",
    "user": "",
    "pass": "",
    "retry": 1,
    "timeout": -1
  }
}

Parameters (CLI)

ArgumentRequiredDescription
--------------------------------------------
--config-filePath to configuration JSON file
--manifest1-filePath to first (older) manifest XML
--manifest2-filePath to second (newer) manifest XML
--output-fileOutput path; format by extension: .json, .txt, .xlsx

Basic usage

Use the bundled config.json in this skill directory (or pass your own):

diffmanifests \
  --config-file config.json \
  --manifest1-file path/to/older.xml \
  --manifest2-file path/to/newer.xml \
  --output-file path/to/output.json

From inside the skill directory: --config-file config.json.

Output format is chosen by --output-file extension: .json (structured), .txt (plain text), .xlsx (Excel).

Output (JSON)

Each change entry can include: author, branch, change, commit, committer, date, diff (e.g. ADD COMMIT / REMOVE COMMIT), hashtags, message, repo, topic, url.

When to use

  • User asks to compare two manifest files or manifest versions.
  • User mentions diffmanifests, Gerrit manifest diff, or Gitiles manifest comparison.
  • Task involves Android/repo manifest version analysis or change reports.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 22:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 194 📥 67,397
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 71 📥 181,370
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 676 📥 325,602