Repository navigation
docs: document RUSTFS_CHECK_UPDATE in environment variables reference - #167
Merged
Merged
Conversation
Add the startup update-check toggle to the Core server table in all five locales (de/fr/ja keep the English table as before; zh translated). Verified against rustfs/rustfs source: default true (crates/config/src/constants/console.rs), startup check and fallback behavior (rustfs/src/init.rs), request target and user agent (rustfs/src/update.rs).
|
@majinghe is attempting to deploy a commit to the overtrue's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Summary
RUSTFS_CHECK_UPDATEstartup update-check toggle to the Core server table of the Environment Variables reference, right afterRUSTFS_STARTUP_READINESS_MAX_WAIT_SECS.true; at startup the server sends a single HTTPS request toversion.rustfs.com(the user agent carries the current version); the result is logged only and RustFS never updates itself;falseskips the outbound request (useful for air-gapped deployments); unrecognized values fall back totrue.Changes
content/{en,de,fr,ja,zh}/reference/environment-variables.md— one table row each.de/fr/jakeep the English table (those pages are not translated yet);zhis translated.Verification
Every fact was verified against the
rustfs/rustfssource, not inferred from existing docs:crates/config/src/constants/console.rs(DEFAULT_UPDATE_CHECK = true)rustfs/src/init.rs(init_update_check)rustfs/src/update.rs(version.rustfs.com/latest.json,RustFS/<version>)rustfs/src/config/cli.rs)Checks run:
npm run docs:check— PASS (orphans, broken links, unlabeled fences, banned strings, oversized images, locale tree parity, translated code blocks)npm run build— OK (3,495 files generated)node .agents/skills/localize-rustfs-docs/scripts/audit-locales.mjs --locales de,fr,ja,zh— no new findings (pre-existing untranslated-page findings unchanged, verified with a stash comparison)Locales
en, de, fr, ja, zh