[FEATURE] Add a side-effect-free command to resolve version tags
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 32/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- json, typescript
- 领域
- cli
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 2k
- 派生
- 210
- 平均合并
- 55 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenAPITools/openapi-generator-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
OpenAPITools/openapi-generator-cli#1277 · 1 条评论 · 2 个 reaction ·
-
[BUG] JAVA_OPTS is incorrectly evaluated可能重新可做 @kay-schecker 于 139 天前认领,目前没有进行中的 PR。 未关闭bug
OpenAPITools/openapi-generator-cli#1213 · 已指派 1 人 ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version manager可能重新可做 @kay-schecker 于 194 天前认领,目前没有进行中的 PR。 未关闭bug
OpenAPITools/openapi-generator-cli#1190 · 已指派 1 人 ·
-
[BUG] openapiGeneratorIgnoreList is missing from schema可能重新可做 @kay-schecker 于 244 天前认领,目前没有进行中的 PR。 未关闭bug
OpenAPITools/openapi-generator-cli#1138 · 1 条评论 · 已指派 1 人 ·
-
[BUG] Environment variable not found (missing .env loading)可能重新可做 @kay-schecker 于 283 天前认领,目前没有进行中的 PR。 未关闭bug
OpenAPITools/openapi-generator-cli#1094 · 1 条评论 · 已指派 1 人 ·
查看 OpenAPITools/openapi-generator-cli 的全部 Issue
相似的 Issue
-
e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 68/100
redhat-developer/rhdh-plugin-export-overlays#4460 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
docs(api): openapi.yaml still documents gif-tools optimize colors as 2-256 instead of 2, 4, 16, 256未关闭area: backend documentation priority: low
难度 2/5 1-3 小时 新手友好度 84/100
snapotter-hq/SnapOtter#2919 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
obsidianmd/pele#39 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复