setting up remote-upstream through ncu
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- git, javascript, nodejs
- Lĩnh vực
- cli, developer-experience, devtools
Hướng nghiên cứu
Tái hiện lỗi bằng danh sách ncu-config đã được báo cáo và luồng git node land, sau đó bắt đầu từ components/git/land.js và lib/landing_session.js, với trình chạy lệnh nằm trong lib/run.js. Kiểm tra cách remote-upstream đã cấu hình được phân giải khi nó không tồn tại, và xác định công việc hoàn tất khi remote bị thiếu đó được xử lý nhất quán với hành vi upstream dự kiến, đồng thời kết quả được bao phủ bằng một bài kiểm thử.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I am on a new laptop and forgot some configs in my project specific config and failed the cq due to column length > 72 characters, therefore decided to land the PR manual by using core-util.
Followed the steps to:
pre: installed @node-core/utils through npm
- create a scoped token
- put token into
~/.ncurc - run
git node land 57732 - followed the prompt to setup remote-url and branch main to main
➜ node git:(add-lower-bound-range-test) ✗ ncu-config list
branch: main
upstream: remote-upstream
and then I encountered the following error message:
at runSync (file:///Users/jake/.nvm/versions/node/v23.11.0/lib/node_modules/@node-core/utils/lib/run.js:109:11)
at new Session (file:///Users/jake/.nvm/versions/node/v23.11.0/lib/node_modules/@node-core/utils/lib/session.js:30:28)
at new LandingSession (file:///Users/jake/.nvm/versions/node/v23.11.0/lib/node_modules/@node-core/utils/lib/landing_session.js:24:5)
at main (file:///Users/jake/.nvm/versions/node/v23.11.0/lib/node_modules/@node-core/utils/components/git/land.js:171:17)
I think it is trying to find remote-upstream as after I did git remote add remote-upstream https://github.com/nodejs/node.git the issue was resolved. However, this confused me for a few minutes, shouldn't it default to just upstream or attempt to add remote-upstream for the user automatically?
- Ngôn ngữ chính
- JavaScript
- Star
- 313
- Fork
- 137
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 24
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nodejs/node-core-utils
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nodejs/node-core-utils#664 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
nodejs/node-core-utils#1164 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
nodejs/node-core-utils#1160 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
nodejs/node-core-utils#1151 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
nodejs/node-core-utils#1063 ·
Tất cả issue của nodejs/node-core-utils
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100