Skip to content

migrate gitLab repos via deploy token instead of personal token #17762

@EngelPika32

Description

@EngelPika32

Feature Description

As the title says.
As of now, you can only migrate gitLab repos via a personal access token.
However, I propose this should be possible via a deploy token as well.

Additionally, using deploy tokens seems more secure, as you don't have to give access to all repos of an acc to a gitea instance but rather limit the access to the bare minimum required.

Screenshots

No response

Activity

EngelPika32

EngelPika32 commented on Nov 22, 2021

@EngelPika32
Author

I've just noticed the issue described in #17763 – which possibly prevents the use of deploy tokens. The needed scope requires some clarification.

I still hope, deploy tokens become an option in the future.

Additionally, I'd like to add the following:

You only need one personal token per account, yet you enter one per migration. Personal tokens aren't scoped to a single repo.
They should be re-usable for multiple migrations. For that, they need to be added to your account settings instead.

I know, that you (a user) could save them somewhere else in order to enter the same token in multiple migrations, yet I don't think this should be the way to go.

added
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
topic/repo-migrationMigrate repos from other platforms to Gitea, or from Gitea to them
on Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/repo-migrationMigrate repos from other platforms to Gitea, or from Gitea to themtype/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

        Participants

        @lunny@EngelPika32

        Issue actions

          migrate gitLab repos via deploy token instead of personal token · Issue #17762 · go-gitea/gitea