{"id":20713300,"url":"https://github.com/linaro/git-stats","last_synced_at":"2025-07-26T18:04:50.893Z","repository":{"id":66923551,"uuid":"346983472","full_name":"Linaro/git-stats","owner":"Linaro","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-31T08:52:44.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-17T21:30:13.809Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Linaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-12T07:45:54.000Z","updated_at":"2024-06-12T15:59:44.000Z","dependencies_parsed_at":"2025-01-17T21:37:09.546Z","dependency_job_id":null,"html_url":"https://github.com/Linaro/git-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Fgit-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Fgit-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Fgit-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linaro%2Fgit-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Linaro","download_url":"https://codeload.github.com/Linaro/git-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242988012,"owners_count":20217534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T02:24:24.369Z","updated_at":"2025-03-11T06:43:23.928Z","avatar_url":"https://github.com/Linaro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-stats\n\nA simple Python utility to retrieve history of a Git project. Looking\nat the project history, it counts the number of commits authored and\nsigned-off by a group of developers. The group of developers is defined\nin one or several 'identity' files. It can be used to retrieve detailed\ncommit information as well (number of changed lines, date, ...).\n\n# Installation\n\nThis script requires Python3. To install all dependencies using pip:\n\n    pip install -r requirements.txt\n\n# Usage\n\n    $ ./git-stats -h\n    usage: git-stats [-h] [-v] [-i IDENTITY [IDENTITY ...]] [-g [GROUPS ...]] [-r REFSPEC] [-s [{summary,commits} ...]]\n    \n    optional arguments:\n      -h, --help            show this help message and exit\n      -v, --verbose         enable verbose output\n      -i IDENTITY [IDENTITY ...], --identity IDENTITY [IDENTITY ...]\n                            Identity files\n      -g [GROUPS ...], --groups [GROUPS ...]\n                            restrict developers from these groups\n      -r REFSPEC, --refspec REFSPEC\n                            refspec to extract commits\n      -s [{summary,commits} ...], --show [{summary,commits} ...]\n                            List of results/stats to display\n\n# Identity file\n\nThe 'identity' file is a Yaml file that contains record for each developer.\nA developer data consists of the following:\n* Name\n* One or several email addresses\n* One or several 'groups'. A 'group' can be used to represent an affiliation\nfor a specific developer. A group includes a date range, if the commit was\ndone during this date range, then the developer is marked as 'affiliated'\nto this group. git-stat can filter commits based on group.\n\nHere is a template identity file:\n\n    John Doe:\n      emails:\n        - john.doe@linaro.org\n        - john@doe.com\n      groups:\n        - linaro-teamA:\n            start: 2010-01-01\n        - linaro-teamB:\n            start: 2016-01-01\n    Jane Doe:\n      emails:\n        - jane.doe@linaro.org\n      groups:\n        - linaro-teamC:\n            start: 2020-01-01\n\nNote: It is possible to use a Python regular expression in the 'emails' field, using this syntax:\nemails:\n    - /\u003creg expressions\u003e/\n\nE.g.\nemails:\n    - /.*@linaro.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinaro%2Fgit-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinaro%2Fgit-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinaro%2Fgit-stats/lists"}