Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

docs: document workspace and provider label capabilities

未關閉 適合新手
#4,250 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@johntmyers 已經在處理了。

開始於 2026年10月6日。

  • #4265 來自 @johntmyers —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
72/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
rust
領域
documentation

研究方向

更新工作區與提供者的文件,使其與目前的 CLI 與公開 protobuf 合約一致。涵蓋使用重複的 --label KEY=VALUE 建立工作區、使用 --label-selector 列出、workspace get 的顯示,以及不存在標籤更新。對於提供者,記錄 API 建立時的 provider.metadata.labels、標籤出現在結構化輸出中,以及 CLI 沒有提供者標籤旗標且 ListProviders 沒有選擇器。遵循現有的沙盒標籤範例;跳過內部服務端點標籤。當 DoD 核取方塊全部勾選、文件驗證與格式檢查通過時即完成。

由索引模型根據 Issue 內容生成。

描述

area:docs

User Story

When consulting OpenShell documentation to understand which objects support labels, I found that workspace labels are missing and provider label authoring is unexplained. I need documented examples and API limitations so I can use the existing label support without reading implementation code.

Description

Document the existing label capabilities for workspaces and providers. Add workspace creation, inspection, and selector examples. Explain how API clients set provider labels and clarify the CLI and filtering limitations.

Context

  • Workspace creation accepts repeated --label KEY=VALUE; listing accepts --label-selector key=value,key2=value2; workspace get displays labels.
  • Provider creation accepts provider.metadata.labels through the API and persists them. The provider docs mention labels in structured output but do not explain authoring. The CLI has no provider label flag and ListProviders has no label selector.
  • Sandbox and sandbox workload template labels already have documented examples.
  • Internal labels on service endpoints are outside this task's scope.

Definition of Done

  • Workspace docs explain creation, inspection, filtering, and the absence of a label update operation.
  • Provider docs show the label field used by API creation and clarify CLI/filtering limitations.
  • Examples match current CLI and public protobuf contracts.
  • Documentation validation and applicable formatting checks pass.
主要語言
Rust
星號
13.2k
分支
1.6k
平均合併
1 天 20 小時
30 天內合併 PR
348

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/OpenShell 的其他 Issue

查看 NVIDIA/OpenShell 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。