Repository navigation
docs(readme): drop a stray heading from the Chinese README - #183
Merged
Merged
Conversation
monitoring-check.sh generates a temporary Grafana password when none is set, but only after waiting for every gate to install its ticket list. That wait ran docker compose exec through lab/monitoring.yaml, which refuses to load without the password, so every attempt failed and the check reported that a gate had not installed its list. Wait through the venue compose file instead; the gates are venue services.
Two problems found after the 1.0.0 release are recorded as known issues in the changelog and README, with their workarounds: a gate whose --hub names a host waits on libcurl's own name lookup for every ticket-list download when the DNS server does not answer, and host-side scripts cannot write into the root-owned build/ and lab/runtime/ on Docker Engine for Linux. The README also says which DNS behaviour the hub_integration and hub_link_logs tests need. The quick-start output in both READMEs is replaced with a run from the current tree, which shows the gate's rejection diagnostic and the link checks the April run did not.
The README and the simulator protocol named the gatepost-sim repository without linking it. Link it from both languages of each document; the protocol page also says that gatepost-sim implements the simulator side.
ADR 0012 said GATEPOST_TEST_META_WRITE_FAIL and GATEPOST_TEST_META_RENAME_FAIL were also present in the release binary. Both are read only under GATEPOST_TEST_BUILD, which CMake defines for the test targets, so the release gated never reads them. Correct both languages.
lab/offline-reports.sh is a bash script with pipefail, but both lab READMEs told readers to run it with sh. Say bash, and explain that the ACCEPT lines it prints come from each gate's whole container log, so a lab session with earlier scans shows more ACCEPT lines than reports from this run.
The Chinese README had a "扫描器监督与 systemd" heading above the paragraph on leaving the build container and using the simulator; the English README keeps that paragraph in Quick start without a heading, and scanner supervision is described under How the parts fit in both. Remove the heading so both languages have the same sections.
Contributor
Author
|
Ingrid Larsen · reviewer Is scanner supervision still covered somewhere in Chinese? 中文版里还有地方讲扫描器监督吗? |
Contributor
Author
|
Yuki Tanaka · author Yes, under How the parts fit, the same as in English. 有,在“各部分如何协作”里,和英文版一样。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Chinese README had an extra heading above the paragraph on leaving the build container and using the simulator. The English README has that paragraph in Quick start without a heading, so the two languages had different sections.
What changed
README.zh-CN.md: remove the heading 扫描器监督与 systemd; the paragraph stays where it is. Scanner supervision is still described under How the parts fit in both languages.How to verify
Compare the heading lists of
README.mdandREADME.zh-CN.md; they now match. No code changes.背景
中文 README 在“离开构建容器、使用模拟器”那段上面多了一个标题。英文 README 里这一段放在快速开始里,没有标题,所以两种语言的小节对不上。
改动
README.zh-CN.md:删去“扫描器监督与 systemd”这个标题,段落位置不变。扫描器监督仍在两种语言的“各部分如何协作”里说明。怎么验证
对照
README.md和README.zh-CN.md的标题列表,现在一致。没有代码改动。