pre-commit-mirror-maker


Namepre-commit-mirror-maker JSON
Version 1.10.0 PyPI version JSON
download
home_pagehttps://github.com/pre-commit/pre-commit-mirror-maker
SummaryScripts for creating mirror repositories that do not have .pre-commit-hooks.yaml
upload_time2023-10-28 17:50:51
maintainer
docs_urlNone
authorAnthony Sottile
requires_python>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![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)
[![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)

pre-commit-mirror-maker
=======================

Scripts for creating mirror repositories that do not have
.pre-commit-hooks.yaml


### Installation

`$ pip install pre-commit-mirror-maker`


### Sample Usage

To see all supported configuration options, run:

```console
$ pre-commit-mirror --help
```

For example: making a mirror of the yapf package:

```console
$ git init mirrors-yapf
Initialized empty Git repository in /tmp/mirrors-yapf/.git/

$ pre-commit-mirror mirrors-yapf --language python --package-name yapf --args=-i --types python
[main (root-commit) 88bffee] Mirror: 0.1.3
 3 files changed, 16 insertions(+)
 create mode 100644 .pre-commit-hooks.yaml
 create mode 100644 .version
 create mode 100644 setup.py
[main 24cd5f4] Mirror: 0.1.4
 2 files changed, 2 insertions(+), 2 deletions(-)
[main 6695a76] Mirror: 0.1.5

...

[main 091ab92] Mirror: 0.22.0
 2 files changed, 2 insertions(+), 2 deletions(-)

$ ls -al mirrors-yapf/
total 24
drwxrwxr-x 3 asottile asottile 4096 May 26 10:00 .
drwxrwxr-x 8 asottile asottile 4096 May 26 10:00 ..
drwxrwxr-x 8 asottile asottile 4096 May 26 10:00 .git
-rw-rw-r-- 1 asottile asottile  136 May 26 10:00 .pre-commit-hooks.yaml
-rw-rw-r-- 1 asottile asottile  137 May 26 10:00 setup.py
-rw-rw-r-- 1 asottile asottile    7 May 26 10:00 .version
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pre-commit/pre-commit-mirror-maker",
    "name": "pre-commit-mirror-maker",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Anthony Sottile",
    "author_email": "asottile@umich.edu",
    "download_url": "https://files.pythonhosted.org/packages/a3/11/9813de4076e6d81f9f85b0b2d7baf6a683d36195675867dc315423017848/pre_commit_mirror_maker-1.10.0.tar.gz",
    "platform": "all",
    "description": "[![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",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Scripts for creating mirror repositories that do not have .pre-commit-hooks.yaml",
    "version": "1.10.0",
    "project_urls": {
        "Homepage": "https://github.com/pre-commit/pre-commit-mirror-maker"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b2c5cdf1800bf9292fae08085275ea0365a3d1ab64b15547016b6246bd043e81",
                "md5": "406d264daa51ed264e3db7754847ba07",
                "sha256": "074ba284ce641410a860442b044d160315d255c5a0e921da62357ef053d2b063"
            },
            "downloads": -1,
            "filename": "pre_commit_mirror_maker-1.10.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "406d264daa51ed264e3db7754847ba07",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.9",
            "size": 9141,
            "upload_time": "2023-10-28T17:50:50",
            "upload_time_iso_8601": "2023-10-28T17:50:50.062336Z",
            "url": "https://files.pythonhosted.org/packages/b2/c5/cdf1800bf9292fae08085275ea0365a3d1ab64b15547016b6246bd043e81/pre_commit_mirror_maker-1.10.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a3119813de4076e6d81f9f85b0b2d7baf6a683d36195675867dc315423017848",
                "md5": "07377ecf00be1a7c34df68c46b9ac600",
                "sha256": "59e00919de48815f2bc548bcf4784315be8c460b5ea7ce83c5df06b65befed0c"
            },
            "downloads": -1,
            "filename": "pre_commit_mirror_maker-1.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "07377ecf00be1a7c34df68c46b9ac600",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 7226,
            "upload_time": "2023-10-28T17:50:51",
            "upload_time_iso_8601": "2023-10-28T17:50:51.191826Z",
            "url": "https://files.pythonhosted.org/packages/a3/11/9813de4076e6d81f9f85b0b2d7baf6a683d36195675867dc315423017848/pre_commit_mirror_maker-1.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-28 17:50:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pre-commit",
    "github_project": "pre-commit-mirror-maker",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pre-commit-mirror-maker"
}
        
Elapsed time: 0.13356s