git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bugs in Gitosis
@ 2010-10-28 20:58 Olsen, Alan R
  2010-10-28 21:42 ` Matthieu Moy
  2010-10-28 23:54 ` Sitaram Chamarty
  0 siblings, 2 replies; 8+ messages in thread
From: Olsen, Alan R @ 2010-10-28 20:58 UTC (permalink / raw)
  To: git@vger.kernel.org

[Sorry this has taken so long. Work was been eating my time.]

Here is my list of current outstanding issues with Gitosis.  I do not have fixes for these at the moment, but people and web indexes should be aware of the problems. The author of Gitosis seems to have been taken off-line. (The list may not be complete. I may have forgotten something.)

1. Multiple duplicate keys parsing problem

This can happen when you have multiple people administering a repository. (Especially when those people are responsible for separate projects on the same server.

You have a.pub and b.pub. These are both the public key for "Bob". (The same exact key in two files.)  Any group that a.pub is added to Bob will have access to. Any group that b.pub is added to that does not contain a.pub Bob will not have access to.  (It seems to sort the keys and only sees the first occurrence of the key, not all occurrences. 

2. Trees with working directories kills Gitosis

If any of the repositories in the repository have a working directory, Gitosis will fail on a push to gitosis-admin with a bunch of Python barfage.  (I don't have an example at hand, but if you look at the code, it is looking at ".git".) This usually happens when someone tries to shortcut the process by cloning code into the repo on the local machine.

3. Gitosis needs to have access to everything.

If your mount point for the repository is /repo you have to create a directory under this, else /repo/lost+found prevents Gitosis for initializing correctly. It is a permissions issue.

4. Typos are deadly.

If you push a gitosis.conf file to gitosis-admin that has a non-parseable typo, gitosis will have problems. The immediate effect is that the authorized-keys file does not get updated. (New keys do not get added to the file, but existing ones work up except for the typo areas.) The only way to fix this is to hand-correct the copy on the server. Rerunning the gitosis-init script on the server will fix a lot of problems and does not overwrite existing configs.

Those are the ones I can remember at the moment.  As soon as I send this I will remember more.

Hope this helps.

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <AANLkTinzLL-Sk1cMd_3WNogmgvr=x4gEh7LuS8guNYgB@mail.gmail.com>]

end of thread, other threads:[~2010-11-01 17:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-28 20:58 Bugs in Gitosis Olsen, Alan R
2010-10-28 21:42 ` Matthieu Moy
2010-10-28 22:22   ` Olsen, Alan R
2010-10-29  0:02     ` Sitaram Chamarty
2010-11-01 17:23       ` Olsen, Alan R
2010-11-01 17:32         ` Shawn O. Pearce
2010-10-28 23:54 ` Sitaram Chamarty
     [not found] <AANLkTinzLL-Sk1cMd_3WNogmgvr=x4gEh7LuS8guNYgB@mail.gmail.com>
2010-10-29 10:52 ` Sitaram Chamarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).