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

Italian alphabet onlyin repo + org names #31345

Open
icf20 opened this issue Jun 12, 2024 · 4 comments
Open

Italian alphabet onlyin repo + org names #31345

icf20 opened this issue Jun 12, 2024 · 4 comments
Labels
issue/not-a-bug The reported issue is the intended behavior or the problem is not inside Gitea

Comments

@icf20
Copy link

icf20 commented Jun 12, 2024

Description

Apparently repo and organizations names cant have

ñ, ç, ț, ă, â, ș, î

yes "Gobierno de España" the Spanish government is not allowed to be an organization

image

dont ask to have ñ->n, last time White House did that i went from feliz año to feliz ano

Gitea Version

1,22

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

No response

How are you running Gitea?

container

Database

None

@icf20 icf20 added the type/bug label Jun 12, 2024
@silverwind
Copy link
Member

silverwind commented Jun 12, 2024

These name limitations are intentional to keep compatibilty with other forges like GitHub etc. See #4150 (comment) for some recent research on repo/org names. I guess it'd be fine to make this regex configurable but the default must stay compatible with other forges.

@delvh
Copy link
Member

delvh commented Jun 12, 2024

I guess it'd be fine to make this regex configurable

Not a good idea.
We cannot control what you write into the regex.
Why is not being able to validate it a bad idea?
Well… the org names must appear on your file system.
I have no idea how well OSs like Windows handle certain names.
Or even Linux, as special chars in a filename are always a good idea to annoy your server admin to no end.
And since we cannot validate the regex, this will lead to hard to understand error messages, and thus pissed off users.
So no, I'm not a fan of allowing non-ASCII chars.

@silverwind
Copy link
Member

Recent filesystems handle unicode pretty well, but still it's likely better to not let the user unknowingly break the portability of their repos.

@lunny
Copy link
Member

lunny commented Jun 13, 2024

I don't support relaxing the limitation except the git file system structure has been changed.

@lunny lunny added issue/not-a-bug The reported issue is the intended behavior or the problem is not inside Gitea and removed type/bug labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/not-a-bug The reported issue is the intended behavior or the problem is not inside Gitea
Projects
None yet
Development

No branches or pull requests

4 participants