文件
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

27 行
828 B
JSON

{
"name": "nginx",
"version": "1.30.4",
"variants": [
{
"name": "nginx",
"version": "1.30.4",
"os": "linux",
"arch": "amd64",
"file": "1.30.4-linux-amd64.pdm",
"url": "https://pmm.parlz.com/mirror/files/n/nginx/1.30.4-linux-amd64.pdm",
"sha256": "55d74fbf3e44c9f08c072a69161345f60c2377a4da644837d4808b7537c489ca",
"description": "nginx 1.30.4 (linux amd64, needs system glibc/ssl/pcre)"
},
{
"name": "nginx",
"version": "1.30.4",
"os": "linux",
"arch": "aarch64",
"file": "1.30.4-linux-aarch64.pdm",
"url": "https://pmm.parlz.com/mirror/files/n/nginx/1.30.4-linux-aarch64.pdm",
"sha256": "5c796b229e3777f51e457d13468ff8eb450bf6ab63ef268bba1141b8c9f40b8e",
"description": "nginx 1.30.4 (linux aarch64)"
}
]
}