git/list[1] front-page[2] threads[3] people[4] search[5] about
 

"trying out" gitolite with minimum impact on a system

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Oct 11, 2011, 17:19 UTC
Message-ID
<CAMK1S_g5CnP+vrE71cqMgcjpj8ocE+wdtA2vPjeaXGCRNt25Dw@mail.gmail.com>

(This is kind of a record for me, 2 gitolite related emails to the git ML in less than a month)

If you were in the position of vaguely thinking gitolite may be useful to you but lacked the time to actually install it to try things out, this may help.

----

Some folks want to be able to try gitolite's access control features, play with the configuration language, and so on, but to actually *install* it seems like a "commitment" of some kind.

Gitolite has always had the ability to be installed *entirely* within one Unix userid. Plus, the homegrown test suite I've been using for a while now has always simulated different "gitolite users" with a bit of ~/.ssh/config magic.

So I just combined the two, and made the client also be on the same Unix userid, resulting in this: http://sitaramc.github.com/gitolite/t/README.html#_playing_with_gitolite

Briefly, it boils down to this: create a user, log in as that user, clone gitolite, run *one* command. Done.

After that, entirely within that user, you have an admin user and six normal users, to do with as you please. You emulate different users simply by using a different username in the URL, like "git clone u1:reponame" versus "git clone u2:reponame".

This gives you a chance to play with the myriad access control features gitolite has.

When done, delete that user and your system is back where it was.
-- 
Sitaram
Next: Philippe Vaucher
Message 1 of 3 in “"trying out" gitolite with minimum impact on a system”
  1. Sitaram ChamartyOct 11, 2011
  2. Philippe VaucherOct 12, 2011
  3. Sitaram ChamartyOct 12, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.