Clarify that `DO_NOT_TRACK` only disables telemetry if `1` or `true`
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 90/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github, shell
- 領域
- cli, documentation
調査の方向性
docs.github.com にリンクされている GitHub CLI のテレメトリに関する記事を開き、環境変数のセクション「How to opt out」を見つけてください。リンクされている cli/cli internal/telemetry/telemetry.go の 128 行目付近のリファレンスと文言を比較し、どの DO_NOT_TRACK の値でテレメトリが無効になるのかを明確にして、例が引き続き正確であることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/github-cli/github-cli/github-cli-telemetry#how-to-opt-out
What part(s) of the article would you like to see updated?
The section on environment variables currently looks like this:
Environment variables:
export GH_TELEMETRY=falseAny falsy value works:
0,false,disabled, or an empty string. You can also use theDO_NOT_TRACKconvention:export DO_NOT_TRACK=true
Saying that any falsy value works for GH_TELEMETRY right before introducing DO_NOT_TRACK can create the implication that any truthy value would be accepted for DO_NOT_TRACK. I believe this is not the case though; it looks like DO_NOT_TRACK must be 1 or true. It would be nice to clarify this.
It also seems like most people set DO_NOT_TRACK to 1 anyway, so it would be good to be explicit for the opposite reason too; we don't want people to assume that only true is accepted.
Additional information
No response
- 主要言語
- TypeScript
- スター
- 20.9k
- フォーク
- 68.8k
- 平均マージ
- 15時間 4分
- マージ済み PR(30日)
- 103
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/docs のほかの issue
-
localization
難易度 2/5 1〜2日 初心者へのやさしさ 72/100
-
builder persona
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
content localization
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
content localization
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
content dependabot needs SME
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2218 ·