2.9 KiB
2.9 KiB
name, description, license, compatibility, metadata
| name | description | license | compatibility | metadata | ||||
|---|---|---|---|---|---|---|---|---|
| gitea | Provides information and workflows for interacting with Gitea. | MIT | opencode |
|
What Gitea is
Gitea is a self-hosted Git service that is very similar to GitHub.
Important Notes
- Do NOT use gitea.com: We self-host Gitea at
git.nubo.sh. - Workflow: The workflow is much the same as GitHub (issues, PRs, etc.).
How to use the tea CLI
Use the tea command to interact with Gitea.
tea notifications: Check for new notifications.tea issue <number>: Read an issue.tea issue --comments <number>: Read an issue and its comments.tea comment <number> "message": Comment on an issue.tea pulls: Manage pull requests.tea pulls create: Create a pull request.tea pulls <number>: Read a pull request (e.g.,tea pulls 6).tea pulls --comments <number>: Read a pull request and its comments.- Marking as Read: Use
tea notifications readto mark notifications as read. - When to mark as read: Only mark notifications as read once you have actively addressed the underlying task or review.
Development Workflows
- Issues: Use
tea issueto track tasks and bugs. Before closing an issue, ensure the relevant Pull Request has been merged. - Pull Requests: Use
tea pullsto manage and review code changes. - Communication: Use
tea comment <number> "message"to communicate with project maintainers (e.g.,@hulthe).
Responsibility
- Don't Drop the Ball: When assigned a task or receiving a review comment, you MUST address it before moving on to other things. Ensure all follow-up actions (like replying to a comment) are completed.
Tips for Agents
- Stay Updated: Regularly run
tea notificationsto check for new issues or PR reviews. - Communicate: If confused, use
tea comment <number> "message"and mention the maintainer (e.g.,@hulthe). - Clean History: Use
git rebaseand squash commits before submitting a PR to keep the history clean. - Use Tea: Use the
teaCLI for a faster, terminal-based workflow. - Explicitly Ping: When replying to a comment, use the
@sign to explicitly ping or mention the person you are replying to. This ensures they receive a notification. - CI / Actions: Gitea uses
.gitea/workflows/(not.github/). Usetea actions runsto list runs;tea actions runs logs <id>to inspect. AStatus: completeddoes NOT mean success — always read the log tail forJob succeededorJob failed. The Alpine runner requiresnodebeforeactions/checkoutand uses package namesrust-clippy/rustfmt(notclippy).
Assignment
- Tracking Assignments: Use
tea issue --assignee <your-username>to see issues assigned to you. Also usetea pulls --assignee <your-username>for pull requests. - Checking Work: Regularly check your notifications and assigned issues to ensure you are up to date with your tasks.