diffmanifests

v0.1.0

Compare manifest XML files via Gerrit and Gitiles APIs, producing JSON/txt/xlsx reports. Use when comparing Android or repo manifest versions, diffing manife...

0· 277· 1 versions· 0 current· 0 all-time· Updated 8h ago· MIT-0
byJia@craftslab

Install

openclaw skills install diffmanifests

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.

Version tags

latestvk97dr8d0z7mpx552j6t54vke0h82nz2a