{
"info": {
"author": "",
"author_email": "",
"bugtrack_url": null,
"classifiers": [],
"description": "|Build Status| |codecov| |PyPI version|\n\nGit Subrepo Python Wrapper\n==========================\n\nIn the same way that\n```GitPython`` `__ wraps\n``git``, this library provides easy access to `git\nsubrepo `__ in Python.\n\nHow to use\n----------\n\nPrerequisites\n~~~~~~~~~~~~~\n\n- git >= 2.10.0 (on path)\n- git-subrepo >= 0.3.1\n- python >= 3.6\n\nInstallation\n~~~~~~~~~~~~\n\nStable releases can be installed via\n`PyPI `__:\n\n.. code:: bash\n\n $ pip install gitsubrepo\n\nBleeding edge versions can be installed directly from GitHub:\n\n.. code:: bash\n\n $ pip install git+https://github.com/wtsi-hgi/python-git-subrepo.git@${commitIdBranchOrTag}#egg=gitsubrepo\n\nTo declare this library as a dependency of your project, add it to your\n``requirement.txt`` file.\n\nAPI\n~~~\n\nThe library currently supports 3 ``git subrepo`` operations: ``clone``,\n``pull`` and ``status``. Please see the documentation for specific\ninformation on how to use these methods.\n\nExample usage:\n\n.. code:: python\n\n import gitsubrepo\n\n remote_repository = \"https://github.com/colin-nolan/test-repository.git\"\n repository_location = \"/tmp/repo\"\n subrepo_location = f\"{repository_location}/subrepo\"\n branch = \"develop\"\n\n commit_reference = gitsubrepo.clone(remote_repository, subrepo_location, branch=branch)\n updated_commit_reference = gitsubrepo.pull(subrepo_location)\n\n subrepo_remote, subrepo_branch, subrepo_commit = gitsubrepo.status(subrepo_location)\n assert subrepo_remote == remote_repository\n assert subrepo_branch == branch\n\nDevelopment\n-----------\n\nSetup\n~~~~~\n\nInstall both library dependencies and the dependencies needed for\ntesting:\n\n.. code:: bash\n\n $ pip install -q -r requirements.txt\n $ pip install -q -r test_requirements.txt\n\nTesting\n~~~~~~~\n\nTo run the tests and generate a coverage report with unittest:\n\n.. code:: bash\n\n ./test-runner.sh\n\nIf you wish to run the tests inside a Docker container, build\n``Docker.test``.\n\nLicense\n-------\n\n`MIT license `__.\n\nCopyright (c) 2017 Genome Research Limited\n\n.. |Build Status| image:: https://travis-ci.org/wtsi-hgi/python-git-subrepo.svg?branch=master\n :target: https://travis-ci.org/wtsi-hgi/python-git-subrepo\n.. |codecov| image:: https://codecov.io/gh/wtsi-hgi/python-git-subrepo/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/wtsi-hgi/python-git-subrepo\n.. |PyPI version| image:: https://badge.fury.io/py/gitsubrepo.svg\n :target: https://badge.fury.io/py/gitsubrepo\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/wtsi-hgi/python-git-subrepo",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "gitsubrepo",
"package_url": "https://pypi.org/project/gitsubrepo/",
"platform": "",
"project_url": "https://pypi.org/project/gitsubrepo/",
"project_urls": {
"Homepage": "https://github.com/wtsi-hgi/python-git-subrepo"
},
"release_url": "https://pypi.org/project/gitsubrepo/1.1.0/",
"requires_dist": null,
"requires_python": "",
"summary": "Provides access to `git subrepo` in Python",
"version": "1.1.0"
},
"last_serial": 3080478,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "5e0d47e5ba09a6e722824d84bf5e24cf",
"sha256": "2f4eabb42412203665d311bd3ef36875848cb13118448c87800529e4b2c72c4f"
},
"downloads": -1,
"filename": "gitsubrepo-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "5e0d47e5ba09a6e722824d84bf5e24cf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6309,
"upload_time": "2017-07-03T13:16:41",
"url": "https://files.pythonhosted.org/packages/54/f6/4a014ebce0fd40692a37a31e767f659582a492e6c2c251ed2e950e520d99/gitsubrepo-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "3ba3a9fab5dc9ccf09e6d7c706295214",
"sha256": "cff3acd6b6d37414c500ae496c156a12c1ef6f3c2de5fb916449b4c24bc082ea"
},
"downloads": -1,
"filename": "gitsubrepo-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "3ba3a9fab5dc9ccf09e6d7c706295214",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7247,
"upload_time": "2017-07-03T13:38:55",
"url": "https://files.pythonhosted.org/packages/73/fb/72f638d7b3cc714a35b49b7228c762d3963d8cc06ff8aa161c62fe98e70a/gitsubrepo-1.0.1.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "118a1805363a7b4f2c7af95d8c198f7f",
"sha256": "8f5bd26a6c9e582b5100689e4f25af4378e289e4b5fc0b2ea31e4c41c8c9812d"
},
"downloads": -1,
"filename": "gitsubrepo-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "118a1805363a7b4f2c7af95d8c198f7f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7452,
"upload_time": "2017-07-03T15:29:50",
"url": "https://files.pythonhosted.org/packages/f9/d4/afc9bb4e672bfdec7c978e1265ece3e1fa4ddc68a65340238d029473d985/gitsubrepo-1.0.2.tar.gz"
}
],
"1.1.0": [
{
"comment_text": "",
"digests": {
"md5": "ebcf66326f451abbbe76405fa988e98d",
"sha256": "41b581f4df2aa68b283e29e65b6e561541e1ade819c0976997671877fc227239"
},
"downloads": -1,
"filename": "gitsubrepo-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ebcf66326f451abbbe76405fa988e98d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7964,
"upload_time": "2017-08-08T08:53:37",
"url": "https://files.pythonhosted.org/packages/74/77/ad2aa9fe024372682c06d13d4ac0ac9a4742b7607d29ace0cb3acb7dbb70/gitsubrepo-1.1.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ebcf66326f451abbbe76405fa988e98d",
"sha256": "41b581f4df2aa68b283e29e65b6e561541e1ade819c0976997671877fc227239"
},
"downloads": -1,
"filename": "gitsubrepo-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ebcf66326f451abbbe76405fa988e98d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7964,
"upload_time": "2017-08-08T08:53:37",
"url": "https://files.pythonhosted.org/packages/74/77/ad2aa9fe024372682c06d13d4ac0ac9a4742b7607d29ace0cb3acb7dbb70/gitsubrepo-1.1.0.tar.gz"
}
]
}