문제

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