diff --git a/docs/delivery.md b/docs/delivery.md index 152ba47..96538aa 100644 --- a/docs/delivery.md +++ b/docs/delivery.md @@ -110,16 +110,30 @@ Starting from CentOS Stream 9 , mirrors are now added in [Fedora Mirrormanager]( As MirrorManager has already plenty of fedora/epel repositories to track, the reponame to use to query mirrormanager for metalink is more complex than for previous mirrorlist.centos.org setup. -The logic goes like this : +The logic goes like this and notice the difference for `source` and `debuginfo` packages in the metalink uris: ``` +# packages metalink=https://mirrors.centos.org/metalink?repo=centos--sig---9-stream&arch= +# source packages (.src.rpm) +metalink=https://mirrors.centos.org/metalink?repo=centos--sig---source-9-stream&arch=source +# debuginfo packages +metalink=https://mirrors.centos.org/metalink?repo=centos--sig---debug-9-stream&arch= ``` -And the whole metalink url being then (with the `infra` SIG producing the `infra` project with version `common`): +You can also always query MirrorManagers to see which metalinks/repositories it already knows about if you're unsure. +Here is an example for the `infra` SIG producing the `infra` project with version `common`: ``` -curl 'https://mirrors.centos.org/metalink?repo=centos-infra-sig-infra-common-9-stream&arch=x86_64' +curl 'https://mirrors.centos.org/metalink?repo=unknown&arch=x86_64' -s | grep infra +# repo=centos-infra-sig-infra-common-9-stream&arch=aarch64 +# repo=centos-infra-sig-infra-common-9-stream&arch=ppc64le +# repo=centos-infra-sig-infra-common-9-stream&arch=x86_64 +# repo=centos-infra-sig-infra-common-debug-9-stream&arch=aarch64 +# repo=centos-infra-sig-infra-common-debug-9-stream&arch=ppc64le +# repo=centos-infra-sig-infra-common-debug-9-stream&arch=x86_64 +# repo=centos-infra-sig-infra-common-source-9-stream&arch=source + ``` ### centos-release- package