{"id":19848725,"url":"https://github.com/etcwilde/research","last_synced_at":"2025-02-28T20:32:02.571Z","repository":{"id":80177834,"uuid":"153368541","full_name":"etcwilde/Research","owner":"etcwilde","description":"Random research-related explorations","archived":false,"fork":false,"pushed_at":"2018-10-17T01:11:10.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"CommitProfiles","last_synced_at":"2025-01-11T12:47:56.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/etcwilde.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":"2018-10-16T23:41:40.000Z","updated_at":"2018-10-17T01:11:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"647b9e02-fd7e-4f5b-97b4-6a4b2f501f39","html_url":"https://github.com/etcwilde/Research","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/etcwilde%2FResearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FResearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FResearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcwilde%2FResearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etcwilde","download_url":"https://codeload.github.com/etcwilde/Research/tar.gz/refs/heads/CommitProfiles","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241226819,"owners_count":19930487,"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-12T13:18:12.540Z","updated_at":"2025-02-28T20:32:02.566Z","avatar_url":"https://github.com/etcwilde.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commit Profiles\n\nThis repository contains the scripts and parts of the initial write-up\nof what I was seeing as I was doing the experiments. I would include the\ndatabases I worked with, but they are unfortunately too big to be\nuploaded to GitHub. 171Mb compressed, but GitHub only allows files up\nto 100Mb.\n\nMy Linux database is based on commit\n7876320f88802b22d4e2daf7eb027dd14175a0f8, and the LLVM database is based\non commit a2434c2657e24263fab58e864aea7fb0049daefd.\n\nTo generate a database, just run the `git-reader.py` script.\n\n```\nUsage: git-reader.py [-o output.db] input\n```\n\nThe input is the path to the root of a git repository. That git\nrepository should be at the latest commit you want included. It will\ninclude everything that has been integrated back into the project.\n\nThe output is a sqlite database containing two tables:\n```\n| Commits       |                |                             |\n|---------------+----------------+-----------------------------|\n| cid           | CHARACTER (40) | Commit hash                 |\n| created_at    | DATE           | When the commit was created |\n| files_touched | INTEGER        | Number of files modified    |\n| lines_added   | INTEGER        | Number of lines added       |\n| lines_removed | INTEGER        | Number of lines removed     |\n|               |                |                             |\n| PRIMARY KEY   | cid            |                             |\n```\n```\n| Files       |                 |                                                      |\n|-------------+-----------------+------------------------------------------------------|\n| cid         | CHARACTER (40)  | Commit hash                                          |\n| filename    | TEXT            | Name of the file                                     |\n| added       | INTEGER         | Number of lines added to the file in this commit     |\n| removed     | INTEGER         | Number of lines removed from the file in this commit |\n|             |                 |                                                      |\n| PRIMARY KEY | (cid, filename) |                                                      |\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcwilde%2Fresearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetcwilde%2Fresearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcwilde%2Fresearch/lists"}