Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer
1  
I wonder if changing that regex is all that would need to be done, or if that would break things... – Bryan Agee May 1 '12 at 22:08
    
@BryanAgee It's possible, but I haven't tested it. – VonC May 2 '12 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .