feat(issue): support metadata fields #57

Merged
wbtiger merged 1 commits from wangyue111/gitlink-cli:feat/issue-metadata-fields into master 2026-06-03 22:37:15 +08:00
Contributor

变更内容

  • issue +create 新增 Issue 元数据参数:--priority-id--tag-ids--assigner-ids--branch--start-date--due-date
  • issue +update 支持同一组元数据更新参数,允许只更新元数据并保留现有标题和描述。
  • issue +create --label 映射为单个 issue_tag_ids,补齐原有参数的实际 payload 行为。
  • 增加 ID 列表解析和校验,避免无效 tag/assigner/priority ID 被发送。
  • 补充 README、中文 README、Issue Skill 字段映射和变更说明文档。
  • 增加单元测试覆盖创建和更新元数据 payload。

验证

  • GOPROXY=https://goproxy.cn,direct go test ./...
  • go run . issue +create --help
  • go run . issue +update --help
  • git diff --check
## 变更内容 - 为 `issue +create` 新增 Issue 元数据参数:`--priority-id`、`--tag-ids`、`--assigner-ids`、`--branch`、`--start-date`、`--due-date`。 - 为 `issue +update` 支持同一组元数据更新参数,允许只更新元数据并保留现有标题和描述。 - 将 `issue +create --label` 映射为单个 `issue_tag_ids`,补齐原有参数的实际 payload 行为。 - 增加 ID 列表解析和校验,避免无效 tag/assigner/priority ID 被发送。 - 补充 README、中文 README、Issue Skill 字段映射和变更说明文档。 - 增加单元测试覆盖创建和更新元数据 payload。 ## 验证 - `GOPROXY=https://goproxy.cn,direct go test ./...` - `go run . issue +create --help` - `go run . issue +update --help` - `git diff --check`
wangyue111 force-pushed feat/issue-metadata-fields from 7fb8e33e78 to 89d5321713 2026-06-02 12:46:40 +08:00 Compare
wbtiger closed this pull request 2026-06-02 22:46:51 +08:00
wbtiger reopened this pull request 2026-06-03 22:27:01 +08:00
wbtiger added 1 commit 2026-06-03 22:37:11 +08:00
559e1a74f3 chore: ensure trailing newline
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
wbtiger merged commit 0e13e8bdd4 into master 2026-06-03 22:37:15 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Gitlink/gitlink-cli#57
No description provided.