Is there a way to produce a report on who has done a 'git clone' against a repo?
Hi Jennifer,
Not currently, and honestly it's not likely a UI feature that we're likely to add any time soon. However the data is certainly available to you in the atlassian-stash-access logs. Here is some documentation around the log format:
https://confluence.atlassian.com/display/STASHKB/Stash+Log+Formats
And if you're interested my manager has written this very handy tool to show the number of fetch, clones and pushes on a Stash instance over time. (Be warned it's written in Haskell - but there a binary downloads if you just want to run it)
https://bitbucket.org/ssaasen/stash-log-parser
Let me know if you need any more help parsing those logs.
Cheers,
Charles
Thank you, Charles
Any chance having the logparser packaged for Windows?
Hi Charles,
Reviewing the log files, I'm seeing a large number of ...."POST/scm/mob/xyz.git/git-upload-pack HTTP/1.1" | "" "JGit/2.3.1.201302201838-r" | clone, cache:hit | <or cache:miss> ...
As well, as a few:
"GET /s/en_US-1988229788/0df130c/3/2.0.0/_/download/resources/com.atlassian.stash.stash-sourcetree-plugin:stash-sourcetree-resources/sourcetree-clone-bg.png HTTP/1.1"
What is the difference between these two line entries?
Thanks much,
Jennifer
The first is someone doing a clone of the xyz repository from Stash.The latter is a browser requesting the sourcetree png image which would most likely happen on a repository page where we show the clone button.
It looks like you're new here. Sign in or register to get started.