{"id":15039264,"url":"https://github.com/rizsotto/bear","last_synced_at":"2026-01-18T11:01:08.346Z","repository":{"id":5279375,"uuid":"6458557","full_name":"rizsotto/Bear","owner":"rizsotto","description":"Bear is a tool that generates a compilation database for clang tooling.","archived":false,"fork":false,"pushed_at":"2026-01-10T04:32:48.000Z","size":2838,"stargazers_count":6124,"open_issues_count":3,"forks_count":349,"subscribers_count":55,"default_branch":"master","last_synced_at":"2026-01-11T00:39:16.187Z","etag":null,"topics":["build-system","build-tool","clang","compilation-database"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rizsotto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":["rizsotto"]}},"created_at":"2012-10-30T14:27:29.000Z","updated_at":"2026-01-10T22:22:24.000Z","dependencies_parsed_at":"2023-09-24T15:09:22.486Z","dependency_job_id":"df97379f-d53d-40a1-9ace-f52d61ecafbe","html_url":"https://github.com/rizsotto/Bear","commit_stats":{"total_commits":1143,"total_committers":62,"mean_commits":18.43548387096774,"dds":"0.11811023622047245","last_synced_commit":"5ff94e88c8c6df25d96b8e58b24e314dbb4fb17c"},"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"purl":"pkg:github/rizsotto/Bear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizsotto","download_url":"https://codeload.github.com/rizsotto/Bear/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear/sbom","scorecard":{"id":777775,"data":{"date":"2025-08-11","repo":{"name":"github.com/rizsotto/Bear","commit":"d75455d6ce55eeb1de1d45abb9020b46cb80a8fe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"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":"Code-Review","score":1,"reason":"Found 5/26 approved changesets -- score normalized to 1","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build_on_arch.yml:1","Warn: no topLevel permission defined: .github/workflows/build_on_push.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":"Maintained","score":0,"reason":"0 commit(s) and 1 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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: invalid UTF-8 encoding: test/cases/intercept/output/shell_command_with_iso8859-2.check:0","Info: Possibly incomplete results: error parsing shell code: invalid UTF-8 encoding: test/cases/intercept/output/shell_command_with_iso8859-2.input:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_on_arch.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/rizsotto/Bear/build_on_arch.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build_on_arch.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/rizsotto/Bear/build_on_arch.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_on_push.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/rizsotto/Bear/build_on_push.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build_on_push.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/rizsotto/Bear/build_on_push.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/build_on_push.yml:44","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand 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":"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: COPYING:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: COPYING:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 9 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-23T04:04:14.427Z","repository_id":5279375,"created_at":"2025-08-23T04:04:14.427Z","updated_at":"2025-08-23T04:04:14.427Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["build-system","build-tool","clang","compilation-database"],"created_at":"2024-09-24T20:42:08.491Z","updated_at":"2026-01-18T11:01:08.330Z","avatar_url":"https://github.com/rizsotto.png","language":"Rust","funding_links":["https://github.com/sponsors/rizsotto"],"categories":[],"sub_categories":[],"readme":"[![Packaging status](https://repology.org/badge/tiny-repos/bear-clang.svg)](https://repology.org/project/bear-clang/versions)\n[![GitHub release](https://img.shields.io/github/release/rizsotto/Bear)](https://github.com/rizsotto/Bear/releases)\n[![GitHub Release Date](https://img.shields.io/github/release-date/rizsotto/Bear)](https://github.com/rizsotto/Bear/releases)\n[![Continuous Integration](https://github.com/rizsotto/Bear/workflows/rust%20CI/badge.svg)](https://github.com/rizsotto/Bear/actions)\n[![Contributors](https://img.shields.io/github/contributors/rizsotto/Bear)](https://github.com/rizsotto/Bear/graphs/contributors)\n[![Gitter](https://img.shields.io/gitter/room/rizsotto/Bear)](https://gitter.im/rizsotto/Bear)\n\nʕ·ᴥ·ʔ Build EAR\n===============\n\nBear is a tool that generates a compilation database for clang tooling.\n\nThe [JSON compilation database][JSONCDB] is used in the clang project to\nprovide information on how a single compilation unit is processed. With this,\nit is easy to re-run the compilation with alternate programs.\n\nSome build systems natively support the generation of a JSON compilation\ndatabase. For projects that do not use such build tools, Bear generates the\nJSON file during the build process.\n\n  [JSONCDB]: http://clang.llvm.org/docs/JSONCompilationDatabase.html\n\nHow to install\n--------------\n\nBear is [packaged](https://repology.org/project/bear-clang/versions) for many\ndistributions. Check your distribution's package manager. Alternatively, you\ncan [build it](INSTALL.md) from source.\n\nHow to use\n----------\n\nAfter installation, use it like this:\n\n    bear -- \u003cyour-build-command\u003e\n\nThe output file, `compile_commands.json`, is saved in the current directory.\n\nFor more options, you can check the man page or pass the `--help` parameter.\nNote that if you want to pass parameters to Bear, pass them _before_ the `--`;\neverything after that is considered part of the build command.\n\nPlease be aware that some package managers still ship the 2.4.x release. In\nthat case, please omit the extra `--` or consult your local documentation.\n\nFor more information, read the man pages or the project [wiki][WIKI], which\ntalks about limitations, known issues, and platform-specific usage.\n\nProblem reports\n---------------\n\nBefore opening a new problem report, please check the [wiki][WIKI] to see if\nyour problem is a known issue with a documented workaround. It's also helpful\nto look at older (possibly closed) [issues][ISSUES] before opening a new one.\n\nIf you decide to report a problem, please provide as much context as possible\nto help reproduce the error. If you just have a question about usage, please\ndon't be shy; ask your question in an issue or in our [chat][CHAT].\n\nIf you've found a bug and have a fix for it, please share it by opening a pull\nrequest.\n\nPlease follow the [contribution guide][GUIDE] when you do.\n\n  [ISSUES]: https://github.com/rizsotto/Bear/issues\n  [WIKI]: https://github.com/rizsotto/Bear/wiki\n  [CHAT]: https://gitter.im/rizsotto/Bear/discussions\n  [GUIDE]: https://github.com/rizsotto/Bear/blob/master/CONTRIBUTING.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizsotto%2Fbear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizsotto%2Fbear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizsotto%2Fbear/lists"}