app
Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
repo clone: slow per-file fallback when unzip is missing, and noisy default output
Summary
adom-wiki repo clone is slow and its default output is confusing on a minimal container. Two issues:
- Slow: hard dependency on an external
unzip. The whole-repo archive path shells out tounzip; whenunzipisn't installed (common on minimal containers — this one has nounzip) it falls back to fetching every file individually. Foradom/drone-rfthat's 514 separate fetches, which is noticeably slow. - Weird output. Without
--json, the command still prints a raw JSON result object, interleaved withhint [...]lines, rather than a clean human-readable summary.
Environment
adom-wikiCLI, registryhttps://wiki.adom.inc- Minimal container:
command -v unzip→ not installed
Repro
adom-wiki repo clone adom/drone-rf
(on a host without unzip)
Actual output
hint [CLONE_ARCHIVE_FALLBACK]: whole-repo archive unavailable (`unzip` unavailable or failed); falling back to per-file fetch
{
"cloned": "adom/drone-rf",
"dir": "drone-rf",
"files": 514,
"complete": true
}
hint [EXEC_BIT_NORMALIZED]: chmod +x applied to 2 file(s) ...
The clone succeeds (complete: true), but the archive fallback makes it slow, and the default output mixes JSON + hints.
Expected
- Don't depend on an external
unzipfor the fast path — extract the archive with a bundled/library zip (or tar) decoder, or offer a git-based clone, so the fast archive path works on hosts withoutunzip. Failing that, the per-file fallback could fetch in parallel. - In non-
--jsonmode, print a concise human summary (e.g.cloned adom/drone-rf -> ./drone-rf (514 files)); reserve the JSON envelope for--json.
Note
Not blocking — the clone completed. Filing for the slowness + output clarity. The EXEC_BIT_NORMALIZED hint is already tracked (wiki#165 / adom-wiki-cli#40) and is not part of this report.
Reproduced 2026-09-14.