Re: gitosis question: identifying/logging remote user
From: Sitaram Chamarty <hidden>
Date: 2016-06-15 22:46:53
On Wed, Jun 3, 2009 at 1:51 AM, Robin H. Johnson [off-list ref] wrote:
No, it just seems that you aren't expecting the extra level of indirection. Instead of explicitly exporting values via environment in authorized_keys, OR in gitosis-serve (like the other patch), I teach gitosis-serve how to find the keydir again, and extract pre-formatted data.
Thanks for the detailed explanation. It makes sense, certainly. However, I'll probably use/test the other patch :-) because that's really all I need. In an open source project, it's necessary for people to see other details (GPG FP even, as you showed), but in the kind of single-digit-team-size internal projects I manage, just the userid is quite enough. Also, I'm not even going to send emails. All I want is to be able to log each push to identify who did the push. That log may never be looked at, but if is needed, it will have enough information to go on with. Of course, if the main gitosis gets your changes, that'll be great :-) Thanks again, Sitaram