Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[FEATURE] Add a side-effect-free command to resolve version tags

未关闭
#1,289 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@c19yamamoto 已经在做这个了。

开始于 2026年10月17日。

  • #1290 来自 @c19yamamoto —— 未关闭

评估

难度
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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenAPITools/openapi-generator-cli 的其他 Issue

查看 OpenAPITools/openapi-generator-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。