{ "info": { "author": "Mike Bayer", "author_email": "mike@zzzcomputing.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Programming Language :: Python", "Programming Language :: Python :: Implementation :: CPython" ], "description": "prtogerrit\n==========\n\nThis is a script Mike is working on to transfer pull requests from\ngithub and bitbucket into gerrit.\n\nRequirements\n------------\n\nYou need a running instance of Gerrit available, and also you must have\nthe `git-review `_ tool installed locally.\n\nInstallation\n------------\n\n::\n\n\tpip install prtogerrit\n\nConfiguration\n-------------\n\nCreate a new file ${HOME}/.prtogerrit.config. In it, place instructions\nas to where your git repositories are, and into what part of your gerrit\nserver you'd like them to go::\n\n\t# place this file in $HOME/.prtogerrit.config\n\n\t[myproject_github]\n\tgerrit=https://gerrit.myproject.com/\n\tservice=github\n\trepo=myusername/myproject\n\tusername=myusername\n\tpassword=foobar\n\n\t[myproject_bitbucket]\n\tgerrit=https://gerrit.myproject.com/\n\tservice=bitbucket\n\trepo=myusername/myproject\n\tusername=myusername\n\tpassword=foobar\n\nRunning it\n----------\n\nTo use the script, suppose you receive pull request number 14 on \"myproject\"\nat Github. Go to your git working directory, select the desired branch\n(usually master), and type::\n\n\tprtogerrit myproject_github 14\n\nIf the pull request merges cleanly, that's it! The script will contact\nthe Github API, get the branch information for pull request 14, squash-merge\nit into a new local branch called \"myproject_github_14\", and will then\npush it up with \"git review\". It will also close the pull request and\nadd comments for the contributor how to find the review.\n\nConflicts\n---------\n\nIf the squash-merge has conflicts, prtogerrit will stop and let you correct\nthe changes, by using \"git add \" just like any other merge\nresolution. Then run the command again with ``--continue``::\n\n\tprtogerrit myproject_github 14 --continue\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/zzzeek/prtogerrit", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "prtogerrit", "package_url": "https://pypi.org/project/prtogerrit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/prtogerrit/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/zzzeek/prtogerrit" }, "release_url": "https://pypi.org/project/prtogerrit/1.0/", "requires_dist": null, "requires_python": null, "summary": "Transfer pull requests to Gerrit", "version": "1.0" }, "last_serial": 2077377, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "b192e2381aff0f82debe34ff2af8ec31", "sha256": "574921da51cbd4a85cbac46b9b98b1a2b05934c1973079ae90209adaf0024b29" }, "downloads": -1, "filename": "prtogerrit-1.0.tar.gz", "has_sig": false, "md5_digest": "b192e2381aff0f82debe34ff2af8ec31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5044, "upload_time": "2016-04-22T02:04:47", "url": "https://files.pythonhosted.org/packages/34/5a/40c335dd8cee4ca00ed0147b668d3fd9d8ebe25f722b2872d7d6d4904b2f/prtogerrit-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b192e2381aff0f82debe34ff2af8ec31", "sha256": "574921da51cbd4a85cbac46b9b98b1a2b05934c1973079ae90209adaf0024b29" }, "downloads": -1, "filename": "prtogerrit-1.0.tar.gz", "has_sig": false, "md5_digest": "b192e2381aff0f82debe34ff2af8ec31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5044, "upload_time": "2016-04-22T02:04:47", "url": "https://files.pythonhosted.org/packages/34/5a/40c335dd8cee4ca00ed0147b668d3fd9d8ebe25f722b2872d7d6d4904b2f/prtogerrit-1.0.tar.gz" } ] }