Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 6 tasks
somera opened this issue Dec 23, 2020 · 4 comments
Closed
1 of 6 tasks

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

somera opened this issue Dec 23, 2020 · 4 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@somera
Copy link

somera commented Dec 23, 2020

  • Gitea version (or commit ref): 1.13.0
  • Git version:
  • Operating system: Ubuntu
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

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

@somera somera changed the title Can't mirror projects Can't mirror projects: failed: pq: Wert zu lang für Typ character varying(25) Dec 23, 2020
@zeripath
Copy link
Contributor

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

@zeripath zeripath changed the title Can't mirror projects: failed: pq: Wert zu lang für Typ character varying(25) Can't mirror projects from GH with topics >25 characters on Postgres Dec 23, 2020
@somera
Copy link
Author

somera commented Dec 23, 2020

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
Copy link
Contributor

I think changing the size in the db would work.

@lunny lunny added the type/enhancement An improvement of existing functionality label Dec 24, 2020
@michaelx
Copy link

Duplicate of #14108.

@lunny lunny closed this as completed Dec 25, 2020
@lunny lunny added issue/duplicate The issue has already been reported. and removed type/enhancement An improvement of existing functionality labels Dec 25, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Feb 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

4 participants