{"id":28280341,"url":"https://github.com/mocksi/diffdashdrone","last_synced_at":"2025-06-16T21:32:07.091Z","repository":{"id":211354518,"uuid":"728908294","full_name":"Mocksi/DiffDashDrone","owner":"Mocksi","description":"DiffDash Drone is a tool designed to analyze the git history of a repository then identify and predict Bugspots via LLM tools","archived":false,"fork":false,"pushed_at":"2024-01-12T20:26:08.000Z","size":194,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T10:13:14.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mocksi.ai/","language":"Go","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/Mocksi.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":"Roadmap.md","authors":null}},"created_at":"2023-12-08T00:48:44.000Z","updated_at":"2023-12-08T01:51:34.000Z","dependencies_parsed_at":"2023-12-08T01:30:30.605Z","dependency_job_id":"8f6b62af-998a-47bd-8e69-dee48477edbc","html_url":"https://github.com/Mocksi/DiffDashDrone","commit_stats":null,"previous_names":["mocksi/diffdashdrone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mocksi/DiffDashDrone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mocksi%2FDiffDashDrone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mocksi%2FDiffDashDrone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mocksi%2FDiffDashDrone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mocksi%2FDiffDashDrone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mocksi","download_url":"https://codeload.github.com/Mocksi/DiffDashDrone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mocksi%2FDiffDashDrone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260244783,"owners_count":22980078,"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":"2025-05-21T10:16:41.036Z","updated_at":"2025-06-16T21:32:07.077Z","avatar_url":"https://github.com/Mocksi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Diff Dash Drone@0 2x](https://github.com/Mocksi/DiffDashDrone/assets/63699/65e0f93e-2eaa-40b6-8388-995f177accd5)\n\n# Your Wingman in Decoding and Defeating Bugs\n\n## Overview\n\nDiffDash Drone is a tool designed to analyze the git history of a repository and identify potential \"bugspots\".\n\nIt parses the `.git` history into a DuckDB database and generates a report in Parquet format highlighting files that are more likely to be bugspots, based on commit messages that indicate high churn and include keywords like \"Revert\" or \"Fixes\".\n\n## Features\n\n- **Git History Parsing**: Clone and parse git repository histories.\n- **Bugspot Analysis**: Analyze commit messages and file churn to identify potential bugspots.\n- **Report Generation**: Generate a detailed report in Parquet format for easy integration with data analysis tools.\n\n## Requirements\n\n- Go (Version 1.x or later)\n- Access to a Git repository\n\n## Dependencies\n\n- `go-git`\n- `go-github`\n- `go-duckdb`\n- `tqdm` (for progress bar visualization)\n\n## Installation\n\nDownload the latest binaries from the [releases page](#TODO)\n\n## Manual Installation\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   ```\n2. Install Go\n3. Install dependencies:\n   ```bash\n   go mod download\n   go mod verify\n   ```\n4. Build and Run:\n   ```bash\n   go build\n   ./diffdash-drone\n   ```\n\n## Usage\n\n    ```bash\n    diffdash-drone [OPTIONS] \u003cpath-to-local-repository\u003e\n    ```\n\n### Options\n\n- `--help`: Display help information\n- `--version`: Display version information\n- `--parquet`: Only generate a Parquet file\n- `--bugspots`: Only generate a Basic Bugspots report\n- `--prediction`: Using a prediction model, generate an extended Bugspots report that can identify potential bugspots in the future\n\nNote: If neither `--parquet` nor `--bugspots` are specified, both a Parquet file and a Basic Bugspots report will be generated.\n\n## TODO:\n\n- [x] Create a Storage package\n- [x] Store all Git data in a DuckDB database.\n- [x] Create an Analyzer package\n- [ ] Create a Reporter package\n- [ ] Hook up to the LLM cli\n- [ ] Make magic happen\n- [ ] Build release binaries\n- [ ] Add a --help option\n- [ ] Add a --version option\n- [ ] Add a --parquet option\n- [ ] Add a --bugspots option\n- [ ] Add a --prediction option\n- [ ] Enable having multiple repositories/multiple database files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmocksi%2Fdiffdashdrone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmocksi%2Fdiffdashdrone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmocksi%2Fdiffdashdrone/lists"}