#1430 Make https://mirror.stream.centos.org/ layout compatible with regular mirrors?
Closed: Insufficient Data 4 months ago by arrfab. Opened 4 months ago by daandemeyer.

So all the centos mirrors on mirrormanager seem to follow the same layout. They all have a centos-stream/ subdirectory under which you have the individual 9-stream and 10-stream directories for each release. All mirror seem to follow this pattern, except https://mirror.stream.centos.org, which does not have the centos-stream subdirectory. This makes it hard to plug into tools that expect the general mirror layout with a centos-stream subdirectory containing the individual releases.

Can we make https://mirror.stream.centos.org/centos-stream a symlink to '..' (the parent directory) so that it can be used with tooling that expects every mirror to have a centos-stream subdirectory containing the individual releases?


Well mirror.stream.centos.org is the official one, so if third-party mirrors were adding /centos-stream directory in the path (because they wanted to show the diff between centos-stream and (legacy) centos I guess), that was their choice :)

I don't mind adding a symlink but ideally let's get a +1 from Stream team ?

/cc: @asamalik , @tdawson

Metadata Update from @arrfab:
- Issue priority set to: Waiting on External (was: Needs Review)
- Issue tagged with: centos-stream, low-gain, low-trouble, need-more-info

4 months ago

Also that would mean that on third-party mirrors, as they sync from same source, they'd have /centos-stream/centos-stream suddenly appearing

I just did a quick check of http/https servers.
For CentOS Stream 9, the ratio of was 27 had centos-stream/9-stream and 33 did not.
For CentOS Stream 10, the ratio of was 25 had centos-stream/10-stream and 31 did not.

To me, it seems that if you expect every mirror to have centos-stream/9-stream, then your script is going to break every once in a while.
In addition, there isn't a consistent place where centos-stream/9-stream is on the path. Some of them it's / some it's /pub/ some it's /mirror/ some it's /linux/

My opinion. Don't change anything on mirror.stream.centos.org. You are going to break things more than you fix.

If you need your script to key into things, my suggestion is to key onto /9-stream/

So far, feedback received is a "no" so closing ticket/request and eventually just start a thread on centos-devel list for wider audience and feedback ?

Metadata Update from @arrfab:
- Issue close_status updated to: Insufficient Data
- Issue status updated to: Closed (was: Open)

4 months ago

I will fix my tool instead

Log in to comment on this ticket.

Metadata