{ "info": { "author": "Gene Wood", "author_email": "gene_wood@cementhorizon.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Version Control :: Git" ], "description": "Fork a GitHub repo, clone that repo to a local directory, add the\nupstream remote, create an optional feature branch and checkout that\nbranch\n\nUsage\n=====\n\n::\n\n usage: fork-github-repo [-h] [-c CONFIG] url [branch]\n\n Fork a GitHub repo, clone that repo to a local directory, add the upstream\n remote, create an optional feature branch and checkout that branch\n\n positional arguments:\n url GitHub URL of the upstream repo to fork\n branch Name of the feature branch to create\n\n optional arguments:\n -h, --help show this help message and exit\n -c CONFIG, --config CONFIG\n Filename of the yaml config file (default :\n ~/.github/fork_github_repo.yaml)\n\n The config file with a default location of\n ~/.github/fork_github_repo.yaml contains the following settings:\n\n - github_token : The `GitHub personal access token with the public_repo scope\n allowed.\n https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/\n - repo_dir : The directory path to the directory containing all your cloned\n repos. If this isn't defined, /tmp is used.\n\n The file is YAML formatted and the contents look like this :\n\n github_token: 0123456789abcdef0123456789abcdef01234567\n repo_dir: ~/Documents/github.com/example/\n\n\nConfig\n======\n\nThe config file with a default location of\n``~/.github/fork_github_repo.yaml`` contains the following settings.\n\n- ``github_token`` : The `GitHub personal access\n token `__\n with the ``public_repo`` scope allowed\n- ``repo_dir`` : The directory path to the directory containing all\n your cloned repos. If this isn't defined, ``/tmp`` is used.\n\nExamples\n========\n\nFork Spoon-Knife\n\n::\n\n $ fork-github-repo https://github.com/octocat/Spoon-Knife\n Forked https://github.com/octocat/Spoon-Knife to git@github.com:gene1wood/Spoon-Knife.git\n Cloned git@github.com:gene1wood/Spoon-Knife.git to /path/to/gene1wood/Spoon-Knife\n Remote \"upstream\" created for https://github.com/octocat/Spoon-Knife\n Remote \"upstream\" fetched\n\nFork Spoon-Knife and create a feature branch called 'my-feature'\n\n::\n\n $ fork-github-repo https://github.com/octocat/Spoon-Knife my-feature\n Forked https://github.com/octocat/Spoon-Knife to git@github.com:gene1wood/Spoon-Knife.git\n Cloned git@github.com:gene1wood/Spoon-Knife.git to /path/to/gene1wood/Spoon-Knife\n Remote \"upstream\" created for https://github.com/octocat/Spoon-Knife\n Remote \"upstream\" fetched\n Branch \"my-feature\" created\n Branch \"my-feature\" pushed to origin\n Tracking branch \"origin/my-feature\" setup for branch \"my-feature\"\n Branch \"my-feature\" checked out\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gene1wood/fork-github-repo", "keywords": "", "license": "GPL-3.0", "maintainer": "", "maintainer_email": "", "name": "fork-github-repo", "package_url": "https://pypi.org/project/fork-github-repo/", "platform": "", "project_url": "https://pypi.org/project/fork-github-repo/", "project_urls": { "Homepage": "https://github.com/gene1wood/fork-github-repo" }, "release_url": "https://pypi.org/project/fork-github-repo/1.2.0/", "requires_dist": [ "giturlparse", "agithub", "gitpython", "PyYAML", "retrying" ], "requires_python": "", "summary": "Fork, clone, add remote and branch a GitHub repo", "version": "1.2.0" }, "last_serial": 4442252, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "07cf6f512e752033af725bd0d1e6d37b", "sha256": "56d6e49f4f49567f88f51428eddcfbec20f1cab5a10d1291e950d973f73a381a" }, "downloads": -1, "filename": "fork_github_repo-1.0-py2-none-any.whl", "has_sig": true, "md5_digest": "07cf6f512e752033af725bd0d1e6d37b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5824, "upload_time": "2017-06-13T23:15:00", "url": "https://files.pythonhosted.org/packages/d8/01/9cafa17de92234ac5ac8658f6567996dd61f68d95a124419ee40495f130d/fork_github_repo-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "38b8910eda274e3d419825885dc8b90e", "sha256": "aaeb4250fdb01fa1149ec511eb4bf7586055ec779682247b89599ae3a0e59112" }, "downloads": -1, "filename": "fork-github-repo-1.0.tar.gz", "has_sig": true, "md5_digest": "38b8910eda274e3d419825885dc8b90e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3717, "upload_time": "2017-06-13T23:15:02", "url": "https://files.pythonhosted.org/packages/ab/05/27cbd491024ce141d1b8da69ad6b25c27ddf6ef050f394f5349b371bfd4f/fork-github-repo-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "f55e5ff8e8fe8620e992de3be2b0cada", "sha256": "17bb160b87b17e71010d5530d13e996bcbb106dfaf5a8c8419f2d85f10c3a881" }, "downloads": -1, "filename": "fork_github_repo-1.0.1-py2-none-any.whl", "has_sig": true, "md5_digest": "f55e5ff8e8fe8620e992de3be2b0cada", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6462, "upload_time": "2017-06-14T01:06:04", "url": "https://files.pythonhosted.org/packages/6a/78/75083a09ab3512a5e369a10f4dd96b0389a687f748e6990972d531cf4bd2/fork_github_repo-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0f4d80c1672be6c160fb88dd4419b80a", "sha256": "8487d6e3d3922b80adea175b5dc3f9b48e193f9893dd4754627a109ba6199f54" }, "downloads": -1, "filename": "fork-github-repo-1.0.1.tar.gz", "has_sig": true, "md5_digest": "0f4d80c1672be6c160fb88dd4419b80a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3987, "upload_time": "2017-06-14T01:06:06", "url": "https://files.pythonhosted.org/packages/23/7c/5d90bc54e3dd5079e539c5d8cfe5179f08ce9211a369738df1dba8931745/fork-github-repo-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "86b1d4014a719aba59d454736d12ad79", "sha256": "db49ee1556780e4566e2c6c22101f16915bbb4df32693e3578fcb5b2b23f17f6" }, "downloads": -1, "filename": "fork_github_repo-1.1.0-py2-none-any.whl", "has_sig": true, "md5_digest": "86b1d4014a719aba59d454736d12ad79", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6781, "upload_time": "2018-01-22T22:56:14", "url": "https://files.pythonhosted.org/packages/ef/8f/b12ad406d38d01813ee80a7c62d057a2261eb106df7f327a1467d50eaef0/fork_github_repo-1.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "411de3fb319d97bc930c6ddff8068635", "sha256": "e060ceff3d5cbc6d2a790a1bcc283b75998b20577ffd5347f8ae77176b3c2d4a" }, "downloads": -1, "filename": "fork-github-repo-1.1.0.tar.gz", "has_sig": true, "md5_digest": "411de3fb319d97bc930c6ddff8068635", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4341, "upload_time": "2018-01-22T22:56:18", "url": "https://files.pythonhosted.org/packages/23/77/7c32c7091cddfbc42eebe8bf1932df2f8d6b0b735f6bdd132ae3fb9bd738/fork-github-repo-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "3893925b6e3c8b72363dd5881fabe07d", "sha256": "e0dad9a424fbfb18b831f280acf46cdf0e5313165f920f97bea41c00b668a98f" }, "downloads": -1, "filename": "fork_github_repo-1.2.0-py2-none-any.whl", "has_sig": true, "md5_digest": "3893925b6e3c8b72363dd5881fabe07d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5006, "upload_time": "2018-11-01T21:12:43", "url": "https://files.pythonhosted.org/packages/37/15/14b8b5c3f2fcb015ffe1ceaf20df96e6844e662ddde210fb6bdf172edc67/fork_github_repo-1.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2480fc1a13b60f7cc3536bb29b1ff82c", "sha256": "8e905730f5d963df2ddce666127d47e74a7f2de9cb8c115b2e908693f2e45c17" }, "downloads": -1, "filename": "fork-github-repo-1.2.0.tar.gz", "has_sig": true, "md5_digest": "2480fc1a13b60f7cc3536bb29b1ff82c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4356, "upload_time": "2018-11-01T21:12:44", "url": "https://files.pythonhosted.org/packages/2c/e2/114d9f0d6c4eed2b270c759b056dc85f0ac5a1b25c45d380ba1e9742cf26/fork-github-repo-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3893925b6e3c8b72363dd5881fabe07d", "sha256": "e0dad9a424fbfb18b831f280acf46cdf0e5313165f920f97bea41c00b668a98f" }, "downloads": -1, "filename": "fork_github_repo-1.2.0-py2-none-any.whl", "has_sig": true, "md5_digest": "3893925b6e3c8b72363dd5881fabe07d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5006, "upload_time": "2018-11-01T21:12:43", "url": "https://files.pythonhosted.org/packages/37/15/14b8b5c3f2fcb015ffe1ceaf20df96e6844e662ddde210fb6bdf172edc67/fork_github_repo-1.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2480fc1a13b60f7cc3536bb29b1ff82c", "sha256": "8e905730f5d963df2ddce666127d47e74a7f2de9cb8c115b2e908693f2e45c17" }, "downloads": -1, "filename": "fork-github-repo-1.2.0.tar.gz", "has_sig": true, "md5_digest": "2480fc1a13b60f7cc3536bb29b1ff82c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4356, "upload_time": "2018-11-01T21:12:44", "url": "https://files.pythonhosted.org/packages/2c/e2/114d9f0d6c4eed2b270c759b056dc85f0ac5a1b25c45d380ba1e9742cf26/fork-github-repo-1.2.0.tar.gz" } ] }