{"id":24599662,"url":"https://github.com/pre-commit/pre-commit-mirror-maker","last_synced_at":"2025-10-05T20:31:31.694Z","repository":{"id":942861,"uuid":"20654297","full_name":"pre-commit/pre-commit-mirror-maker","owner":"pre-commit","description":"Scripts for creating mirror repositories that do not have .pre-commit-hooks.yaml","archived":false,"fork":false,"pushed_at":"2025-09-23T13:36:31.000Z","size":317,"stargazers_count":46,"open_issues_count":3,"forks_count":25,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-25T01:41:58.455Z","etag":null,"topics":["pre-commit"],"latest_commit_sha":null,"homepage":"","language":"Python","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/pre-commit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"asottile","open_collective":"pre-commit","tidelift":"pypi/pre-commit"}},"created_at":"2014-06-09T16:47:56.000Z","updated_at":"2025-09-23T13:36:34.000Z","dependencies_parsed_at":"2023-01-16T17:50:24.769Z","dependency_job_id":"ed432b8d-4d6c-4b56-a567-14621ef846c8","html_url":"https://github.com/pre-commit/pre-commit-mirror-maker","commit_stats":{"total_commits":234,"total_committers":8,"mean_commits":29.25,"dds":0.5085470085470085,"last_synced_commit":"36d2da4fe195c2e49adc1d62e7d3df8cb8a4c495"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/pre-commit/pre-commit-mirror-maker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-mirror-maker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-mirror-maker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-mirror-maker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-mirror-maker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit","download_url":"https://codeload.github.com/pre-commit/pre-commit-mirror-maker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-mirror-maker/sbom","scorecard":{"id":627604,"data":{"date":"2025-08-11","repo":{"name":"github.com/pre-commit/pre-commit-mirror-maker","commit":"254fc2ec3a8b562ec103606e99507625ae7c3356"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit-mirror-maker/main.yml/main?enable=pin","Info:   0 out of   1 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":"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":"Code-Review","score":0,"reason":"Found 0/1 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":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":"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":"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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found linked content: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found text in security policy: github.com/pre-commit/.github/.github/SECURITY.md:1"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-21T06:55:11.031Z","repository_id":942861,"created_at":"2025-08-21T06:55:11.031Z","updated_at":"2025-08-21T06:55:11.031Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278513238,"owners_count":25999430,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["pre-commit"],"created_at":"2025-01-24T13:06:31.830Z","updated_at":"2025-10-05T20:31:31.400Z","avatar_url":"https://github.com/pre-commit.png","language":"Python","readme":"[![build status](https://github.com/pre-commit/pre-commit-mirror-maker/actions/workflows/main.yml/badge.svg)](https://github.com/pre-commit/pre-commit-mirror-maker/actions/workflows/main.yml)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pre-commit/pre-commit-mirror-maker/main.svg)](https://results.pre-commit.ci/latest/github/pre-commit/pre-commit-mirror-maker/main)\n\npre-commit-mirror-maker\n=======================\n\nScripts for creating mirror repositories that do not have\n.pre-commit-hooks.yaml\n\n\n### Installation\n\n`$ pip install pre-commit-mirror-maker`\n\n\n### Sample Usage\n\nTo see all supported configuration options, run:\n\n```console\n$ pre-commit-mirror --help\n```\n\nFor example: making a mirror of the yapf package:\n\n```console\n$ git init mirrors-yapf\nInitialized empty Git repository in /tmp/mirrors-yapf/.git/\n\n$ pre-commit-mirror mirrors-yapf --language python --package-name yapf --args=-i --types python\n[main (root-commit) 88bffee] Mirror: 0.1.3\n 3 files changed, 16 insertions(+)\n create mode 100644 .pre-commit-hooks.yaml\n create mode 100644 .version\n create mode 100644 setup.py\n[main 24cd5f4] Mirror: 0.1.4\n 2 files changed, 2 insertions(+), 2 deletions(-)\n[main 6695a76] Mirror: 0.1.5\n\n...\n\n[main 091ab92] Mirror: 0.22.0\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\n$ ls -al mirrors-yapf/\ntotal 24\ndrwxrwxr-x 3 asottile asottile 4096 May 26 10:00 .\ndrwxrwxr-x 8 asottile asottile 4096 May 26 10:00 ..\ndrwxrwxr-x 8 asottile asottile 4096 May 26 10:00 .git\n-rw-rw-r-- 1 asottile asottile  136 May 26 10:00 .pre-commit-hooks.yaml\n-rw-rw-r-- 1 asottile asottile  137 May 26 10:00 setup.py\n-rw-rw-r-- 1 asottile asottile    7 May 26 10:00 .version\n```\n","funding_links":["https://github.com/sponsors/asottile","https://opencollective.com/pre-commit","https://tidelift.com/funding/github/pypi/pre-commit"],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpre-commit%2Fpre-commit-mirror-maker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpre-commit%2Fpre-commit-mirror-maker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpre-commit%2Fpre-commit-mirror-maker/lists"}