Closed
Description
- Gitea Version: 1.6.4
- Git Version: 2.15.3
- Operating System: Alpine Linux 3.7.1
The current fork API (implemented in routers/api/v1/repo/fork.go) support forking a repo with two restrictions:
- The forked repo name remains the same as the source repo name
- The forked repo is owned by the API caller
My suggestion is to support a custom repo name for the forked repo, and to allow an admin user to create forks for other users.
Do you think such an extension is reasonable? Should I send a PR for this?