go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.15k stars 5.41k forks source link

Can't mirror projects from GH with topics >25 characters on Postgres #14125

Closed somera closed 3 years ago

somera commented 3 years ago

Description

Problem mirroring some projects:

https://github.com/Computer-Kurzweil/computer_kurzweil.git Migrate repository from https://github.com/Computer-Kurzweil/computer_kurzweil.git failed: pq: Wert zu lang für Typ character varying(25)

https://github.com/Computer-Kurzweil/diffusion-limited-aggregation.git Migrate repository from https://github.com/Computer-Kurzweil/diffusion-limited-aggregation.git failed: pq: Wert zu lang für Typ character varying(25)

https://github.com/Computer-Kurzweil/mandelbrot.git Migrate repository from https://github.com/Computer-Kurzweil/mandelbrot.git failed: pq: Wert zu lang für Typ character varying(25)

Screenshots

zeripath commented 3 years ago

The problem is that these repositories all have topics >25 characters long.

somera commented 3 years ago

The problem is that these repositories all have topics >25 characters long.

Can I change the column size? Or should I wait for the fix?

zeripath commented 3 years ago

I think changing the size in the db would work.

michaelx commented 3 years ago

Duplicate of #14108.