{ "info": { "author": "Sanja Segan", "author_email": "sanjazivotic@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Tool for creating and updating pull requests on GitHub.\n------------------------------------------\n\nIntegrates with Jira API to fetch corresponding Jira ticket title and sets it\nin pull request (mapping is done between branch name and jira ticket key\n\"proj_xxxx\" -> \"PROJ-XXXX\").\n\nPull request description template path can be specified in configuration.\n\nSupports setting team reviewers in the pull request.\n\n# Usage\n\nCreate config file `~/.config/lazy_pr.ini` and set following values there:\n\n```ini\n\n[default]\njira-api-token = \njira-email = \ngithub-token = \nrepo = \nrepo-path = \npr-base = master\npr-team = \npr-desc = \n```\n\nAlternatively, path to .ini config file can be specified as a command line\nargument (`-c` or `--config-file-path`).\n\n```python\nlazypr -c '/home/sanja/.config/lazy_pr.ini'\n```\n\nCommand line argument `-cs` or `--config-section` can be used to specify config\nsection. If not specified, \"default\" section is used.\n\nOptions can be set either in config file, as environment variables or as\ncommand line arguments (run `lazypr --help` for more details):\n\n```python\n\nusage: lazypr [-h] [-c CONFIG_FILE_PATH] [-cs CONFIG_SECTION]\n [-jt JIRA_API_TOKEN] [-je JIRA_EMAIL] [-gt GITHUB_TOKEN]\n [-r REPO] [-rp REPO_PATH] [-b BRANCH] [-s PR_BASE] [-t PR_TITLE]\n [-d PR_DESC] [-tm PR_TEAM]\n```\n\n## Examples\n\n- Create pull request for branch `lp_1` in repository `sanjaz/lazypr`.\n\nBoth branch and repository can be specified as command line args:\n```python\nlazypr -r \"sanjaz/lazypr\" -b \"lp_1\" `\n```\nIn case repository command line arg is omitted, repository will be fetched from\n`repo` value in config file.\n```python\nlazypr -b \"lp_1\"\n```\nIn case branch is not specified, it looks for current branch in local\nrepository (local repository path is set in `repo-path` in .ini config file):\n```python\nlazypr\n```\nOr local repository path can be specified as command line argument (and current\nbranch in local repository will be used):\n```python\nlazypr -rp \"/home/sanja/moto/lazypr\"\n```\n\n- Pull request title can be specified using command line argument `-t`\n(`--title`):\n```python\nlazypr -b \"lazypr_1\" -t \"Test title\"\n```\nIf not specified, title will be fetched from the corresponding Jira ticket.\nBranch name is mapped to Jira ticket key as proj_xxxx -> PROJ_XXXX.\n\n- Pull request description template path can be specified whether in .ini\nconfig file (`pr-desc`), env variable or as a command line argument `-d`\n(`--pr-desc`).\n```python\nlazypr -d \"/home/sanja/moto/lazypr/.github/PULL_REQUEST_TEMPLATE.md\"\n```\n\n- Pull request base branch (target branch where the pull request will be\nmerged) can be specified as command line argument:\n```python\nlazypr -s \"release\"\n```\nIf omitted, default is specified in .ini config file (usually master).\n\n- GiHub team can be assigned to review the pull request with:\n```python\nlazypr -tm \"my-team\"\n```\nIf omitted, default is specified in .ini config file.\n\n### Notes\n- How to find/generate Jira API token: log in to\nhttps://id.atlassian.com/manage/api-tokens and click \"Create API token\".\nFor more details, check\nhttps://confluence.atlassian.com/cloud/api-tokens-938839638.html\n- How to find your user Jira email:\nhttps://id.atlassian.com/manage-profile/email\n- How to find/generate github token: https://github.com/settings/tokens.\nSome details can be found here: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sanjaz/lazypr", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "lazypr", "package_url": "https://pypi.org/project/lazypr/", "platform": "", "project_url": "https://pypi.org/project/lazypr/", "project_urls": { "Homepage": "https://github.com/sanjaz/lazypr" }, "release_url": "https://pypi.org/project/lazypr/0.1.4/", "requires_dist": [ "PyGithub", "pygit2" ], "requires_python": "", "summary": "Tool for creating and updating pull requests on GitHub.", "version": "0.1.4" }, "last_serial": 5799445, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7ffb71423ace7f3434a63c62d4f44152", "sha256": "c270b09847c52648c7d8677783ea9f4a4b247ef6c125e347bb07dd688f442043" }, "downloads": -1, "filename": "lazypr-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7ffb71423ace7f3434a63c62d4f44152", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5025, "upload_time": "2019-09-07T19:19:41", "url": "https://files.pythonhosted.org/packages/56/26/a61d7edb6172eeedbd54b298716bb333034e7823860989518afd03dfaac2/lazypr-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f2d6d04bd31d5b47324387d374dccf81", "sha256": "fcde8bd216e528c02ad6ff50d7173681269e8705923099c31b24db5705fe3a7d" }, "downloads": -1, "filename": "lazypr-0.1.tar.gz", "has_sig": false, "md5_digest": "f2d6d04bd31d5b47324387d374dccf81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3894, "upload_time": "2019-09-07T19:19:44", "url": "https://files.pythonhosted.org/packages/05/93/8c555c73a30e2e9b13d344a400dd40f29d54097052080c12fe059368254c/lazypr-0.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3884755ae2cdb7931e5bf0ba8ae7d1b9", "sha256": "4f7a3c2f6eddc542d5040dd7da5ca24ea015b68a48ce08423134fe748699052d" }, "downloads": -1, "filename": "lazypr-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3884755ae2cdb7931e5bf0ba8ae7d1b9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8088, "upload_time": "2019-09-08T00:36:06", "url": "https://files.pythonhosted.org/packages/bf/24/80d6fccb1c912475f5512e271885652e8cf44803a72679048584b7f53841/lazypr-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "521c88e10d639adaf3b377498fad387d", "sha256": "c9fa8258e89194fb7c19ff67852c1e36ba933415e99ff502e5d6e26ab076f2c2" }, "downloads": -1, "filename": "lazypr-0.1.2.tar.gz", "has_sig": false, "md5_digest": "521c88e10d639adaf3b377498fad387d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5747, "upload_time": "2019-09-08T00:36:08", "url": "https://files.pythonhosted.org/packages/71/b9/e49796cf71124c20b4b0f3f9b9032177dbb73cb15b12f5aaa7ed2f216208/lazypr-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "0bc697c88df13511e7fb0b0b7654474f", "sha256": "02f688fcee2712b0912692663067850860ed98a33d2867d74c944fccc1a96605" }, "downloads": -1, "filename": "lazypr-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0bc697c88df13511e7fb0b0b7654474f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9019, "upload_time": "2019-09-08T13:47:31", "url": "https://files.pythonhosted.org/packages/1e/75/cfedfd0fa398a5d493b49328800ddd418cc609ef8c13106581b6adb5f78c/lazypr-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26412fc8ca90f0a22afbe78f2315586a", "sha256": "f91b7ffc7582219cd2d3bafe1913cae33e7ed932c94f40d6d84d31ceb8eae162" }, "downloads": -1, "filename": "lazypr-0.1.3.tar.gz", "has_sig": false, "md5_digest": "26412fc8ca90f0a22afbe78f2315586a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6448, "upload_time": "2019-09-08T13:47:35", "url": "https://files.pythonhosted.org/packages/0f/17/0c1b1d8a37212735cc05e730d5d2ea2293ca8697321125801cb7cd515549/lazypr-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6adf276fdf0659585ace28edbebf768c", "sha256": "06777bd5860c0b677e09e921142ae2591ee3184bf9efff8c999be60aa02d2ca5" }, "downloads": -1, "filename": "lazypr-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "6adf276fdf0659585ace28edbebf768c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9044, "upload_time": "2019-09-08T14:29:34", "url": "https://files.pythonhosted.org/packages/52/eb/3e962acba91151be714e9c2082ef5c98ff8cd7c51537fca69ef36db81ce8/lazypr-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dafb565fbe7c6f31cfce16d43e25fc38", "sha256": "d989c15ecff7e9cde48792d439325e7ef629621bc961abbbca543f2d93aaaad8" }, "downloads": -1, "filename": "lazypr-0.1.4.tar.gz", "has_sig": false, "md5_digest": "dafb565fbe7c6f31cfce16d43e25fc38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6463, "upload_time": "2019-09-08T14:29:38", "url": "https://files.pythonhosted.org/packages/ff/20/ca88cbf253864efaf56f41906b13db01a0c19d72dac0bbe55bf0f0aa40eb/lazypr-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6adf276fdf0659585ace28edbebf768c", "sha256": "06777bd5860c0b677e09e921142ae2591ee3184bf9efff8c999be60aa02d2ca5" }, "downloads": -1, "filename": "lazypr-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "6adf276fdf0659585ace28edbebf768c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9044, "upload_time": "2019-09-08T14:29:34", "url": "https://files.pythonhosted.org/packages/52/eb/3e962acba91151be714e9c2082ef5c98ff8cd7c51537fca69ef36db81ce8/lazypr-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dafb565fbe7c6f31cfce16d43e25fc38", "sha256": "d989c15ecff7e9cde48792d439325e7ef629621bc961abbbca543f2d93aaaad8" }, "downloads": -1, "filename": "lazypr-0.1.4.tar.gz", "has_sig": false, "md5_digest": "dafb565fbe7c6f31cfce16d43e25fc38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6463, "upload_time": "2019-09-08T14:29:38", "url": "https://files.pythonhosted.org/packages/ff/20/ca88cbf253864efaf56f41906b13db01a0c19d72dac0bbe55bf0f0aa40eb/lazypr-0.1.4.tar.gz" } ] }