Re: Bugs in Gitosis

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sitaram Chamarty
Date: Thursday, October 28, 2010 - 4:54 pm

I can't speak for gitosis -- I thank my stars every day that
the gitosis author did not reply to my emails back then,
because otherwise there may not have been a gitolite.

But I will try and address a couple of points which strike
me as important, especially ones that affect gitolite also,
just for completeness.

On Fri, Oct 29, 2010 at 2:28 AM, Olsen, Alan R <alan.r.olsen@intel.com> wrote:


<wink, wink> I think that is the first issue ;-)





Gitolite will do the same thing.  This is an artifact of the
fact that neither of them is looking *inside* the key and
comparing with others, coupled with the fact that sshd does
a linear scan, and when it finds a match it goes with it.

I can tell you that in gitolite, I have no intention of
adding that check by comparing the contents of the keys.

However, gitolite does have "sshkeys-lint" which will catch
the problem and tell you that second key will be ignored by
sshd.  You have to run this manually though.



Good.  A server side repo has no business having a working
tree ;-)

Gitolite was modelled after gitosis, although it's hard to
imagine that now, seeing how far apart they are today.

Server side repos == bare repos.  Bare repos == .git suffix
as a convention in git-land.  This convention becomes
"standard" in gitolite.

"cloning code into the repo on the local machine" -- if I
assume git clone, just add --bare maybe?



Gitolite will only care about directories ending in ".git".



What I found more problematic was it would silently ignore
typos such as "member" instead of "members".

Gitolite will show you lots of errors.

You can still push up a botched-config (syntactically
correct but you managed to lock yourself out by typoing your
own name!), but you don't have to throw in the towel --
there is "gl-dont-panic" (written 2 months after "towel
day", to my eternal regret ;-)

Sitaram
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Bugs in Gitosis, Olsen, Alan R, (Thu Oct 28, 1:58 pm)
Re: Bugs in Gitosis, Matthieu Moy, (Thu Oct 28, 2:42 pm)
RE: Bugs in Gitosis, Olsen, Alan R, (Thu Oct 28, 3:22 pm)
Re: Bugs in Gitosis, Sitaram Chamarty, (Thu Oct 28, 4:54 pm)
Re: Bugs in Gitosis, Sitaram Chamarty, (Thu Oct 28, 5:02 pm)
RE: Bugs in Gitosis, Olsen, Alan R, (Mon Nov 1, 10:23 am)
Re: Bugs in Gitosis, Shawn O. Pearce, (Mon Nov 1, 10:32 am)