claude-memory/graph/solutions/replace-gitea-create-prsh-with-tea-cli-for-pr-creation-8a8f78.md

1.0 KiB

id type title tags importance confidence created updated
8a8f78f6-da00-4627-8e51-cd02ccbb17f2 solution Replace gitea-create-pr.sh with tea CLI for PR creation
gitea
tea
cli
refactor
automation
0.6 0.8 2026-02-13T21:21:07.952437+00:00 2026-02-13T21:21:07.952437+00:00

Deleted custom /home/cal/.claude/scripts/gitea-create-pr.sh script and replaced with native tea CLI tool.

Old approach: gitea-create-pr.sh cal/repo branch main 'Title' 'Description'

New approach: tea pulls create --repo cal/repo --head branch --base main --title 'Title' --description 'Description'

Benefits:

  • No custom script maintenance
  • Better error handling from native Gitea CLI
  • Support for advanced features (labels, assignees, milestones, deadlines)
  • Consistent with other Gitea operations (repos list, issues list, etc.)
  • tea is already authenticated as cal@homelab

Updated ~/.claude/CLAUDE.md with tea pulls create examples and removed script references.

This is part of the broader migration from gh CLI (GitHub-only) to tea CLI (Gitea-native).