{"id":20564332,"url":"https://github.com/tarantool/checkpatch","last_synced_at":"2025-07-07T06:07:41.780Z","repository":{"id":37434511,"uuid":"466488991","full_name":"tarantool/checkpatch","owner":"tarantool","description":"Checkpatch for Tarantool","archived":false,"fork":false,"pushed_at":"2025-06-23T15:04:50.000Z","size":728,"stargazers_count":2,"open_issues_count":7,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-23T16:25:14.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarantool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2022-03-05T15:18:10.000Z","updated_at":"2025-06-23T15:04:54.000Z","dependencies_parsed_at":"2023-02-14T19:16:04.408Z","dependency_job_id":"7bd57930-58f9-45a2-b963-36e463ee455d","html_url":"https://github.com/tarantool/checkpatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tarantool/checkpatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcheckpatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcheckpatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcheckpatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcheckpatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/checkpatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcheckpatch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264023551,"owners_count":23545689,"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":"2024-11-16T04:25:43.088Z","updated_at":"2025-07-07T06:07:41.735Z","avatar_url":"https://github.com/tarantool.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Checkpatch for Tarantool\n\nThis repository contains the [checkpatch.pl](checkpatch.pl) script, which is\nused for checking patches submitted for the [Tarantool][tarantool] project\nagainst the [Tarantool contributor's guide][tarantool-dev-guide].\n\nThe checkpatch.pl script was forked from the [checkpatch.pl][linux-checkpatch]\nscript used for checking patches submitted for the Linux kernel.\n\nThe documentation is [here][checkpatch-doc].\n\nThe GitHub action we use to automatically check Tarantool commits when\na pull request is created is [here][checkpatch-action].\n\nIf you find any bugs, please don't hesitate to report them to the\n[issue tracker][checkpatch-issues].\n\n## Quick start\n\nTo check all Git commits on the current branch, run the following command in\nyour local Tarantool Git directory:\n```\ngit clone git@github.com:tarantool/checkpatch.git\ncheckpatch/checkpatch.pl -g master..HEAD\n```\n\nAn error message reported by checkpatch looks like this:\n```\nERROR: trailing whitespace\n#41: FILE: changelogs/unreleased/gh-7207-backtrace-perf-degrade.md:3:\n+* Fixed performance degrade of fiber backtrace collection $\n```\n\nTo get more detailed error messages, pass the `-v` (`--verbose`) flag. It will\naugment each error message with an extract from the\n[documentation][checkpatch-doc]:\n```\nERROR: trailing whitespace\n#41: FILE: changelogs/unreleased/gh-7207-backtrace-perf-degrade.md:3:\n+* Fixed performance degrade of fiber backtrace collection $\n\nTrailing whitespace should always be removed.\nSome editors highlight the trailing whitespace and cause visual\ndistractions when editing files.\n```\n\nIf you don't want to clutter the checkpatch output, you can instead pass the\n`--show-types` flag. It will make checkpatch print the type of each reported\nerror, which you can then use to look up the full error description in the\n[documentation][checkpatch-doc]. This is how our\n[GitHub action][checkpatch-action] works. For example,\n```\nERROR:TRAILING_WHITESPACE: trailing whitespace\n#41: FILE: changelogs/unreleased/gh-7207-backtrace-perf-degrade.md:3:\n+* Fixed performance degrade of fiber backtrace collection $\n```\n\n[checkpatch-action]: .github/actions/checkpatch\n[checkpatch-doc]: doc/checkpatch.rst\n[checkpatch-issues]: https://github.com/tarantool/checkpatch/issues\n[linux-checkpatch]: https://github.com/torvalds/linux/blob/master/scripts/checkpatch.pl\n[tarantool]: https://github.com/tarantool/tarantool\n[tarantool-dev-guide]: https://www.tarantool.io/en/doc/latest/dev_guide/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcheckpatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Fcheckpatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcheckpatch/lists"}