{"id":28233460,"url":"https://github.com/logdna/compare-coverage-to-main","last_synced_at":"2026-01-20T17:34:15.621Z","repository":{"id":52325325,"uuid":"362895315","full_name":"logdna/compare-coverage-to-main","owner":"logdna","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-23T19:18:16.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-06-01T14:07:12.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logdna.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-04-29T17:25:25.000Z","updated_at":"2021-04-30T18:51:37.000Z","dependencies_parsed_at":"2024-10-04T15:07:35.721Z","dependency_job_id":"705a3a66-c7e2-4c69-820e-748b75d10511","html_url":"https://github.com/logdna/compare-coverage-to-main","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":0.4,"last_synced_commit":"b6c41b7011a100409f60cfb22311fde41e02a5ec"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/logdna/compare-coverage-to-main","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logdna%2Fcompare-coverage-to-main","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logdna%2Fcompare-coverage-to-main/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logdna%2Fcompare-coverage-to-main/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logdna%2Fcompare-coverage-to-main/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logdna","download_url":"https://codeload.github.com/logdna/compare-coverage-to-main/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logdna%2Fcompare-coverage-to-main/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259402147,"owners_count":22851880,"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-18T21:10:06.271Z","updated_at":"2026-01-20T17:34:15.597Z","avatar_url":"https://github.com/logdna.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## compare-coverage-to-main\n\n\u003e Compares the current json coverage file to that of the latest release and\n\u003e provides a comment on pull requests with that information.\n\n### What this tool does\n\n* Fetches the latest release for the repository and pulls down the `coverage-summary.json` (Must be from the json-summary coverage reporter in istanbul)\n* Compares it to the contents of the filepath passed in the `--coverage` flag.\n* Posts a comment on the associated pull request\n\n### Usage\n\n```\ncompare-coverage-to-main - Tool to compare coverage for a PR with the main branch\n\n  usage: compare-coverage-to-main -f \u003cpath to coverage file\u003e -o \u003corg\u003e -r \u003crepo\u003e -p \u003cpull request id\u003e\n\n  options:\n    -h, --help                      show help and usage\n    -v, --version                   show version\n    -f, --coverage-filepath \u003cpath\u003e  path to new coverage summary\n    -d, --dry-run                   if true, does not post comment to PR\n    -o, --owner \u003cstring\u003e            the repository owner\n    -p, --pr-id \u003cnumber\u003e            the PR id\n    -r, --repo \u003crepository name\u003e    the repository name\n```\n\n\n## Authors\n\n* [**Evan Lucas**](mailto:evanlucas@me.com) \u0026lt;evanlucas@me.com\u0026gt;\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogdna%2Fcompare-coverage-to-main","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogdna%2Fcompare-coverage-to-main","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogdna%2Fcompare-coverage-to-main/lists"}