Skip to content

Load settings before dump_repo command #34465

Closed
@elhil

Description

@elhil

Feature Description

As I found in the related forum thread, runDumpRepository never calls LoadSettings, meaning settings are ignored when trying to migrate repos. In my case, this mean SKIP_TLS_VERIFY does nothing when running dump_repo.

Adding setting.LoadSettings() somewhere in runDumpRepository would fix the issue, but I'm not sure if it would have unwanted side effects.

Edit: Specifically, I'm using ./gitea dump-repo on the cli.

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