[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xen Project statistics help



On Fri, 16 Aug 2024, Stefano Stabellini wrote:
> Hi Kelly,
> 
> xen.biterg.io was created by a company called Bitergia. Bitergia was
> later contracted by the Linux Foundation to create a generic dashboard
> for all their Open Source projects. Getting access to the Linux
> Foundation dashboard is the best way to go (if it comes to no cost to
> our project).
> 
> I have used scripts like these in the past to get some data out of a
> release. You can copy/paste the output to an Excel datasheet to do
> further calculations there.
> 
> # List of contributors by name (using the commit "Author" tag) for the
> # 4.19 release. One name per commit.
> git log 4.18.0-rc4...4.19.0-rc4 --format='%aN' | sort | uniq -c | sort -rn
> 
> # List of reviewers (using the Reviewed-by and Acked-by tags) for the
> # 4.19 release. One name per review.
> git log 4.18.0-rc4...4.19.0-rc4 --pretty=format:%b | grep -E 
> "Reviewed-by|Acked-by" | sed -E 
> 's/.*(Reviewed-by|Acked-by):\s*(.*)\s*<.*/\2/' | sort | uniq -c | sort -rn

Sorry both of these are the aggregate numbers, not one per commit. To
get one per commit remove the last part "sort | uniq -c | sort -rn" like
this:

git log 4.18.0-rc4...4.19.0-rc4 --pretty=format:%b | grep -E 
"Reviewed-by|Acked-by" | sed -E 's/.*(Reviewed-by|Acked-by):\s*(.*)\s*<.*/\2/'



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.