{"id":16624349,"url":"https://github.com/dcramer/git-owners","last_synced_at":"2025-10-30T00:31:49.228Z","repository":{"id":6588791,"uuid":"7831333","full_name":"dcramer/git-owners","owner":"dcramer","description":null,"archived":false,"fork":false,"pushed_at":"2013-01-28T23:23:25.000Z","size":128,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T11:18:55.630Z","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":"linkedin/kafka-monitor","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcramer.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2013-01-26T00:35:32.000Z","updated_at":"2023-09-08T16:37:21.000Z","dependencies_parsed_at":"2022-08-27T18:31:10.134Z","dependency_job_id":null,"html_url":"https://github.com/dcramer/git-owners","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/dcramer%2Fgit-owners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fgit-owners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fgit-owners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fgit-owners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcramer","download_url":"https://codeload.github.com/dcramer/git-owners/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238913107,"owners_count":19551488,"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-10-12T03:46:06.264Z","updated_at":"2025-10-30T00:31:43.965Z","avatar_url":"https://github.com/dcramer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"git-owners\n==========\n\nA script which scrapes your git repositories (locally) and shows you statistics on the amount of ownership\nindividuals have over coded (e.g. git blame).\n\nUsage:\n\n::\n\n    python generate.py path/to/repo path/to/other/repo\n\nYou can also pass numerous options, but you'll likely want consisten options, so stick them in a JSON file:\n\n::\n\n    {\n        \"include\": [\"*.php\", \"*.java\", \"*.c\", \"*.h\", \"*.py\", \"*.js\", \"*.html\", \"*.less\", \"*.css\"],\n        \"exclude\": [\"media/js/src/lib/*\", \"*.min.js\", \"media/build/*\", \"media/js/tests/externals/*\"],\n        \"aliases\": {\n            \"david@disqus.com\": \"dcramer@gmail.com\"\n        },\n        \"drop_domains\": true\n    }\n\nAnd pass them as --config::\n\n    python generate.py path/to/repo --config=disqus.json\n\n\nYou'll end up with something like this::\n\n    Code Ownership (top 25 users by lines of code)\n    ----------------------------------------------------------------------------------\n    1  dcramer              71734        19.3%\n    2  anton                47572        12.8%\n    3  ben                  47135        12.7%\n    4  joshua               33467        9.0%\n    5  brett                20320        5.5%\n    6  dz                   17809        4.8%\n    7  jason                15267        4.1%\n    8  chris                13780        3.7%\n    9  george               11427        3.1%\n    10 gab                  11316        3.0%\n    11 ted                  10675        2.9%\n    12 daniel               8753         2.4%\n    13 jeff.pollard         8254         2.2%\n    14 byk                  7816         2.1%\n    15 steven               7483         2.0%\n    16 andrew               6530         1.8%\n    17 devin                6089         1.6%\n    18 mike                 5913         1.6%\n    19 matt                 3627         1.0%\n    20 john                 2661         0.7%\n    21 dlorenc              2430         0.7%\n    22 karen                2381         0.6%\n    23 vagrant              1658         0.4%\n    24 adam                 1598         0.4%\n    25 sean                 1250         0.3%\n\n    File Ownership (top 25 files by number of lines)\n    ----------------------------------------------------------------------------------\n    1  ..emplates/embed/next/views.js      ben                  3840         63.4%\n    2  ..squs/media/styles/global.css      jason                3523         94.3%\n    3  ../src/embed/custom/actions.js      anton                2995         90.0%\n    4  ..lounge/theme/less/theme.less      anton                2836         75.6%\n    5  ..squs/media/css/next/home.css      joshua               2814         95.3%\n    6  ..us/media/css/next/global.css      joshua               2581         100.0%\n    7  ..edia/js/tests/next/lounge.js      ben                  2573         38.3%\n    8  ..rc/embed/next/embed-ender.js      ben                  2553         92.7%\n    9  ../disqus/media/css/admin2.css      dcramer              2329         99.9%\n    10 ..disqus/media/css/landing.css      joshua               2149         100.0%\n    11 ..a/js/src/embed/next/vglnk.js      gab                  2114         100.0%\n    12 ..us/media/css/invite-next.css      joshua               2035         100.0%\n    13 ..es/dtpl/defaults.toolbar.css      ben                  1986         83.9%\n    14 ..squs/disqus/forums/models.py      dcramer              1975         39.0%\n    15 ..qus/contrib/BeautifulSoup.py      andrew               1864         91.6%\n    16 ..styles/v3/dc-application.css      daniel               1818         76.3%\n    17 ../sexyapi/controller/tests.py      dcramer              1788         84.0%\n    18 ..dia/styles/dtpl/defaults.css      ben                  1772         71.7%\n    19 ..t/disqus/media/css/admin.css      chris                1749         72.8%\n    20 ..ia/js/src/host/commentbox.js      george               1553         74.0%\n    21 ..squs/forums/api/endpoints.py      dcramer              1451         75.7%\n    22 ..media/less/layouts/home.less      steven               1307         91.4%\n    23 ..n/disqus/admin/json/tests.py      devin                1251         88.0%\n    24 ..a/css/v5/admin/analytics.css      ben                  1239         95.7%\n    25 ../media/css/next/override.css      joshua               1238         100.0%\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcramer%2Fgit-owners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcramer%2Fgit-owners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcramer%2Fgit-owners/lists"}