stamblerre / work-stats Goto Github PK
View Code? Open in Web Editor NEWCommand to export statistics on a user's CLs, reviews, and issues on the Go project.
License: MIT License
Command to export statistics on a user's CLs, reviews, and issues on the Go project.
License: MIT License
Some cells should be links, and it's possible to do this with the UserEnteredValue.FormulaValue
and a HYPERLINK=
formula. We just need to provide hyperlinks and indices of those hyperlinks in the generic.Row type.
Remaining tasks:
For changelists without the "pkg/path: message" format of description, it is difficult to make a categorization.
We should add the list of files in the changelist to the generic.Changelist struct, and then use that to extract a category if none exists. The best way to do that would probably be to count directories and choose the most common one or the most common parent.
The owner of these PRs will be GerritBot, not the user themselves. Perhaps we should return a list of associated PRs so additional detail can be extracted from them.
In the meantime, we don't skip them in the GitHub section to avoid missing CLs.
It's possible to have a CL with multiple authors.
I got this output from work-stats
for a ~1yr window:
~/src/github.com/stamblerre/work-stats$ work-stats --username=bcmills [email protected] --since=2019-02-01 2020/02/26 13:28:28 Loading data from log *maintner.netMutSource ... 2020/02/26 13:28:28 Downloading 3565 bytes of https://maintner.golang.org/logs/63 ... 2020/02/26 13:28:28 wrote /usr/local/google/home/bcmills/.cache/golang-maintner/0063.growing.mutlog 2020/02/26 13:28:42 Reloaded data from log *maintner.netMutSource. 2020/02/26 13:28:42 Wrote output to /tmp/work-stats048958562/golang-issues.csv. 2020/02/26 13:28:42 Wrote output to /tmp/work-stats048958562/golang-authored.csv. 2020/02/26 13:28:42 Wrote output to /tmp/work-stats048958562/golang-reviewed.csv. 2020/02/26 13:29:12 GET https://api.github.com/search/issues?page=11&per_page=100&q=involves%3Abcmills+updated%3A%3E%3D2019-02-01: 422 Only the first 1000 search results are available []
The 1000-result error seems unfortunate. Any ideas for how to work around it?
Noticed this for myself on fatih/vim-go#2899.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.