`git node release --promote` doesn't support worktrees
維護者通常 1 天內回覆
已經有一個關聯 PR 被合併了。
- #907 來自 @aduh95 —— 已合併
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- git, javascript, nodejs
研究方向
首先,在另一個 worktree 中將 main checked out,然後從 release-line worktree 執行 git node release --promote。閱讀 cherry-pick 到 main 的步驟及其 git checkout,main 失敗情況,接著驗證 promotion 是否能夠成功,且不會與現有的 worktree 發生衝突。
由索引模型根據 Issue 內容生成。
描述
On my computer, I have several git worktrees (one for main, one for each release line, etc).
The promotion fails on the "cherry-pick to main" step, because I'm running it from the v23.x worktree and main is checked out in another one:
✔ Cherry-pick release commit to the default branch? Yes
fatal: 'main' is already used by worktree at '/Users/mzasso/git/nodejs/node'
Error: git checkout,main failed: 128
at ChildProcess.<anonymous> (file:///Users/mzasso/.volta/tools/image/packages/@node-core/utils/lib/node_modules/@node-core/utils/lib/run.js:45:21)
at ChildProcess.emit (node:events:507:28)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
at Process.callbackTrampoline (node:internal/async_hooks:130:17) {
code: 128,
messageOnly: true
}
I don't know if that can be fixed.
- 主要語言
- JavaScript
- 星號
- 313
- 分支
- 138
- 平均合併
- 1 天 51 分鐘
- 30 天內合併 PR
- 24
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
nodejs/node-core-utils 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 62/100
nodejs/node-core-utils#664 · 1 則留言 ·
維護者通常 1 天內回覆
-
ncu-ci walk: exclude PR-modified tests from the flaky count可能已有人在做 @zeexzeex 於 46 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 65/100
nodejs/node-core-utils#1164 ·
維護者通常 1 天內回覆
-
checkGitHubCI blocks indefinitely on orphaned check suites stuck in QUEUED可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 4/5 3-5 天 新手友好度 68/100
nodejs/node-core-utils#1160 · 3 則留言 ·
維護者通常 1 天內回覆
-
pr_checker: ignore superseded GitHub Actions check suites when a head SHA is reused可能已有人在做 @zeexzeex 於 28 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 68/100
nodejs/node-core-utils#1151 ·
維護者通常 1 天內回覆
-
Add large pull request checks in `git node land`可能已有人在做 @zeexzeex 於 42 天前認領。 未關閉
難度 5/5 一週以上 新手友好度 35/100
nodejs/node-core-utils#1063 ·
維護者通常 1 天內回覆
查看 nodejs/node-core-utils 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
microsoft/playwright#43327 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
microsoft/TypeScript#64758 ·
維護者通常 1 天內回覆
-
needs-area-label
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 65/100
-
bug good first issue help wanted status: planned
難度 2/5 1-3 小時 新手友好度 88/100
andersthemagi/reliquary#310 ·
維護者通常 1 天內回覆