-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
We propose removing the “Adopt Repository” feature from the Gitea web UI and backend, while introducing a similar capability in the tea command-line tool.
Rationale
- The feature is rarely used via the web UI and adds unnecessary complexity to the Gitea core codebase.
- Moving this functionality to the tea CLI keeps the Gitea UI simpler and more user-friendly, while still providing advanced users with the same capability.
- This change aligns with the goal of keeping the web interface focused on common workflows and moving niche or administrative actions to CLI tooling.
Proposed Changes:
Gitea Backend/UI
- Remove all backend logic, API endpoints to adopting repositories.
- Remove the corresponding UI components.
- Update documentation and translations accordingly.
tea CLI
- Add a new command (e.g., tea repo adopt) to provide equivalent repository adoption functionality.
- Support the same validation and permission checks as the original feature.
- Ensure proper error handling and user feedback in CLI output.
Screenshots
No response
delvh
Metadata
Metadata
Assignees
Labels
type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.