Skip to content

Transfer Repo Ownership SSH Clone Redirect #30565

@NikolaDimic

Description

@NikolaDimic

Description

When transferring ownership of a repository (moving it to a new Org):

  • cloning the repository with the old URL using HTTP successfully makes a redirect to a new path (and pulls the repo)
  • cloning the repository with the old URL using SSH does not do a redirect.

Not sure if this should be a bug or a feature request, but seeing as redirects exist, and are kept in the Database I would expect it to work for both protocols.

Gitea Version

1.21.1+21

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I am hosting a standalone Gitea instance running on Ubuntu 20.04 as a systemd service.
Gitea binary: 1.21.1+21-gb7e3adc66

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions