From b1a9acae7b59e275e4b8d6066659c06423a6c67b Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Nov 24 2022 10:35:25 +0000 Subject: Added doc for src.rpm/debugin packages for Stream 9 mirrormanager repos structure Signed-off-by: Fabian Arrotin --- 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