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

Translate 04-git-server git-daemon #118

Merged
merged 3 commits into from
Aug 3, 2015
Merged

Translate 04-git-server git-daemon #118

merged 3 commits into from
Aug 3, 2015

Conversation

branchzero
Copy link
Contributor

No description provided.

@networm networm mentioned this pull request Jul 29, 2015
95 tasks
@networm networm modified the milestone: v1.0.0 Jul 29, 2015
If you're running this on a server outside your firewall, it should only be used for projects that are publicly visible to the world.
If the server you're running it on is inside your firewall, you might use it for projects that a large number of people or computers (continuous integration or build servers) have read-only access to, when you don't want to have to add an SSH key for each.
如果运行在防火墙之外的服务器上,它所提供的服务应该只是那些公开的只读项目。
如果是在防火墙之内的服务器上,可用于支撑大量参与人员或自动系统(用于持续集成或编译的主机)只读访问的项目,这样可以省去逐一配置 SSH 公钥的麻烦。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果是在防火墙之内的服务器上,可用于

如果运行在防火墙之内的服务器上,它可用于

@networm
Copy link
Member

networm commented Jul 29, 2015

@branchzero 已审校。

@branchzero
Copy link
Contributor Author

@networm 已修改。

@@ -61,4 +61,4 @@ $ cd /path/to/project.git
$ touch git-daemon-export-ok
----

The presence of that file tells Git that it's OK to serve this project without authentication.
该文件的存在将允许 Git 提供无需鉴权的项目访问服务。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里感觉不用非翻译出presence的意思,改成“该文件将允许……”

@IceNature
Copy link
Contributor

@branchzero 已完成

`--reuseaddr` allows the server to restart without waiting for old connections to time out, the `--base-path` option allows people to clone projects without specifying the entire path, and the path at the end tells the Git daemon where to look for repositories to export.
If you're running a firewall, you'll also need to punch a hole in it at port 9418 on the box you're setting this up on.
`--reuseaddr` 允许服务器在无需等待旧连接超时的情况下重启,`--base-path` 选项允许用户在未完全指定路径的条件下克隆项目,结尾的路径将告诉 Git 守护进程从何处寻找仓库并且导出。
如果有防火墙正在运行,你将需要在其之上开放端口 9418 的通信权限。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你将需要在其之上开放端口 9418 的通信权限。
=> 你需要开放端口 9418 的通信权限。

@morefreeze
Copy link

@branchzero 已审校

@branchzero
Copy link
Contributor Author

@IceNature @morefreeze 感谢提出意见,已经修正:)

networm added a commit that referenced this pull request Aug 3, 2015
Translate 04-git-server git-daemon
@networm networm merged commit 557caae into progit:master Aug 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants