{"id":44385653,"url":"https://github.com/chocoby/buranko","last_synced_at":"2026-02-12T00:42:43.644Z","repository":{"id":48043204,"uuid":"46253935","full_name":"chocoby/buranko","owner":"chocoby","description":"A tool for parse a git branch name","archived":false,"fork":false,"pushed_at":"2025-03-30T04:13:21.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-30T04:25:31.058Z","etag":null,"topics":["git","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/chocoby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-16T05:26:52.000Z","updated_at":"2025-03-30T04:12:47.000Z","dependencies_parsed_at":"2022-08-12T17:20:49.669Z","dependency_job_id":null,"html_url":"https://github.com/chocoby/buranko","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/chocoby/buranko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocoby%2Fburanko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocoby%2Fburanko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocoby%2Fburanko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocoby%2Fburanko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chocoby","download_url":"https://codeload.github.com/chocoby/buranko/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chocoby%2Fburanko/sbom","scorecard":{"id":278539,"data":{"date":"2025-08-11","repo":{"name":"github.com/chocoby/buranko","commit":"56853e926ee0efa6ad60db370bcb1a763bdac6e2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_linux.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/release_linux.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_linux.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/release_linux.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_macos.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/release_macos.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_macos.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/release_macos.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release_windows.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/release_windows.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release_windows.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/chocoby/buranko/release_windows.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/release_linux.yml:1","Warn: no topLevel permission defined: .github/workflows/release_macos.yml:1","Warn: no topLevel permission defined: .github/workflows/release_windows.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.0.1 not signed: https://api.github.com/repos/chocoby/buranko/releases/209189379","Warn: release artifact v3.0.0 not signed: https://api.github.com/repos/chocoby/buranko/releases/209188974","Warn: release artifact v2.0.0 not signed: https://api.github.com/repos/chocoby/buranko/releases/47586310","Warn: release artifact v2.0.0-rc2 not signed: https://api.github.com/repos/chocoby/buranko/releases/47586008","Warn: release artifact v2.0.0-rc1 not signed: https://api.github.com/repos/chocoby/buranko/releases/47491928","Warn: release artifact v3.0.1 does not have provenance: https://api.github.com/repos/chocoby/buranko/releases/209189379","Warn: release artifact v3.0.0 does not have provenance: https://api.github.com/repos/chocoby/buranko/releases/209188974","Warn: release artifact v2.0.0 does not have provenance: https://api.github.com/repos/chocoby/buranko/releases/47586310","Warn: release artifact v2.0.0-rc2 does not have provenance: https://api.github.com/repos/chocoby/buranko/releases/47586008","Warn: release artifact v2.0.0-rc1 does not have provenance: https://api.github.com/repos/chocoby/buranko/releases/47491928"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T15:08:24.656Z","repository_id":48043204,"created_at":"2025-08-17T15:08:24.656Z","updated_at":"2025-08-17T15:08:24.656Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29351057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T20:11:40.865Z","status":"ssl_error","status_checked_at":"2026-02-11T20:10:41.637Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["git","rust"],"created_at":"2026-02-12T00:42:41.949Z","updated_at":"2026-02-12T00:42:43.639Z","avatar_url":"https://github.com/chocoby.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buranko\n\n![CI Status](https://github.com/chocoby/buranko/actions/workflows/ci.yml/badge.svg)\n\nBuranko is a CLI tool for parsing and formatting Git branch names.\n\n## Features\n\n- Git branch name parsing\n- Output formatting using templates\n- Field extraction\n\n## Installation\n\nDownload a binary from [releases page](https://github.com/chocoby/buranko/releases) and place it in `$PATH` directory.\n\n## Usage\n\n### Basic Usage\n\nDisplay the current branch ID:\n\n```bash\nburanko\n```\n\n### Options\n\n#### `-t, --template`\n\nFormat the output using a configured template:\n\n```bash\nburanko --template\n```\n\nTemplate configuration:\n\n```bash\ngit config buranko.template \"{Action}/{ID}-{Description}\"\n```\n\nAvailable template variables:\n\n- `{FullName}`: Full branch name\n- `{Action}`: Action (feature, bugfix, etc.)\n- `{ID}`: Branch ID\n- `{LinkID}`: Link ID (with #)\n- `{Description}`: Branch description\n\nThis option is useful for referencing issues in other GitHub repositories, or for software that requires a prefix in the issue number.\n\n```bash\n$ git checkout -b feature/1234_foo-bar\n$ git config buranko.template ABC-{ID}\n$ buranko --template\nABC-1234\n$ git config buranko.template foo-org/bar-repo#{ID}\n$ buranko --template\nfoo-org/bar-repo#1234\n```\n\n#### `--output \u003cfield\u003e`\n\nOutput only a specific field:\n\n```bash\nburanko --output FullName\n```\n\nAvailable fields:\n\n- `FullName`: Full branch name\n- `Action`: Action\n- `ID`: Branch ID\n- `LinkID`: Link ID\n- `Description`: Branch description\n\n#### `-v, --verbose`\n\nDisplay all branch information:\n\n```bash\nburanko --verbose\n```\n\n### Input from Pipe\n\nYou can read branch names from stdin:\n\n```bash\necho \"feature/123-test\" | buranko\n```\n\n## Branch Name Format\n\nBuranko parses branch names in the following format:\n\n```\n\u003caction\u003e/\u003cid\u003e-\u003cdescription\u003e\n```\n\nExamples:\n- `feature/123-add-login`\n- `bugfix/456-fix-crash`\n- `hotfix/789-security-patch`\n\nMore patterns at [`main.rs`](https://github.com/chocoby/buranko/blob/main/src/main.rs).\n\n## Integrate with `prepare-commit-msg`\n\nAdd an issue ID to the commit message using a git hook.\n\n`[Git repository]/.git/hooks/prepare-commit-msg`\n\n```bash\nif [ \"$2\" == \"\" ]; then\n    mv $1 $1.tmp\n    echo `buranko -output LinkID -template` \u003e $1\n    cat $1.tmp \u003e\u003e $1\nfi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocoby%2Fburanko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchocoby%2Fburanko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchocoby%2Fburanko/lists"}