microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.2k stars 1.45k forks source link

Setup winget mirror server in China #2489

Open neo-sam opened 2 years ago

neo-sam commented 2 years ago

download package index from https://cdn.winget.microsoft.com/cache is very slow in china.

It is because 152.199.39.108 is the most only IP destination from China access

@denelon Will your team provide global anycast cdn service or setup a china azure server?

from @denelon at https://github.com/microsoft/winget-cli/issues/316#issuecomment-1214180035

denelon commented 2 years ago

I'll discuss this with the team. I need to understand any of the technical and business implications for adding another region.

SimZhou commented 1 year ago

I think most developers in China use https://developer.aliyun.com/mirror/ as their first choice when it comes to mirror issues, Is it possible to cooperate and set up a mirror site on aliyun? However I don't work for aliyun, so I cannot provide any further infomation...

hugetiny commented 1 year ago

I think the best way is providing a official mirror in China azure.Cause Chinese government did't ban azure service in china. Even google flutter team provide an official cdn for China flutter developers

stevapple commented 1 year ago

FYI, a mirror for the default WinGet source repository is now up at https://mirrors.ustc.edu.cn/winget-source, supported by USTC Linux User Group (yeah, for Windows users).