Reference in New Issue
Block a user
Delete Branch "feat/repo-ux"
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?
What
Batch 2 of the v0.2 sprint — quality-of-life tools.
Changes
repo_treeGET /git/trees/{ref}?recursive=1— full file tree in one callrepo_topics_updatePUT /repos/{owner}/{repo}/topics— replaces topic listfile_readdir-path fix"path X is a directory, not a file — use dir_list"instead of a JSON unmarshal panicNotes
repo_treealways usesrecursive=true— agents need the full tree; partial trees require SHA traversal which adds round-tripsrepo_topics_updateis a full replacement (Gitea's API is PUT, not PATCH)file_readfix is in the client layer (GetFileContents) sodir_listalso benefitstask checkpasses (lint + race test + vet + govulncheck).repo_tree: GET /git/trees/{ref}?recursive=1 — full recursive file tree repo_topics_update: PUT /repos/{owner}/{repo}/topics — replace topic list file_read: detect array response and return descriptive error for dir paths