minutes of ESC call ...

Eike Rathke erack at redhat.com
Thu May 11 21:05:22 UTC 2017


Hi,

On Thursday, 2017-05-11 15:44:56 +0100, Michael Meeks wrote:

>     + openhub statistics (2001-01-01), -1(-1) people did -1(-1) commits in 12 month in -1(-1) lines of code
>          + Is that really so ? -1 lines is a lot ...

Currently https://www.openhub.net/p/libreoffice says

30 Day Summary
Apr 1 2017 — May 1 2017
1216 Commits
79 Contributors

12 Month Summary
May 1 2016 — May 1 2017
15733 Commits
Down -2331 (12%) from previous 12 months
270 Contributors
Down -30 (10%) from previous 12 months

However, OpenHub notoriously being a source of not updated data (and now
maybe an API change so all those -1 values?), I propose we
(additionally) use the GitHub data from
https://github.com/LibreOffice/core/pulse/monthly

Excluding merges, 85 authors have pushed 1,279 commits to master and
1,932 commits to all branches. On master, 5,591 files have changed and
there have been 111,775 additions and 71,331 deletions.


API doc at https://developer.github.com/v3/repos/statistics/

For example, commits last 52 weeks daily (no author count though)
curl -i https://api.github.com/repos/LibreOffice/core/stats/commit_activity
piped through
awk -e '/^ +"total": [[:digit:]]+,$/ {if(++i>=48){n+=substr($2,1,length($2)-1)}} END{print "Commits: " n}'

gives the number of commits of the last 4 weeks plus days of current
week (currently 1339).
Note this awk scriptlet works only for unauthenticated (limited to 60
per hour per IP) API queries as otherwise the JSON data is all on one
line..

The example uses the source data of graphs with commits daily / weekly / 52 weeks
https://github.com/LibreOffice/core/graphs/commit-activity

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170511/46c657c0/attachment.sig>


More information about the LibreOffice mailing list