[FEATURE] Add a side-effect-free command to resolve version tags
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 32/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- json, typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
Start with the version-manager command definitions and the CLI startup path, since the issue says startup may download the selected JAR before a command runs. Compare how version-manager list --json resolves tags with how openapitools.json is read and written. Done means version-manager resolve <tags...> prints one resolved version to stdout while leaving openapitools.json and the JAR cache untouched, with a test that checks both.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Automated version-update workflows need to resolve a moving tag such as latest to a specific version, then use that same version to update a project's pinned configuration and in subsequent steps. Resolving the tag should not require downloading the generator or modifying the working tree.
Please add a version-manager resolve <versionTags...> command that prints the resolved version to stdout without changing openapitools.json or downloading a generator JAR.
version-manager list --json can list matching releases, but CLI startup may download the currently selected JAR before processing the command. A dedicated resolver would make this operation predictable and side-effect-free.
- Ngôn ngữ chính
- TypeScript
- Star
- 2k
- Fork
- 210
- Merge trung bình
- 55 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 OpenAPITools/openapi-generator-cli
-
[FEATURE] consider using caret ranges instead of pinned exact versions for runtime dependenciesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OpenAPITools/openapi-generator-cli#1277 · 1 bình luận · 2 reaction ·
-
[BUG] JAVA_OPTS is incorrectly evaluatedCó thể làm lại được @kay-schecker đã nhận 139 ngày trước và không có pull request nào đang mở. Đang mởbug
OpenAPITools/openapi-generator-cli#1213 · 1 người được giao ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version managerCó thể làm lại được @kay-schecker đã nhận 194 ngày trước và không có pull request nào đang mở. Đang mởbug
OpenAPITools/openapi-generator-cli#1190 · 1 người được giao ·
-
[BUG] openapiGeneratorIgnoreList is missing from schemaCó thể làm lại được @kay-schecker đã nhận 244 ngày trước và không có pull request nào đang mở. Đang mởbug
OpenAPITools/openapi-generator-cli#1138 · 1 bình luận · 1 người được giao ·
-
[BUG] Environment variable not found (missing .env loading)Có thể làm lại được @kay-schecker đã nhận 283 ngày trước và không có pull request nào đang mở. Đang mởbug
OpenAPITools/openapi-generator-cli#1094 · 1 bình luận · 1 người được giao ·
Tất cả issue của OpenAPITools/openapi-generator-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
radix-ui/primitives#4228 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
SignalK/freeboard-sk#1093 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[测试] 等待仓库加载后再记录多仓库排序基线Có thể đã có người làm @myot233 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày