Skip to content

Allow forking without a repo ID #29512

Closed
@CanisHelix

Description

@CanisHelix

Feature Description

Forking a repository via the web UI currently requires visiting a /repo/fork/{{repoid}} URL. This makes it cumbersome to create a link that starts a fork, because the repository ID is only available via the API. While it is possible to create a link, doing so requires extra steps.

To make it easier to have a "Fork me!"-style links, introduce the /{username}/{repo}/fork route, which will start the forking process based on the repository in context instead.

This would bring gitea in line with Github's behavior too.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions