mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-08 20:58:16 -05:00
[PR #224] [MERGED] feat: import repo topics and description into Gitea #1343
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/224
Author: @arunavo4
Created: 3/14/2026
Status: ✅ Merged
Merged: 3/15/2026
Merged by: @arunavo4
Base:
main← Head:codex/issue-222-topics-description📝 Commits (2)
dd87ddflib: sync repo topics and descriptions62c97calib: harden metadata sync for existing repos📊 Changes
1 file changed (+290 additions, -56 deletions)
View changed files
📝
src/lib/gitea.ts(+290 -56)📄 Description
Summary
Implementation Details
src/lib/gitea.ts.PATCH /api/v1/repos/{owner}/{repo}.GET /repos/{owner}/{repo}/topics) and applied in Gitea viaPUT /api/v1/repos/{owner}/{repo}/topics.topicPrefixis applied.giteaConfig.addTopics(disabled when set tofalse).Validation
bun test src/lib/gitea.test.ts src/lib/gitea-enhanced.test.ts src/lib/gitea-starred-repos.test.tsbun run buildCloses #222
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.