-
Notifications
You must be signed in to change notification settings - Fork 419
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
【翻译完成】Go-Module-Mirror-Index-and-Checksum-Database #1418
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最后增加了一段,需要翻译下。辛苦!
|
||
## 部署环境 | ||
|
||
这些服务只能访问公开可用的源代码。如果你依赖四有模块,请将 GOPRIVATE 设置为覆盖它们的 glob 模式。请查阅 go 命令文档 [Module configuration for non-public modules](https://golang.org/cmd/go/#hdr-Module_configuration_for_non_public_modules) 以获取更多细节。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
四有模块 -> 私有模块
### 如果我没有设置 GOPRIVATE 并向这些服务请求私有模块,那么什么泄漏? | ||
|
||
代理与校验和数据库协议仅将模块路径和版本发送到远程服务器。如果您请求私有模块,镜像将尝试下载它,就像任何Go用户一样,并以相同的方式失败。有关失败请求的信息不会在任何地方发布 请求的唯一跟踪将在内部日志中,该日志由[隐私策略](https://proxy.golang.org/privacy)管理。 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
目前原文增加了一个 FAQ:
Why did a previously available module become unavailable in the mirror?
proxy.golang.org does not save all modules forever. There are a number of reasons for this, but one reason is if proxy.golang.org is not able to detect a suitable license. In this case, only a temporarily cached copy of the module will be made available, and may become unavailable if it is removed from the original source and becomes outdated. The checksums will still remain in the checksum database regardless of whether or not they have become unavailable in the mirror.
@ZackLiuCH 👋 |
close #1416