1
1
I want to have a SparkleShare repository that has spaces in the names, but it seems that gitolite doesn't like my config file to have spaces in the names.
1
1
I want to have a SparkleShare repository that has spaces in the names, but it seems that gitolite doesn't like my config file to have spaces in the names.
2
Gitolite (v2 or v3) doesn't seem to support repo names with spaces in it.
If you look at Store.pm
:
# normal repos
my @repos = grep { $_ =~ $REPONAME_PATT and not /^@/ } sort keys %repos;
With Rc.pm
$REPONAME_PATT = qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@/+-]*$);
So no space in that pattern, when adding or removing repos in Gitolite.
1I wonder if changing that regex is all that would need to be done, or if that would break things... – Bryan Agee – 2012-05-01T22:08:34.283
@BryanAgee It's possible, but I haven't tested it. – VonC – 2012-05-02T06:40:45.197