Git Product home page Git Product logo

work-stats's People

Contributors

bcmills avatar jeanbza avatar stamblerre avatar suzmue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

work-stats's Issues

generic: add support for marking cells as hyperlinks

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.

generic: add "AffectedFiles" field to Changelist and use it to determine category

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.

golang: handle CLs imported from PRs

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.

"422 Only the first 1000 search results are available" for GitHub issue interactions

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.