Skip to content

【欢迎参与贡献】搜集默认源地址,帮助使用 reset 功能 #111

@ccmywish

Description

@ccmywish
Contributor

1. 无法 reset

chsrc 目前大部分能够进行 chsrc setchsrc get 操作,但是却不能进行 chsrc reset 操作,这并不是由于重置的换源逻辑没有实现,反而是由于不知道默认源的URL是什么。


2. 默认源也许更快

在某些特殊时候,也许你的默认源也许比镜像源快,这也证明了默认源的重要性:

Image


PR 还是 评论?

chsrc 是一个集体性互助性项目,我们欢迎直接PULL REQUEST,而非仅仅在此issue评论,这是一个开始参与 chsrc 贡献的简单但十分有帮助的契机。

在代码中添加URL的位置很好辨认,即显示 {&Upstream, 的位置。如Go的默认地址:https://github.com/RubyMetric/chsrc/blob/main/src/recipe/lang/Go.c#L24,


语言

  • Dart Pub (感谢 @czyt)
    Dart Flutter (感谢 @czyt)
    rustup (非 Cargo)(感谢 @Yangmoooo)
    Clojure
    Go (感谢 @czyt)
    Haskell hackage
    Java maven
    Julia
    Lua
    NuGet
    OCaml
    Perl
    PHP
    R

OS

  • Armbian (感谢 @Yangmoooo)
    Debian (感谢 @Yangmoooo)
    deepin (感谢 @Yangmoooo)
    Kali Linux (感谢 @Yangmoooo)
    Linux Lite (感谢 @Yangmoooo)
    Linux Mint
    Raspberry Pi (感谢 @Yangmoooo)
    ROS
    Trisquel
    Ubuntu (感谢 @XUANJI233)
    NetBSD
    OpenBSD
    MSYS2
    AlmaLinux (感谢 @Yangmoooo)
    OpenAnolis
    Fedora (感谢 @happy-game)
    openEuler (感谢 @Yangmoooo)
    Rocky Linux
    Alpine (感谢 @Yangmoooo)
    Gentoo
    openSUSE
    OpenWrt (感谢 @Yangmoooo)
    Solus
    Void Linux (感谢 @Yangmoooo)

软件

  • Anaconda (感谢 @Yangmoooo)
    CocoaPods
    Docker Hub
    Emacs
    Flathub
    Guix
    Nix
    Tex Live

Activity

self-assigned this
on Oct 30, 2024
modified the milestones: v0.2.0, v0.3.0 on Oct 30, 2024
czyt

czyt commented on Oct 31, 2024

@czyt

golang的环境变量GOPROXY 默认值是 https://proxy.golang.org,direct,稍后提交pr

added a commit that references this issue on Oct 31, 2024
added a commit that references this issue on Oct 31, 2024
linked a pull request that will close this issue修复fedora换源的一些问题 #117on Nov 4, 2024
added a commit that references this issue on Nov 4, 2024
linked a pull request that will close this issueUpdate Ubuntu.c #118on Nov 5, 2024

6 remaining items

linked a pull request that will close this issueAdd some upstreams #120on Nov 8, 2024
WINGSIGOD

WINGSIGOD commented on Nov 22, 2024

@WINGSIGOD
docker收集到的源
"https://docker.mirrors.ustc.edu.cn",
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com",
"https://mirror.ccs.tencentyun.com",
changed the title [-][HELP] 广泛搜集默认源地址,帮助进行 `chsrc reset`[/-] [+]广泛搜集默认源地址,帮助进行 `chsrc reset`[/+] on Dec 6, 2024
xyx1926885268

xyx1926885268 commented on Dec 7, 2024

@xyx1926885268
Contributor

建议添加更换Anaconda的镜像源方法。他的.condarc文件内容为:
Uploading condarc.txt…

xyx1926885268

xyx1926885268 commented on Dec 7, 2024

@xyx1926885268
Contributor

rust镜像源文件:
Uploading config.toml…

changed the title [-]广泛搜集默认源地址,帮助进行 `chsrc reset`[/-] [+]【欢迎参与贡献】搜集默认源地址,帮助使用 `reset` 功能[/+] on Jun 12, 2025
pinned this issue on Jun 12, 2025
added theissue type on Jun 12, 2025
changed the issue type fromtoon Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

    Participants

    @czyt@WINGSIGOD@xyx1926885268@ccmywish

    Issue actions

      【欢迎参与贡献】搜集默认源地址,帮助使用 `reset` 功能 · Issue #111 · RubyMetric/chsrc