-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixpkgs.git #385
Comments
能否介绍一下这个仓库对终端用户有什么用途? |
when user package new software to NixOS, they need |
从我个人的理解来看,用镜像站的 git 版本做开发,然后给上游提交 PR 是非常怪异的事情,并且存在因为同步延迟导致 PR 出问题的可能。如果实际需求是包含所有历史的仓库太大,需要减小 clone 下来的仓库的大小,可以参考 https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/ 来做,或者使用 GitHub Codespaces。 Related to: #386 |
This has no real use for end users. Developers are supposed to handle GitHub connectivity themselves, particularly when the goal is to submit PRs on GitHub. |
nixpkgs.git 大概是有非提交 PR 的场景的——在需要 pin 住 nixpkgs 版本的时候。 根据 https://api.github.com/repos/NixOS/nixpkgs 的报告,仓库大小为 4028389 KB ~= 4G,TUNA 的大小报告是 3.7G(https://mirrorz.org/list/nixpkgs.git) |
考虑到 git 带来的额外 IO 与 CPU 压力,在 nix 实现了 blobless git clone 之后会考虑同步,相关 issue 参见:NixOS/nix#6111 |
先决条件 (Prerequisites)
我已确认这个镜像源从未在 其他 issues 中讨论过。
I have checked that this repository has not been discussed in other issues.
我已仔细阅读 请求新镜像前必读。
I have CAREFULLY read the mirroring rules.
项目介绍 (Project introduction)
上游地址与镜像方法 (Upstream & mirroring method)
https://github.com/NixOS/nixpkgs.git
镜像大小 (Mirror size)
No response
备注 (Note)
Related issues:
The text was updated successfully, but these errors were encountered: