Skip to content

API: create repo with invalid label set hangs gitea #14327

Closed
@noerw

Description

@noerw

Description

Using the API to create a repo with a non-existent label-set makes gitea hang, and leaves a partially initialized repo.

On gitea.com the repo is partially created, and an empty error message is returned.
Testing locally with 9659808, Gitea hangs indefinitely instead of finishing the request.

Following requests give repository files already exist.

To reproduce:

tea repo create --name foo --labels asdfasdf404

ref: https://gitea.com/gitea/gitea.com/issues/21

Metadata

Metadata

Assignees

Labels

modifies/apiThis PR adds API routes or modifies themtype/bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions