Reputation: 139
Is it possible to create a repo called Pavilhão_Valença
in gitolite3 v3.6.6-2?
I wanted to try it but I'm scared of breaking something.
Upvotes: 2
Views: 203
Reputation: 10227
I tried creating a repo called users/me/ãtest
on my Gitolite 3 instance, and I got this error:
FATAL: suspicious characters loitering about 'create users/me/ãtest'
so no, you aren't able to create repos with such Unicode characters in the names by default.
Looking at the source code, that error is caused by this line, which refers to this pattern, which only contains non-accented letters, numbers, and some symbols.
There shouldn't be any issue with using such characters in filenames for the underlying filesystem (at least it worked fine on my ext4 filesystem on Debian Linux), so if that regex was to be changed, it would Probably WorkTM.
According to this post on the mailing list, you can copy that line into your ~/.gitolite.rc
and modify it there.
Upvotes: 3