質問

I am using gitolite for managing a repository and I want to know who accessed to the last changes and when. Is it possible to retrieve information of pull/clone requests from a remote when using gitolite for managing the repos? Is there any records of these operations? What about it if I use other tools and not gitolite?

Thanks in advance.

(I know about this question and this other one but mine seems more specific since I'm asking about gitolite or similar tools).

役に立ちましたか?

解決

You can take advantage of the files maintained in ~/.gitolite/logs by gitolite.

Those log files will record any git operation, authorized or denied.

But they aren't "exported" or visible outside the gitolite server by default.
To expose them, you need some kind of audit log web server, like for instance logstash (which is a generic tool, for managing events and logs: it isn't linked to gitolite, but can parse its logs and display information about their content).

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top