On Repo Creation: show usefull msg for reserved name error #312

Closed
opened 2020-06-04 01:14:55 +00:00 by 6543 · 7 comments
Member

currently it only shows "something went wrong" but do not tel the user that he is only allowd to use xyz for repo name or that the name is incorect/not compliant ....

currently it only shows "something went wrong" but do not tel the user that he is only allowd to use xyz for repo name or that the name is incorect/not compliant ....
6543 added this to the 2.5.0 milestone 2020-06-04 01:14:55 +00:00
6543 added the
🎯 Enhancement
label 2020-06-04 01:14:55 +00:00
6543 closed this issue 2020-06-04 01:14:55 +00:00
6543 self-assigned this 2020-06-04 01:15:35 +00:00
Owner

Can you list the characters?

As for some special characters its already there like e.g _$-+#(

Can you list the characters? As for some special characters its already there like e.g `_$-+#(`
Author
Member

it was about something.git

it was about `something.git`
Owner

Which means the regex does allow ., interesting.

Which means the regex does allow `.`, interesting.
Author
Member
@mmarif a `.` is ok you can us it: https://gitea.com/test-organisation/no-.dd
Author
Member
Its about the reserved names ... https://github.com/go-gitea/gitea/blob/master/models/repo.go#L964-L967
Owner

@6543 looking forward to a PR to fix this. :)

@6543 looking forward to a PR to fix this. :)
Author
Member

I'm working on it ...

I'm working on it ...
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#312
No description provided.