Migrate a NUKE build to Fallout from the command palette

未關閉
#33 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

@ChrisonSimtian 已經在處理了。

開始於 2026年11月15日。

  • #36 來自 @ChrisonSimtian —— 未關閉

評估

難度
4/5
預估耗時
3-5 天
新手友好度
58/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
csharp, vscode

研究方向

Start from package.json: the command has to be declared under contributes.commands before the palette can show it, and the existing tree-view registration is where the post-migration refresh hooks in. Detection of .nuke/ or Nuke.* and the remembered one-time prompt belong in workspace state; the run goes through vscode.window.createTerminal at the detected repo root, dry-run first, then the confirmed run. Test in the Extension Development Host (F5) against a NUKE repo lacking .fallout/; done means all acceptance checkboxes pass and the migration docs link is added.

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

描述

enhancement
Problem

Migrating a NUKE repo needs the Fallout.Migrate global tool and a terminal. People who open a NUKE repo in VS Code get an empty Fallout view and no hint what to do.

Outcome

The extension detects a NUKE build and offers to run fallout-migrate for them.

Acceptance criteria
  • Command Fallout: Migrate from NUKE… runs fallout-migrate --dry-run first, then the real run after the user confirms
  • Runs in the integrated terminal (the tool prompts) from the detected repo root
  • A NUKE repo (.nuke/, or Nuke.* in the build project) with no .fallout/ shows a one-time prompt to migrate; dismissible, remembered per workspace
  • Missing tool: offer dotnet tool install -g Fallout.Migrate
  • Tree refreshes after the migration finishes
  • Docs: link to Fallout docs/Migration/from-nuke.md
主要語言
C#
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

從這裡開始

  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 摘要。