Skip to content

Add repository tags endpoint with CLI and tests - #209

Merged
pietbrauer merged 2 commits into
mainfrom
feature/tags
May 14, 2026
Merged

Add repository tags endpoint with CLI and tests#209
pietbrauer merged 2 commits into
mainfrom
feature/tags

Conversation

@pietbrauer

Copy link
Copy Markdown
Member

Implements GET /repos/{owner}/{repo}/tags via new RepositoryTag and TagCommit models, tags() and tagsPaginated() methods (callback + async), and a listTags router case. Adds tags.json fixture, 4 tests, a repository get-tags CLI subcommand, and a run_cmd entry in update-fixtures.sh. Also resolves merge conflict in Repository.swift, restoring missing GetTopics, GetContent, and GetTags subcommands.

Closes #153

Implements GET /repos/{owner}/{repo}/tags via new `RepositoryTag` and
`TagCommit` models, `tags()` and `tagsPaginated()` methods (callback +
async), and a `listTags` router case. Adds `tags.json` fixture, 4 tests,
a `repository get-tags` CLI subcommand, and a `run_cmd` entry in
update-fixtures.sh. Also resolves merge conflict in Repository.swift,
restoring missing GetTopics, GetContent, and GetTags subcommands.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Regenerated tags.json via the CLI update script against
nerdishbynature/octokit.swift (31 real tags). Updated test assertions
to match the live fixture values.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pietbrauer
pietbrauer merged commit a25b3fe into main May 14, 2026
4 checks passed
@pietbrauer
pietbrauer deleted the feature/tags branch May 14, 2026 18:33
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.

Repositories tags

1 participant