Commit Graph

17 Commits

Author SHA1 Message Date
wbtiger a781f5a69c Merge PR #196: feat(release): 增加发布资产管理快捷命令
# Conflicts:
#	internal/client/client.go
#	shortcuts/common/types.go
#	shortcuts/release/assets.go
#	shortcuts/release/release_test.go
2026-07-14 22:50:02 +08:00
wbtiger d5ffff930e Merge PR #222: feat(attachment): 新增附件上传与删除快捷命令
# Conflicts:
#	internal/client/client.go
#	shortcuts/register.go
#	shortcuts/register_test.go
2026-07-14 22:50:02 +08:00
wbtiger ae5b27687f Merge PR #281: fix(api): 补齐单次请求模板变量与请求头支持
# Conflicts:
#	cmd/api/api.go
#	cmd/api/api_test.go
2026-07-14 22:49:56 +08:00
wbtiger 572cec4f54 Merge PR #313: feat(release): 增加发布资产查看与下载能力
# Conflicts:
#	internal/client/client_test.go
#	shortcuts/release/release_test.go
2026-07-14 22:49:53 +08:00
林晨 (Leo Cheng) 5511d492cb
feat(api): add --paginate and unwrap GitLink list responses in PaginateAll
Signed-off-by: 林晨 (Leo Cheng) <chengkelfan@qq.com>
2026-07-08 12:43:33 +08:00
Mengz 898af8cd80 feat: 新增 Release 资产下载命令 2026-07-01 11:44:03 +08:00
Mengz ac211ac4e9 fix(api): 补齐单次请求模板变量与请求头支持 2026-06-25 16:49:58 +08:00
co63oc 2c9a8b6192 feat(shortcut): add shortcuts/wiki 2026-06-16 10:24:15 +08:00
Mengz 3dfce6f9e7 feat(release): 增加发布资产管理快捷命令 2026-06-10 17:05:02 +08:00
Mengz 8deb09d4ff fix: address attachment shortcut review feedback 2026-06-09 11:12:01 +08:00
Mengz 8219c0b6dc feat: add attachment shortcut group 2026-06-09 11:10:55 +08:00
wbtiger 902886cabd Merge pull request 'fix: preserve raw file API paths' (#85) from dtwdtw/gitlink-cli:fix/issue-142586-raw-file-api into master 2026-06-01 01:04:25 +08:00
wbtiger 0170b5b063 test: add comprehensive test coverage across all packages (88.5% → 90.3%)
Add 18 new test files covering formatter, envelope, config, auth,
client, context, register, and all shortcut group packages.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 15:41:54 +08:00
wbtiger f7263cc466 chore: add golangci-lint config and fix lint issues
- Add .golangci.yml with 8 essential linters (errcheck, govet,
  ineffassign, staticcheck, unused, errorlint, gosec, misspell)
- Fix real bugs: errors.As, %w wrapping, nil map check, dead code,
  unnecessary conversion, unused parameters
- Add `make lint` target, include it in `make check` pipeline
- Update pre-commit hook to run lint step

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 00:37:45 +08:00
fsafasff c28b72d46f fix: preserve raw file API paths 2026-05-29 11:41:10 +08:00
wbtiger 36249f3087 feat: add PR closed time and repo README shortcuts (#49, #52)
PR #49 (dtwdtw): enrich PR view with closed_at from issue journals
- Fetches close timestamp for closed/rejected PRs
- Skips extra API call for open PRs
- 2 new tests

PR #52 (dtwdtw): add repo +readme shortcut
- Fetches README content with optional --ref and --path params
- normalizeAPIPath prevents duplicate /api prefix in client
- 4 new tests (3 client + 1 repo)

Co-authored-by: dtwdtw <dtwdtw>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 00:35:31 +08:00
wbtiger e892370de8 init gitlink-cli 2026-04-17 10:01:30 +08:00