mirrorz-org/mirrorz-help

bug(adoptium): fix rpm url for ustc

Opened this issue · 5 comments

TUNA uses yum-sync.py which does not preserve the original path; whereas USTC uses lftp

There are two ways to fix it

  • add another section for ustc
  • change tuna yum-sync script (already proposed in tuna/issues#1101)

Actually, this applies to all help doc from TUNA that mentioned rpm URL

taoky commented

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 commented

@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