Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

cnzackliu
Copy link

@cnzackliu cnzackliu commented Sep 11, 2019

close #1416

@DingdingZhou DingdingZhou self-requested a review November 4, 2019 16:03
@polaris1119 polaris1119 requested review from polaris1119 and removed request for DingdingZhou November 9, 2019 09:33
Copy link
Member

@polaris1119 polaris1119 left a 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) 以获取更多细节。
Copy link
Member

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)管理。

Copy link
Member

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.

@unknwon
Copy link
Collaborator

unknwon commented Apr 11, 2020

@ZackLiuCH 👋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

https://proxy.golang.org/ 官方页面翻译
4 participants