Skip to content

[Completed] I add support for Chinese or Unicode names for repositories/users/organizations/teams to Gitea #38244

Description

@znsoooo

What problem would this solve?

(标题:为Gitea添加支持中文仓库名/用户名/组织名/团队名的功能)

This proposal was rejected by the official (#13943). And the original issue has been closed, I cannot reply there, So I am opening a new issue.

(这是一个已经被官方拒绝的提案(#13943),但是由于原issue已被关闭,我无法回复,所以我新打开一个issue)

Since the proposal has been rejected, I will not submit a PR.

(既然提案已经被拒绝,我不会提交PR)

What do you propose?

I forked the repository code and removed all the code that checks for valid names. Now it supports Unicode for usernames, repository names, organization names, team names, and badge names.

(我fork了仓库代码,通过移除了所有关于命名合法性校验的代码,现在实现支持中文和Unicode用户名、仓库名、组织名、团队名、和徽章名)

Using effect (使用效果):

Image

.

Detail introduction and Windows executable download link (具体介绍和Windows可执行程序下载):

https://github.com/znsoooo/gitea-support-chinese-repo-name

Related issues (相关issue):

People who might be interested (可能感兴趣的人):

@andrewlukoshko @bigsk05 @clarfonthey @D0ctorWh0 @davidlt @dxf1122 @kevinlin18 @myoung1032 @omeryildiz58 @rcdevice @sergey-dryabzhinsky @techknowlogick @usernamedd

@delvh @lunny @silverwind @wxiaoguang @zeripath

@newhinton @jolheiser @lafriks

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions