You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No idea why it was made this way in the first place, but this regex strips digits from the repository name before creating the directory for the git mirror.
I would really help reading the directory names if they were matching the their name on GitHub. And since GitHub allow digits, we probably should review the regex. I was not able to find an official source from GitHub stating that, but I found a few place mentioning it.
Repository name should contain only alphanumeric, dash ('-'), underscore ('_') and dot ('.') characters.
No idea why it was made this way in the first place, but this regex strips digits from the repository name before creating the directory for the git mirror.
https://github.com/eXolnet/redmine_git_mirror/blob/master/app/models/repository/git_mirror.rb#L120
I would really help reading the directory names if they were matching the their name on GitHub. And since GitHub allow digits, we probably should review the regex. I was not able to find an official source from GitHub stating that, but I found a few place mentioning it.
go-gitea/gitea#13943
https://stackoverflow.com/a/59082561
The text was updated successfully, but these errors were encountered: