mirrorz-org / mirrorz-help Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://help.mirrorz.org
License: MIT License
Home Page: https://help.mirrorz.org
License: MIT License
ubuntu now use a more flat icon.
See https://mirrors.help and https://mirrors.zju.edu.cn/
Mentioned by @RalXYZ
https://help.mirrors.cernet.edu.cn/mysql/
在使用 USTC 源,RHEL/CentOS 7 用户
https://mirrors.ustc.edu.cn/mysql-repo/yum/mysql-connectors-community-el7-$basearch/
USTC 源 格式应修改为
https://mirrors.ustc.edu.cn/mysql-repo/yum/mysql-connectors-community/el/7/$basearch/
mysql-connectors-community、mysql-tools-community、mysql-版本-community 都需按此格式
https://mirrors.tuna.tsinghua.edu.cn/termux
https://mirrors.bfsu.edu.cn/termux
https://mirrors.ustc.edu.cn/termux
我提供的是一小部分,更多请看 https://github.com/termux/termux-packages/wiki/Mirrors 的 Mirrors hosted in China部分
No response
No response
When there is a PR changing the content of one mdx, affected mirror site admins should be notified, and we should set up approving mechanisms (e.g. at least 2 approvals) (thanks to @RalXYZ)
We should maintain two map
"TUNA": {
"help": @somebody,
"chores": @another,
}
The first part is a CI commenting in the PR that what mirror sites are affected.
After we set up the admin map, the CI should mention them.
LinuxMirrors 是我的项目,可以通过使用 bash shell
脚本实现一键换源,这是一个非盈利的开源项目,我想推广给更多的人,不知道贵组织是否感兴趣
in page https://help.mirrors.cernet.edu.cn/riscv-toolchains/#
at the bottom of the page [ report at github issue] and [report an issue]
the link is the page link itself,
could you check it all and make it right?
many mirror sites already have this mirror, but license issue should be avoided.
See also #45
从https://mirrors.cernet.edu.cn/homebrew-bottles
下载文件时, 会被重定向到 https://homebrew.bintray.com/llvm-17.0.5.sonoma.bottle.tar.gz
, 该服务返回403以及无效的SSL证书, 导致下载无法进行
以此地址为例: https://mirrors.cernet.edu.cn/homebrew-bottles/llvm-17.0.5.sonoma.bottle.tar.gz
经过查看请求日志, 发现被重定向到 https://mirror.sjtu.edu.cn/homebrew-bottles/llvm-17.0.5.sonoma.bottle.tar.gz
后, 由该地址再次重定向至 homebrew.bintray.com
, 如果该站点不再提供homebrew-bottles
镜像, 是否应该将该站点的重定向移除?
同上
同上
No response
No response
No response
No response
这个是 zsh 的三个插件。
The pypi address of XDU(LAN only) provided by https://help.mirrors.cernet.edu.cn/pypi/ is https://linux.xidian.edu.cn/mirrors/pypi/web/simple
However, the correct url should be https://linux.xidian.edu.cn/mirrors/pypi/simple
Currently HIT (riscv64 only), ISCAS (full), LZUOSS (full), NJU(FULL), SJTUG(riscv64 only) have this mirror.
Help example:
[root@Aldebaran apt]# cat sources.list
deb https://mirror.iscas.ac.cn/debian-ports unstable main
# deb-src https://mirror.iscas.ac.cn/debian-ports unstable main
TUNA uses yum-sync.py which does not preserve the original path; whereas USTC uses lftp
There are two ways to fix it
问题已解决,请删除。
https://mirror.nju.edu.cn/manjaro/
生成可用**镜像站列表:
sudo pacman-mirrors -i -c China -m rank
生成可用**镜像站列表:
sudo pacman-mirrors -i -c China -m rank -a --set-branch unstable
branch 只允许 stable 的话,目前只有 sjtu 支持,不过最好的解决方法似乎应当是等待其他源也支持 stable?
mirrorz-302 in mirrors.cernet.edu.cn supports a user preference list, e.g.
https://sjtug-ustc-tuna.mirrors.cernet.edu.cn/ubuntu/
This could be generated via some popup window.
mirrorz-help/contents/debian.mdx
Lines 63 to 64 in 736292e
security.debian.org/debian-security
是不是忘了换成{{mirror}}-security
Similar to https://mirrors.zju.edu.cn/docs/ubuntu/
This needs discussion as this has conflicts with the intent of https://mirrorz.org/os/ubuntu/, we can either
https://mirrors.help/crates.io-index should not show a select for https. It should be only https (to verify from doc)
Use disable_https_select: true
in front matter.
Many mirror sites already have this mirror.
See also tuna/issues#1603
debian sid now uses deb822.
Also ubuntu: https://discourse.ubuntu.com/t/spec-apt-deb822-sources-by-default/29333
All deb-based distribution and related software sources are affected
https://help.mirrors.cernet.edu.cn/alpine/
Should have "s.cernet.edu.cn" following
Tested on Firefox 116.3.0 and Chrome 116.0.5845.114, different mirrors selected won't affect this bug.
No response
Git For Windows 镜像
The PKU pypi address provided by https://help.mirrorz.org/pypi/ is https://mirrors.pku.edu.cn/pypi/web/simple
However, the correct url in the help of PKU mirror is https://mirrors.pku.edu.cn/pypi/simple
After my test, only the latter address can be used normally
Just some thoughts:
ubuntu.zh.mdx
ubuntu.en.mdx
ubuntu.geekpie.mdx
ubuntu.tuna.mdx
# npm run og:build
> [email protected] og:build
> node -r @swc-node/register ./scripts/generate-opengraph.ts
Loaded env from /root/mirrorz-help/.env.local
info - Generating OpenGraph images for "help.mirrors.cernet.edu.cn"...
info - [OG] Cache miss for open graph image "help.mirrors.cernet.edu.cn/default" from ./node_modules/.cache/
Segmentation fault (core dumped)
> npm run og:build
> [email protected] og:build
> node -r @swc-node/register ./scripts/generate-opengraph.ts
Loaded env from /home/taoky/Projects/mirrorz-help/.env.local
info - Generating OpenGraph images for "mirrors.help"...
info - [OG] Reading open graph image "mirrors.help/default" from ./node_modules/.cache/
> echo $status
0
$ sudo docker run -it --rm centos:7 bash
# ulimit -n 1024
# yum install epel-release
# yum install npm git vim
# git clone https://github.com/mirrorz-org/mirrorz-help.git
# cd mirrorz-help/
# npm install
# vim .env.local
# npm run og:build
CentOS 7 (Container & VM)
N/A
Node.js v16.18.1 from EPEL, Glibc 2.17.
(This issue is blocking help.mirrors.cernet.edu.cn from updating its contents.)
https://help.mirrorz.org/crates.io-index.git/
https://help.mirrorz.org/crates.io-index.git/
[source.crates-io]
replace-with = 'mirror'
[source.mirror]
registry = "https://mirrors.zju.edu.cn/crates.io"
https://mirrors.zju.edu.cn/docs/crates.io-index.git/
[source.crates-io]
replace-with = 'zju'
[source.zju]
registry = "https://mirrors.zju.edu.cn/git/crates.io-index.git"
No response
https://help.mirrors.cernet.edu.cn/mysql/
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
需要确认
Ref: tuna/issues#1844
https://mirrorz.org/list/debian-archive
应该与 https://mirrors.help/debian/ 相近
Currently, the list in https://mirrors.help always displays all mirror items.
However, once we do not have data for one help doc, accessing that help doc would result in an exception. We should mask them in the list.
xtom.help just overrides the json https://github.com/xtomcom/xtom.help/blob/master/override/routes.json
TUNA mirror-web instead, masks them by deleting items after statically rendering them in https://github.com/tuna/mirror-web/blob/cdc12cd622e43206b7b7b32be3b112db9d44bf32/static/js/help.es6#L55
mirrorz-help has a bunch of helps but not all mirror sites need them, we need to generate a list per site via some API, e.g. https://mirrors.help/api/list/SJTUG-Siyuan
And the result would be a site local name to mirrorz-cname
{
"site-name": "cname",
"mx-linux": "mxlinux"
}
Also the list should consider the metadata provided in #58 (comment)
We have open graph for the whole site now.
Generating og for each mirror item will hit OOM, and we need to fix it.
在侧边栏点击包括 "Rust crates.io 索引镜像" 等项时,URL 显示为:
https://help.mirrorz.org/crates.io-index.git
但不包含 '.' 的项,如 "Alpine 软件仓库",URL 显示为:
https://help.mirrorz.org/alpine/
如果结尾不为 '/',访问会出现 404。
跳转至 "https://help.mirrorz.org/crates.io-index.git/"
访问 https://help.mirrorz.org/ 或 https://help.mirrors.cernet.edu.cn/,访问左侧边栏中诸如 "Rust crates.io 索引镜像" "GDB Git" 等项,之后刷新页面。
N/A
Firefox 117.0.1
N/A
N/A
For a CodeBlock
we have "click to copy" now; we sometime puts url there so there might also be a click to open
button, opt-in by enableClickOpen
option.
https://help.mirrorz.org/rustup/
若要长期启用镜像源,执行:
# for bash
echo 'export RUSTUP_UPDATE_ROOT=https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup' >> ~/.bash_profile
echo 'export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup' >> ~/.bash_profile
若要长期启用镜像源,执行:
# for bash
echo 'export RUSTUP_UPDATE_ROOT=https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup' >> ~/.bashrc
echo 'export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup' >> ~/.bashrc
.profile / .bash_profile 只有 interactive login shell (console 登录、SSH 登录)的情形会加载
.bashrc 只有 interactive non-login shell (GUI 启动 terminal、其他进程执行 bash)的情形会加载,但现代的发行版往往在 .profile 中 source .bashrc (注:可能需要进一步调查)
因此,在这里使用 .bash_profile 会对 GUI 用户造成一定的使用上的困扰,结合发行版实际,拟改为 .bashrc
https://help.mirrors.cernet.edu.cn/pypi/
手动指定 SUSTech CRA - 南方科技大学开源软件镜像站
https://mirrors.sustech.edu.cn/pypi/web/simple
(https://mirrors.sustech.edu.cn/pypi/web/simple) -> 404
https://mirrors.sustech.edu.cn/pypi/simple
(https://mirrors.sustech.edu.cn/pypi/simple)
- https://mirrors.sustech.edu.cn/pypi/web/simple
+ https://mirrors.sustech.edu.cn/pypi/simple
见 PyPI Mirror | SUSTech Open Source Mirrors,该镜像站 PyPI base URL 不带/web
目前的错误URL会导致手动指定该镜像站时网页显示的设置命令包含的URL无效,尚不知道是否影响智能选择的302跳转
$ sed -i 's#https\?://dl-cdn.alpinelinux.org#http://mirror.nju.edu.cn/alpine#g' /etc/apk/repositories
$ apk update
> fetch http://mirror.nju.edu.cn/alpine/alpine/v3.18/main/aarch64/APKINDEX.tar.gz ##double alpine
> ...
delete /alpine
sed -i 's#https\?://dl-cdn.alpinelinux.org#http://mirror.nju.edu.cn#g' /etc/apk/repositories
omitted
arm64-based docker alpine
omitted
omitted
镜像站中没有这个包 DigitalComm
,是否可以将该包添加到镜像站维护列表中
Contribution guideline is needed for people when they want to add new contents.
It should contain two parts
This may refer to https://github.com/sparanoid/chinese-copywriting-guidelines
e.g. When to use CodeBlock, when to use syntax highligher
This contribution guideline should be linked in the footer.
When the content of the mirror repo is updated, the documentation also needs to be updated to match the latest changes in the repository.
Outdated help documents might cause some inconvenience or even mislead users. However, manually updating the documentation can be cumbersome and may not be timely. For example:
Considering that the help documentation is generally structured, creating a hook to automatically update the documentation when the repository content changes seems feasible.
https://mirrorz.org/list/bioarchlinux
Maybe we can merge https://mirrors.njupt.edu.cn/help/bioarchlinux/, but we need to ask @guliujian about the license
A mirror site can have many domain names for different purposes. e.g. https://cernet.mirrors.ustc.edu.cn and https://mirrors4.tuna.tsinghua.edu.cn
This ability has been covered by mirrorz-d-extension
We should enable users to specify a more detailed domain name instead of the generic site.url
, with each endpoint showing its ability
Expected UI (to be discussed):
Select mirror: TUNA
Select domain: tuna4 (IPv4, SSL, NOSSL)
If it is not public
Select mirror: UESTC
Select domain: uestc (NOT PUBLIC) (IPv4, SSL, NOSSL)
访问 https://help.mirrors.cernet.edu.cn/immortalwrt/ 可以看到可用的镜像只有两个:
而实际上通过镜像列表( https://mirrors.cernet.edu.cn/list )搜索可以看到三个:
数据应一致
如上。
manjaro
Chrome
No response
No response
https://mirror.nju.edu.cn/rustup/
RUSTUP_DIST_SERVER=https://mirror.nju.edu.cn/rustup rustup install stable
# 以下命令报错 server sent a broken manifest: missing package for component rust-src: no target specified
RUSTUP_DIST_SERVER=https://mirror.nju.edu.cn/rustup rustup check
# 以下命令正常 (使用中科大镜像)
RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static rustup check
No response
https://mirrorz.org/list/miniforge
https://mirror.nju.edu.cn/help/miniforge
default_channels:
- https://mirror.nju.edu.cn/anaconda/cloud/conda-forge/
https://help.mirrorz.org/nodejs-release/#volta
{
"node": {
"index": {
"template": "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/index.json"
},
"distro": {
"template": "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/v{{version}}/node-v{{version}}-{{os}}-{{arch}}.tar.gz"
}
}
}
{
"node": {
"index": {
"template": "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/index.json"
},
"distro": {
"template": "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/v{{version}}/{{filename}}"
}
}
}
原文的配置方法在Windows下是无效的,因为它的模版文件名node-v{{version}}-{{os}}-{{arch}}.tar.gz
,而Nodejs Release上面的Windows压缩包只有zip和7z格式。
volta的模版语法提供了更通用的{{filename}}
变量,可以直接按平台匹配正确的文件名。
https://help.mirrors.cernet.edu.cn/kubernetes/
首先导入 gpg key:
sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
在执行apt update
后如下报错
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
参考 kubernetes/k8s.io#4837 (comment)
应该将地址apt-key.gpg修改为https://dl.k8s.io/apt/doc/apt-key.gpg
sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://dl.k8s.io/apt/doc/apt-key.gpg
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.