Enable reserve repo temporarily

This commit is contained in:
Aoran Zeng 2023-07-20 18:45:31 +08:00
parent 1def92ffdd
commit b3e5539fa4
2 changed files with 8 additions and 6 deletions

View File

@ -2,15 +2,15 @@
# nvm-cn
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/ccmywish)
</div>
## 维护
<2023-05-01> 此仓库现在切换使用Gitee官方管理的`nvm`镜像,每日更新,最多只比上游晚一天。因此现在不再需要依赖我手动更新。(我已为此手动更新两年,至少每两周一次)
- `<2023-07-20>` 由Gitee官方追踪的上游仓库不知何时意外被删除现暂时切换至备用仓库由我手动更新。待恢复后再切换回Gitee管理的仓库。
<2022-11-07> 此仓库最开始只是方便我自己临时使用,跟随[RubyKids]的其他项目一起公开出来了。但目前我很少使用NodeJS对其生态不是很熟悉如果出现bug,issue希望您可以参与帮助。此仓库**2022年全年有2000+个独立IP访问您的参与将会使很多人受益**。如果您愿意长时间维护这个项目,请联系我,我将很乐意为你打开相关权限。[RubyKids]里的其他项目也非常乐意接受维护,如果您认同[Woody's voice box哲学(请参考RubyKids的介绍)](https://gitee.com/RubyKids),您可以申请加入该组织,并分享相关的项目于组织中。
- `<2023-05-01>` 此仓库现在切换使用Gitee官方管理的`nvm`镜像,每日更新,最多只比上游晚一天。因此现在不再需要依赖我手动更新。(我已为此手动更新两年,至少每两周一次)
- `<2022-11-07>` 此仓库最开始只是方便我自己临时使用,跟随[RubyKids]的其他项目一起公开出来了。但目前我很少使用NodeJS对其生态不是很熟悉如果出现bug,issue希望您可以参与帮助。此仓库**2022年全年有2000+个独立IP访问您的参与将会使很多人受益**。如果您愿意长时间维护这个项目,请联系我,我将很乐意为你打开相关权限。[RubyKids]里的其他项目也非常乐意接受维护,如果您认同[Woody's voice box哲学(请参考RubyKids的介绍)](https://gitee.com/RubyKids),您可以申请加入该组织,并分享相关的项目于组织中。
<br>

View File

@ -4,7 +4,7 @@
# Authors : ccmywish <ccmywish@qq.com>
# aifuxi <aifuxi.js@gmail.com>
# Created on : <2021-01-06>
# Last modified : <2023-05-09>
# Last modified : <2023-07-20>
#
# install:
#
@ -16,6 +16,7 @@
# Note that, the '@user' represents the user id of Gitee
#
# ~> v0.1.0
# <2023-07-20> Gitee追踪的仓库被删除暂时启用我们的备用仓库 by @ccmywish
# <2023-05-09> Check Git first and add CI on Gitee by @ccmywish
# <2023-05-01> Update nvm repo source by @ccmywish
# <2022-11-14> Update Node.JS mirror source by @aifuxi
@ -32,7 +33,8 @@ fi
export NVM_DIR="$HOME/.nvm" && (
echo "=> Git clone nvm"
git clone https://gitee.com/mirrors_nvm-sh/nvm "$NVM_DIR"
git clone https://gitee.com/RubyKids/nvm-official "$NVM_DIR" # 备用仓库
# git clone https://gitee.com/mirrors_nvm-sh/nvm "$NVM_DIR" # Gitee提供的追踪上游仓库
cd "$NVM_DIR"
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh"