文件
JGZYES c1906d0111 release: PMM v0.5.3 — mirror layout reform (dists/ + files/) + site version
Mirror restructure under web/mirror:
- dists/packages.json (name list) + dists/<pkg>.json (latest+variants) +
  dists/<pkg>/<version>.json (per-version metadata)
- files/<first-letter>/<pkg>/<ver>-<os>-<arch>.pdm (payloads bucketed by letter)
- registry base in defaults/docs -> .../mirror/dists; all existing packages migrated
  and their url fields rewritten to files/<letter>/<pkg>/...

Code:
- mirrors.c default registry -> /mirror/dists
- main.c language-pack derivation now handles a /dists (or /packages) base -> mirror root /lang
- web/pmu/publish.php writes dists/<name>.json + files/<letter>/<name>/ and the url accordingly

Also syncs site version refs to 0.5.3 and mirrors docs/examples to the new layout.
2026-09-05 22:44:40 +08:00

30 行
874 B
JSON

{
"name": "tree",
"version": "2.3.2",
"os": "linux",
"arch": "amd64",
"description": "tree - recursive directory listing",
"variants": [
{
"name": "tree",
"version": "2.3.2",
"os": "linux",
"arch": "amd64",
"file": "2.3.2-linux-amd64.pdm",
"url": "https://pmm.parlz.com/mirror/files/t/tree/2.3.2-linux-amd64.pdm",
"sha256": "197e8c6ba859ab4e21faa70de2927e5948a35ebccd4a5f699270564699a0a153",
"description": "tree 2.3.2 (linux amd64)"
},
{
"name": "tree",
"version": "2.3.2",
"os": "linux",
"arch": "aarch64",
"file": "2.3.2-linux-aarch64.pdm",
"url": "https://pmm.parlz.com/mirror/files/t/tree/2.3.2-linux-aarch64.pdm",
"sha256": "7b1cbef9c057d17834c65ac2934be261ecddacbeaea0c8d71462efc27ea6235e",
"description": "tree 2.3.2 (linux aarch64)"
}
]
}