Skip to content

Add kit domain layer with trending, search, user, and repo ops#1

Merged
tamnd merged 1 commit into
mainfrom
feat/kit-domain
Jun 15, 2026
Merged

Add kit domain layer with trending, search, user, and repo ops#1
tamnd merged 1 commit into
mainfrom
feat/kit-domain

Conversation

@tamnd

@tamnd tamnd commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Wire the gitee package into any-cli/kit: register Domain{}
  • Add trending list op: lists repos from the Gitee explore endpoint (repos/explore)
  • Add search list op: searches repos via the Gitee search API
  • Add user single op: fetches a user profile from users/USERNAME
  • Add repo single op: fetches a repo from repos/OWNER/REPO
  • Add kit:"id" and table: struct tags to Repo, User, and Release
  • Add domain.go and domain_test.go covering Classify, Locate, parseRepoRef, and ResolveOn

Test plan

  • go test ./... passes
  • gitee trending fetches trending repos from Gitee explore
  • gitee search <query> searches repos
  • gitee user <username> fetches a user profile
  • gitee repo <owner/repo> fetches a repository

Wire the gitee package into any-cli/kit: register Domain{}, expose four
ops: trending (repos/explore), search (search/repositories), user
(users/USERNAME), and repo (repos/OWNER/REPO). Add kit:"id" and table:
tags to Repo, User, and Release. Add domain.go + domain_test.go covering
Classify, Locate, parseRepoRef, and host wiring via ResolveOn.
@tamnd tamnd merged commit 6bf22f9 into main Jun 15, 2026
@tamnd tamnd deleted the feat/kit-domain branch June 15, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant