{"id":13713947,"url":"https://github.com/mbamber/cov-commit-parser","last_synced_at":"2026-01-17T15:41:46.265Z","repository":{"id":186979066,"uuid":"280885534","full_name":"mbamber/cov-commit-parser","owner":"mbamber","description":"Simple parser for Conventional Commits: https://www.conventionalcommits.org/en/v1.0.0/)","archived":false,"fork":false,"pushed_at":"2024-09-03T21:05:15.000Z","size":28,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T00:37:00.375Z","etag":null,"topics":["go","semver"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mbamber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2020-07-19T14:43:22.000Z","updated_at":"2023-05-28T05:53:20.000Z","dependencies_parsed_at":"2025-05-07T00:34:28.456Z","dependency_job_id":"5cf92f76-3dd0-4dbb-9a8a-5326c5813b8e","html_url":"https://github.com/mbamber/cov-commit-parser","commit_stats":null,"previous_names":["mbamber/cov-commit-parser"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mbamber/cov-commit-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbamber%2Fcov-commit-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbamber%2Fcov-commit-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbamber%2Fcov-commit-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbamber%2Fcov-commit-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbamber","download_url":"https://codeload.github.com/mbamber/cov-commit-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbamber%2Fcov-commit-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["go","semver"],"created_at":"2024-08-02T23:01:48.425Z","updated_at":"2026-01-17T15:41:41.250Z","avatar_url":"https://github.com/mbamber.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# Cov Commit Parser\n![CD](https://github.com/mbamber/cov-commit-parser/workflows/CD/badge.svg)\n\nA simple parser for [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).\n\n## Usage\nWhen run without any arguments, `ccp version` will parse the commits at the current HEAD and output a single line containing a version number. This version number is the recommended version to use for the next build, based on the commit messages included since the latest tag on the branch.\n\nThe current version number is determined by the tag representing the latest semantic version. This can be overridden using the `--current` flag.\n\nUse the `--since` flag to specify a commit hash, branch name or tag to adjust the commits used during the parsing.\n\n### Use as a library\nThe tool can also be embedded into existing Go programs. The example below returns a new version based on the starting version `1.0.0` and using the single commit on the `HEAD` of a git repository in the directory `repo_path`:\n```go\ncommitMessages, err := git.GetCommitsInDirectory(\"repo_path\", \"HEAD~1\", \"HEAD\")\nif err != nil {\n    fmt.Printf(\"Error: %s\", err.Error())\n}\n\nv, err := ccp.GetNextVersion(\"1.0.0\", commitMessages, ccp.DefaultPatchTypes)\nif err != nil {\n    fmt.Printf(\"Error: %s\", err.Error())\n}\n\nfmt.Println(v)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbamber%2Fcov-commit-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbamber%2Fcov-commit-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbamber%2Fcov-commit-parser/lists"}