Open ZenithalHourlyRate opened 1 year ago
- change tuna yum-sync script (already proposed in 请求设置MySQL yum 源的镜像目录结构和上游一样 tuna/issues#1101)
Actually, this applies to all help doc from TUNA that mentioned rpm URL
For adoptium syncing, we are not using lftp
. Instead we use a modified yum-sync.py to keep the structure same as upstream.
@taoky can it be upstreamed?
@taoky can it be upstreamed?
It's implemented by allowing working_dir
to be processed by substitute_vars()
. I'm not sure how to backport this feature as there're other changes within this script.
https://github.com/ustclug/ustcmirror-images/blob/master/yum-sync/tunasync/yum-sync.py
@taoky I'll check that
TUNA uses yum-sync.py which does not preserve the original path; whereas USTC uses
lftp
There are two ways to fix it