Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Run Configuration: populate parameters & secrets from the build's declarations

未关闭
#1 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp
领域
devtools

调研方向

从 Run Configuration 视图和 build-graph.json 的 parameters[] 数据开始,然后通过 SecretStorage 跟踪现有的参数到 CLI 以及 secret 到环境变量的流程。确认如何使用 Fallout#499 的图输出,并验证已声明的参数会填充相应的行,而不包含 parameters[] 的图则保留自由格式行为。

由索引模型根据 Issue 内容生成。

描述

blocked enhancement

Problem

The extension's Run Configuration view is free-form — it only shows params/secrets you hand-type. Declared members like NuGetApiKey ([Parameter][Secret]) don't appear, so the Secrets section looks empty.

Blocked on Fallout-build/Fallout#499 (the framework graph must emit parameters[] first).

Outcome

Run Configuration reads parameters[] from build-graph.json and pre-populates:

  • non-secret params → Parameters rows (fill value → CLI args)
  • [Secret] params → Secrets rows, shown "not set" until a value is entered (→ SecretStorage → env var on run)

Acceptance criteria

  • NuGetApiKey and peers appear automatically after a build/plan.
  • Declared secrets read "not set" until set; values live in SecretStorage, applied as env vars on run.
  • Values still flow to runs as today (params → args, secrets → env); free-form add still works for extras.
  • Graceful when the graph has no parameters[] (older builds) — falls back to today's free-form behaviour.
主要语言
C#
星标
0
派生
0
平均合并
8 分钟
30 天内合并 PR
3

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Fallout-build/Fallout.Extensions.VSCode 的其他 Issue

查看 Fallout-build/Fallout.Extensions.VSCode 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。