Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8342203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:42:04+00:00 2026-06-09T05:42:04+00:00

Just installed GitLab , it works perfectly with one exception: It stores repositories for

  • 0

Just installed GitLab, it works perfectly with one exception: It stores repositories for all users in one directory by default, and if two users independently would try to create project with the same name, for example, “test”, the second user will receive failure like “path already been taken”.

The basic approach to isolate repositories of each user is to have them inside subfolders with username, just like GitHub does. But I have no idea how to do that.

I know GitLab uses Gitolite to manage repositories, and the last one have a feature that should allow it: it is named “wildcard users”, in gitolite.conf it looks like this:

@wildcard_users = user1 user2 user3
repo    CREATOR/.*
    C     = @wildcard_users
    CRW+D = CREATOR
    RW    = WRITERS
    R     = READERS

This way we see CREATOR in repo path, which will be replaced with user name created repository. But the only way I see I could use this feature is to manually admin gitolite using a clone of gitolite-admin.git repository, and that kills the whole idea of GitLab where all things like this should be allowed through web interface.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:42:06+00:00Added an answer on June 9, 2026 at 5:42 am

    The exact Gitolite feature covering that need is called “wild repos“, and it is based on the user creating the repo (so, not GitLab)

    just create a new repo, as user “u4” (a student):

    $ git clone git@server:assignments/u4/a12
    Initialized empty Git repository in /home/sitaram/a12/.git/
    Initialized empty Git repository in /home/git/repositories/assignments/u4/a12.git/
    warning: You appear to have cloned an empty repository.
    

    Notice the two empty repo inits, and the order in which they occur 😉

    GitLab doesn’t support that workflow, and would need some large patch in order to manage repos which aren’t directly under the repositories directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just installed MonoDevelop 2.2 Beta 1 on OSX Snow Leopard, and all is good.
I just installed MonoDevelop, but I cannot refresh the add-in repositories (see picture) Version
Just installed Xcode 4 so far so good, except that Apple changed all the
Just installed Xcode 4 using the default installation and am programming an iOS application.
just installed Silverlight Tools All with nuget. I was hoping to find the Microsoft.Silverlight.Testing
I just installed mysql server 5.5.20 on my OS X Lion and everything works
I just installed Joomla on my pc. Everything works just fine. I installed a
i just installed plupload on my server to test it out, it works a
Just installed a clean version of mongodb on Fedora 17 64-bit, but the Mongo
Just installed Python 2.7.3 on a Windows7 machine. How do I get .py files

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.